Skip to content

📝 Deprecate old tutorials: Peewee, Couchbase, encode/databases#10979

Merged
tiangolo merged 2 commits intomasterfrom
deprecate-old-tutorials
Jan 16, 2024
Merged

📝 Deprecate old tutorials: Peewee, Couchbase, encode/databases#10979
tiangolo merged 2 commits intomasterfrom
deprecate-old-tutorials

Conversation

@tiangolo
Copy link
Copy Markdown
Member

📝 Deprecate old tutorials: Peewee, Couchbase, encode/databases

@tiangolo tiangolo added the docs Documentation about how to use FastAPI label Jan 16, 2024
@tiangolo tiangolo enabled auto-merge (squash) January 16, 2024 13:18
@tiangolo tiangolo merged commit 950d9ce into master Jan 16, 2024
@tiangolo tiangolo deleted the deprecate-old-tutorials branch January 16, 2024 13:23
@maesapasap
Copy link
Copy Markdown

Hi! May I ask why encode/databases tutorial is being deprecated?

@zevisert
Copy link
Copy Markdown

zevisert commented Mar 3, 2026

Hi! May I ask why encode/databases tutorial is being deprecated?

It's my understanding that the primary reason for encode/databases's existence was to provide an asyncio wrapper for SQLAlchemy Core at a time when SQLAlchemy did not natively support async/await. With the release of SQLAlchemy 1.4 (and later 2.0), SQLAlchemy has introduced native async support. As developers began migrating to native SQLAlchemy async sessions or Core executions encode/databases became redundant. The "niche" it filled was effectively absorbed by the library it was wrapping, thus it was intended to eventually be archived.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation about how to use FastAPI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants