summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql
diff options
context:
space:
mode:
authorFederico Caselli <cfederico87@gmail.com>2023-02-02 20:19:26 +0100
committerFederico Caselli <cfederico87@gmail.com>2023-02-02 20:19:26 +0100
commit056d7815f0a605b3a1176121922d0b78ce0d23f8 (patch)
tree893a4d20fe362860cc2717ec90d39171a2110f7e /lib/sqlalchemy/sql
parent0635235090c85e2c1a18676ca49652d2c2094925 (diff)
downloadsqlalchemy-056d7815f0a605b3a1176121922d0b78ce0d23f8.tar.gz
Use correct dialect annotation
Fixes: #9222 Change-Id: Ife841a5cf5ec896405e84d8570ef63ce6176a5ec
Diffstat (limited to 'lib/sqlalchemy/sql')
-rw-r--r--lib/sqlalchemy/sql/type_api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/sql/type_api.py b/lib/sqlalchemy/sql/type_api.py
index fefbf4997..db89bfe8b 100644
--- a/lib/sqlalchemy/sql/type_api.py
+++ b/lib/sqlalchemy/sql/type_api.py
@@ -1918,7 +1918,7 @@ class TypeDecorator(SchemaEventTarget, ExternalType, TypeEngine[_T]):
raise NotImplementedError()
def process_result_value(
- self, value: Optional[Any], dialect: Any
+ self, value: Optional[Any], dialect: Dialect
) -> Optional[_T]:
"""Receive a result-row column value to be converted.