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 SQLAlchemy type annotations #69

Merged
merged 1 commit into from Mar 22, 2021
Merged

Conversation

Flix6x
Copy link
Contributor

@Flix6x Flix6x commented Mar 22, 2021

Problem: missing type annotations for flask-sqlalchemy objects.

Suggested fix: Type annotating flask_sqlalchemy.SQLAlchemy objects as sqlalchemy objects was a suggested work-around, from pallets-eco/flask-sqlalchemy#867.

@Flix6x Flix6x added documentation Improvements or additions to documentation development labels Mar 22, 2021
@Flix6x Flix6x requested a review from nhoening March 22, 2021 11:33
@Flix6x Flix6x self-assigned this Mar 22, 2021
@nhoening
Copy link
Contributor

So this is helping you with your work in your editor? Or with flake8? I don't know if I have any problems like this.

@Flix6x
Copy link
Contributor Author

Flix6x commented Mar 22, 2021

Helping me with database migration in my editor.

@nhoening
Copy link
Contributor

That reminds me: PR #54 had to move the migrations directory. Will be interesting to see how the merge conflict will look like.

@Flix6x Flix6x merged commit 8817038 into main Mar 22, 2021
@Flix6x Flix6x deleted the sqlalchemy-type-annotations branch March 22, 2021 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
development documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants