diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2022-06-14 17:05:44 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2022-06-15 09:04:51 -0400 |
commit | 514f2a8b4c6de8c033496543e9aaf2a0a4eb599d (patch) | |
tree | a18461c3168a9e49803b41a0492d33fc000aef15 /lib/sqlalchemy/dialects/postgresql/pg8000.py | |
parent | aa8ddf7d356e7ea8c100cca18bb49e3bd820ca31 (diff) | |
download | sqlalchemy-514f2a8b4c6de8c033496543e9aaf2a0a4eb599d.tar.gz |
new features for pep 593 Annotated
* extract the inner type from Annotated when the outer type
isn't present in the type map, to allow for arbitrary Annotated
* allow _IntrospectsAnnotations objects to be directly present
in an Annotated and resolve the mapper property from that.
Currently implemented for mapped_column(), with message for
others. Can work for composite() and likely some
relationship() as well at some point
References: https://twitter.com/zzzeek/status/1536693554621341697 and
replies
Change-Id: I04657050a8785f194bf8f63291faf3475af88781
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql/pg8000.py')
0 files changed, 0 insertions, 0 deletions