diff options
| author | mike bayer <mike_mp@zzzcomputing.com> | 2022-01-14 22:00:11 +0000 |
|---|---|---|
| committer | Gerrit Code Review <gerrit@ci3.zzzcomputing.com> | 2022-01-14 22:00:11 +0000 |
| commit | 07cd49daaadd0a0568444eaeccaa79f79cd15ffc (patch) | |
| tree | ec6220fb8755c7b8f5be721c9099ab69cba5d82d /lib/sqlalchemy/sql/roles.py | |
| parent | b4fe2b83ab3ce8cee1e2f4353dfcbea515b4f8d1 (diff) | |
| parent | 43f6ae639ca0186f4802255861acdc20f19e702f (diff) | |
| download | sqlalchemy-07cd49daaadd0a0568444eaeccaa79f79cd15ffc.tar.gz | |
Merge "initial reorganize for static typing" into main
Diffstat (limited to 'lib/sqlalchemy/sql/roles.py')
| -rw-r--r-- | lib/sqlalchemy/sql/roles.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/sqlalchemy/sql/roles.py b/lib/sqlalchemy/sql/roles.py index 9172c2dc9..787a1c25e 100644 --- a/lib/sqlalchemy/sql/roles.py +++ b/lib/sqlalchemy/sql/roles.py @@ -71,7 +71,13 @@ class ColumnListRole(SQLRole): __slots__ = () -class TruncatedLabelRole(SQLRole): +class StringRole(SQLRole): + """mixin indicating a role that results in strings""" + + __slots__ = () + + +class TruncatedLabelRole(StringRole, SQLRole): __slots__ = () _role_name = "String SQL identifier" |
