Commit Graph

203 Commits

Author SHA1 Message Date
kennethreitz b017f9ceea things are clicking together 2021-01-20 16:40:20 -05:00
kennethreitz ea39f082be Merge pull request #2 from Scoder12/patch-2
Remove dtype stuff (for now)
2021-01-18 20:41:55 -05:00
Scoder12 f066704bbf Remove dtype stuff (for now) 2021-01-18 16:40:42 -08:00
kennethreitz dd25d253b4 version bumps (for now) 2021-01-11 11:08:22 -05:00
kennethreitz aa082a6532 cleanups 2021-01-08 10:27:43 -05:00
kennethreitz 8df3ccb66b cleanup users 2021-01-08 09:53:03 -05:00
kennethreitz 8ffaa85050 black, etc. 2021-01-08 09:26:22 -05:00
kennethreitz 9562b1faec /s/flask_tools/web 2021-01-06 21:48:28 -05:00
kennethreitz 0d7e63c1ba poetry updates 2021-01-06 21:48:09 -05:00
kennethreitz a63b8b4912 docstrings, etc 2021-01-04 08:16:27 -05:00
kennethreitz c30662c072 users module is coming along 2021-01-04 08:14:57 -05:00
kennethreitz e7f06a7083 whitespace 2021-01-04 08:14:47 -05:00
kennethreitz 85f9776a5b replit online development 2021-01-01 20:08:26 +00:00
kennethreitz 24f424a7af black formatting 2021-01-01 13:11:09 -05:00
kennethreitz a203828c11 formatting 2021-01-01 13:10:41 -05:00
kennethreitz c43c6b3053 gitignore 2021-01-01 13:10:23 -05:00
kennethreitz eaa3af5fd5 docs examples 2021-01-01 13:10:18 -05:00
kennethreitz 78a33262fe docs test 2020-12-31 14:33:54 -05:00
kennethreitz 0f74844710 replit 2020-12-31 14:28:15 -05:00
kennethreitz 7aea6ab57f okay readme is good 2020-12-31 14:27:36 -05:00
kennethreitz 956363f8c5 cleanup 2020-12-31 14:23:41 -05:00
kennethreitz 5cb7f58ce3 module 2020-12-31 14:19:22 -05:00
kennethreitz 7696dfeb0c replit 2020-12-31 14:18:11 -05:00
kennethreitz a5066d2fd1 readme 2020-12-31 14:16:03 -05:00
kennethreitz b9e96600cd readme 2020-12-31 14:14:10 -05:00
kennethreitz 8a8e6b1cf6 educational 2020-12-31 13:20:37 -05:00
kennethreitz c1362bd357 readme 2020-12-31 13:18:31 -05:00
kennethreitz 769996555d & readme 2020-12-31 13:18:16 -05:00
kennethreitz 63922c7c2a FOSS 2020-12-31 13:17:51 -05:00
kennethreitz a2b2de6f30 readme next 2020-12-31 13:15:23 -05:00
kennethreitz 2ba65b6a54 visual parsing of readme 2020-12-31 13:14:58 -05:00
kennethreitz fa793a98ff readme context 2020-12-31 13:11:46 -05:00
kennethreitz 3f301cef3f formatting 2020-12-31 13:08:15 -05:00
kennethreitz 16b9c5949e readme 2020-12-31 13:07:25 -05:00
kennethreitz 444c4c19e3 gitignore update 2020-12-31 13:04:18 -05:00
kennethreitz 96348423c7 docs planning 2020-12-31 13:04:11 -05:00
kennethreitz 23d03cf4c6 cleanup readme 2020-12-31 13:02:24 -05:00
kennethreitz 9925087d6b ignore pipfile 2020-12-31 13:02:17 -05:00
kennethreitz 7d4d889b29 readme 2020-12-31 12:59:20 -05:00
kennethreitz 6034f21a9c >>> 2020-12-30 18:00:25 -05:00
kennethreitz ce981f025c ISC liscence 2020-12-30 17:49:32 -05:00
kennethreitz b553f49600 readme 2020-12-30 17:49:20 -05:00
kennethreitz 2d1afbfbe1 TODO 2020-12-30 16:45:31 -05:00
kennethreitz 82a02e3f37 README 2020-12-30 16:45:27 -05:00
Sidney Kochman d46698041f change secret name (#25) 2020-12-08 18:15:52 -08:00
Sidney Kochman c4284478f4 2.0.0 2020-08-19 16:37:17 -04:00
Sidney Kochman fb190d1925 2.0.0 alpha 2020-08-19 16:32:01 -04:00
Sidney Kochman f447c4d35e Database refactor (#15) 2020-08-19 10:55:11 -04:00
Sidney Kochman e1a33cbe31 move coverage to dev deps, fix some tests (#14) 2020-08-14 19:46:39 -04:00
Scoder12 6fb18b0f5e Make audio lint without errors (#12)
* Add new raises sections in docstring

* Fix issue #6

* Fix _async2sync to pass a correct self value

Initialize a _super variable in __init__ which is an instance of the async base class and is used as the self argument to async methods so that the class can await internal methods

* Add do_raise to AsyncJSONKey __slots__

* Add back duplicate sync code

For performance and my sanity, its actually easier to just have duplicate code rather than try fancy async stuff

* Remove nest_asyncio

* Fix bug with auth.signed_in

If header doesn't exist, name will be None, which is not equal to an empty string making signed_in pass. Changed to bool because None and empty string are both falsey

* Ignore S201: debug=True warning

* Add new debug method to run the app in debug mode

* Add init method and nice_jinja setting

* Handle unset watch_files value

* Obey D402

* Remove unnecessarily duplicated methods

* Add getitem and setitem to sync JSONKey

* Remove whitespace from blank line

* Add new shorthands

* Add key() method

* Rename key() as it conflicts with key variable; fix docsting

* Fix accidentally quoted variable

* Make ReplitDb inherit from AsyncReplitDb

* Fix linting errors

* Fix a couple more errors

* Add keys method and change read arg name

* Add missing arg to docstring

* Fix more lint errors

* Add find function

* Add chain_decorators function

* Run black

* Add mutability to keys (WIP)

* Import new utils in maqpy init

* Fix liniting errors in maqpy.html

* Add missing colon

* Pass proper dtype

* Fix typo

* Check for instance of ReplitDb before loading to allow passing dict as db

* Set data variable to read if not loading

* Convert string to f-string in type mismatch msg

* Don't check datatype in keys

* Allow dictionary syntax if dtype is Any

* Allow __getitem__ if dtype is Any

* Don't double json encode, make top-level db be self so data gets written

* Be more pythonic by not checking dtype

* Add more magic methods: add and iadd

* In audio test, fix imports and prevent linting

* Don't lint audio.types

* Add todo line

* Make JSONKey getitem use keys

* Comment out bad tests for now
2020-08-14 14:18:52 -07:00