diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2022-10-16 18:30:44 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2022-10-16 18:34:25 -0400 |
commit | f2056ca03f187abd0840093bb5409a449d0e18f6 (patch) | |
tree | a092987f01ec49ea69d47be75b5b3edb609c763a /lib/sqlalchemy/orm/base.py | |
parent | 7fd8898b10669c8e6b08c5d66c92bdc975aaa353 (diff) | |
download | sqlalchemy-f2056ca03f187abd0840093bb5409a449d0e18f6.tar.gz |
repair type qualify in _ServerDefaultType; other pyright tweaks
as we haven't done full pylance / pyright strict typing internally,
some of the things pyright reports on specifically will leak
out into user code, such as this mapped_column() issue.
So we will have to look more closely at pyright strict
mode going forward for the release.
Fixed typing issue where pylance strict mode would report "partially
unknown" datatype for the :func:`_orm.mapped_column` construct.
Also repaired a trailing comma and pyright complaining about overloads
for orm.composite.
Fixes: #8644
Change-Id: Ia48dc5dbd56bbceeacee4f0daf9810bfdea3bee3
Diffstat (limited to 'lib/sqlalchemy/orm/base.py')
-rw-r--r-- | lib/sqlalchemy/orm/base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/orm/base.py b/lib/sqlalchemy/orm/base.py index 20a683d8c..e4a69a352 100644 --- a/lib/sqlalchemy/orm/base.py +++ b/lib/sqlalchemy/orm/base.py @@ -77,7 +77,7 @@ class LoaderCallableStatus(Enum): """ ATTR_EMPTY = 3 - """Symbol used internally to indicate an attribute had no callable.""", + """Symbol used internally to indicate an attribute had no callable.""" NO_VALUE = 4 """Symbol which may be placed as the 'previous' value of an attribute, |