diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2022-10-18 21:01:05 -0400 |
---|---|---|
committer | mike bayer <mike_mp@zzzcomputing.com> | 2022-10-19 12:01:21 +0000 |
commit | 257002227b811c85c7887236321d9965455889bc (patch) | |
tree | 5827f4d891a044c7b586987ce6a822593cff45fe /lib/sqlalchemy/orm/decl_api.py | |
parent | de7007e7cc6231b067df71ca79efee75f3317eae (diff) | |
download | sqlalchemy-257002227b811c85c7887236321d9965455889bc.tar.gz |
de-optionalize union types to support Optional for m2o
Fixed bug in new ORM typed declarative mappings where we did not include
the ability to use ``Optional[]`` in the type annotation for a many-to-one
relationship, even though this is common.
Fixes: #8668
Change-Id: Idaf0846e49cc12095394b99ad6fe678735cf9242
Diffstat (limited to 'lib/sqlalchemy/orm/decl_api.py')
0 files changed, 0 insertions, 0 deletions