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

add examples #15

Merged
merged 1 commit into from
Nov 10, 2024
Merged

add examples #15

merged 1 commit into from
Nov 10, 2024

Conversation

davidism
Copy link
Member

@davidism davidism commented Nov 10, 2024

Port the examples from Flask-SQLAlchemy, a very minimal todo app and the Flask tutorial blog app.

The tutorial app uses Flask-Alembic as well. It demonstrates some of the patterns described in the testing docs. It doesn't demonstrate the app_ctx fixture or the test database isolation that would be needed for non-sqlite databases. It passes mypy and pyright checks, and has 100% test coverage.

@davidism davidism merged commit 0b182c5 into main Nov 10, 2024
8 checks passed
@davidism davidism deleted the examples branch November 10, 2024 00:18
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant