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

Correctly handle None returns from Query.scalar() #16345

Merged
merged 1 commit into from Jun 15, 2021

Commits on Jun 15, 2021

  1. Correctly handle None returns from Query.scalar()

    This is possible when the query does not return a row, according to
    SQLAlchemy documentation. We can handle them to provide better errors in
    unexpected situations.
    uranusjr committed Jun 15, 2021
    Copy the full SHA
    2518f90 View commit details
    Browse the repository at this point in the history