Skip to content

Conversation

airibarne
Copy link
Contributor

Minor fix to simplify the code in DB base class declaration, by making use of the @as_declarative decorator introduced in SQLAlchemy 0.8.3.

@airibarne airibarne requested a review from tiangolo February 23, 2020 11:09
valentierra added a commit to valentierra/full-stack-fastapi-postgresql that referenced this pull request Apr 9, 2020
@tiangolo tiangolo merged commit 8a2252f into fastapi:master Apr 17, 2020
@tiangolo
Copy link
Member

Ah, yes! Nice. Thanks for your contribution! 🚀 🎉

gusevyaroslove pushed a commit to gusevyaroslove/fastapi-template that referenced this pull request Aug 4, 2024
* Simplify DB base class declaration

* ♻️ Remove object inheritance

Co-authored-by: Sebastián Ramírez <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants