prostomarkeloff
b5b0bbbb01
Tortoise ORM support ( #59 )
...
* add tortoise to dependencies
* add tortoise as optional dependency in pyproject.toml
* add tortoise support (tests needed)
* Add tortoise support (also defined orm_mode in pydantic model
* tests for tortoise support
* format by black
* docs for tortoise
* delete type annotations
* delete underscore
* do it in 1 line
* add 1 line before yield
* fix in docs
* fix bug and add annotation for test
* Tweak documentation and fix Tortoise error about id update
* Improve Tortoise coverage by using get instead of filter
* Fix Pipfile.lock
2019-12-03 21:24:27 +01:00
dependabot-preview[bot]
59b8f144d7
Bump fastapi from 0.43.0 to 0.44.0 ( #63 )
...
* Bump fastapi from 0.43.0 to 0.44.0
Bumps [fastapi](https://github.com/tiangolo/fastapi ) from 0.43.0 to 0.44.0.
- [Release notes](https://github.com/tiangolo/fastapi/releases )
- [Changelog](https://github.com/tiangolo/fastapi/blob/master/docs/history-design-future.md )
- [Commits](https://github.com/tiangolo/fastapi/compare/0.43.0...0.44.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
* Fix breaking changes and depreciation following fastapi 0.44.0
* Bump fastapi==0.44.0 in pyproject.toml
2019-11-28 07:33:38 +01:00
François Voron
9b7ec58800
#21 : Add superuser routes ( #30 )
...
* Add CRU superuser routes
* Add delete method on DB adapters
* Add superuser delete route
* Add superuser routes documentation
* Pass black formatter
2019-10-29 13:32:44 +01:00
François Voron
e146e4bca4
Fix #13 : add /me update route
2019-10-20 10:11:48 +02:00
François Voron
9e1fd76f30
Add more docstrings
2019-10-10 19:03:52 +02:00
François Voron
0112e700ac
Improve typing and make User pydantic models dynamic
2019-10-10 13:37:52 +02:00
François Voron
d781a41872
Install Black formatter
2019-10-09 16:52:06 +02:00
François Voron
20bb285f03
Use built-in OAuth2PasswordRequestForm for login
2019-10-06 14:02:42 +02:00
François Voron
a81b438ec9
Implement authentication mechanism
2019-10-06 11:53:42 +02:00
François Voron
bcc88a8b14
Implement working SQLAlchemy DB adapter
2019-10-06 11:00:24 +02:00
François Voron
552f313d76
Add database abstraction
2019-10-06 08:53:13 +02:00
François Voron
4e0b0f6f7d
Start foundations
2019-10-05 17:39:37 +02:00