Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(flask): Auto extend Flask CLI and add session integration #111

Merged
merged 50 commits into from
Jan 17, 2025
Merged

Conversation

cofin
Copy link
Member

@cofin cofin commented Dec 3, 2023

The Advanced Alchemy alembic CLI is now auto-extended to your Flask application.

The Flask extension now also has a session handling middleware for handling auto-commits.

Last, but not least, there's an experimental async portal that integrates a long running asyncio loop for running async operations in Flask. Using foo = portal.call(<async function>) you can get the result of an asynchronous function from a sync context.

@cofin cofin requested review from a team as code owners December 3, 2023 19:10
@cofin cofin requested review from a team as code owners May 30, 2024 17:50
@cofin cofin marked this pull request as draft June 10, 2024 20:35
@cofin cofin marked this pull request as ready for review January 11, 2025 02:32
@cofin cofin marked this pull request as draft January 11, 2025 02:32
@cofin cofin marked this pull request as ready for review January 13, 2025 00:53
@cofin cofin changed the title feat: Flask CLI and improved integration feat(flask): Auto extend Flask CLI and add session integration Jan 14, 2025
@cofin cofin merged commit 9cb3154 into main Jan 17, 2025
17 checks passed
@cofin cofin deleted the flask-cli branch January 17, 2025 03:19
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
77.5% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

Copy link

Documentation preview will be available shortly at https://litestar-org.github.io/advanced-alchemy-docs-preview/111

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

Successfully merging this pull request may close these issues.

1 participant