]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
use scalars().one() for count migration
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 30 Jan 2023 14:02:33 +0000 (09:02 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 30 Jan 2023 14:03:12 +0000 (09:03 -0500)
commit629d156e94f2f70f42582d7e86ae89b8f242d708
treea8422523db0a25fdc96825507db7262feb3d22cf
parentf39663404b3b4a5e3cfa6591b418435e3e54738f
use scalars().one() for count migration

so that the typed result is non-optional

Fixes: #9184
Change-Id: I40e655010d08f795f3b835b9327ce50c6ec72135
(cherry picked from commit 956f152a29632afacacc4ea11dce1a54a7afb3ea)
doc/build/changelog/migration_20.rst