diff --git a/sqlalchemy-stubs/sql/type_api.pyi b/sqlalchemy-stubs/sql/type_api.pyi index 1675257..335ef6d 100644 --- a/sqlalchemy-stubs/sql/type_api.pyi +++ b/sqlalchemy-stubs/sql/type_api.pyi @@ -1,4 +1,4 @@ -from typing import Any, Optional, Union, TypeVar, Generic, Type, Callable, ClassVar, Tuple, Mapping, overload, Text as typing_Text +from typing import Any, Optional, Union, TypeVar, Generic, Type, Callable, ClassVar, Tuple, Mapping, overload from .. import util from .visitors import Visitable as Visitable, VisitableType as VisitableType from .base import SchemaEventTarget as SchemaEventTarget @@ -91,8 +91,8 @@ class TypeDecorator(SchemaEventTarget, TypeEngine[_T]): def type_engine(self, dialect: Dialect) -> TypeEngine[Any]: ... def load_dialect_impl(self, dialect: Dialect) -> TypeEngine[Any]: ... def __getattr__(self, key: str) -> Any: ... - def process_literal_param(self, value: Optional[_T], dialect: Dialect) -> Optional[str]: ... - def process_bind_param(self, value: Optional[_T], dialect: Dialect) -> Optional[typing_Text]: ... + def process_literal_param(self, value: Optional[_T], dialect: Dialect) -> Optional[Any]: ... + def process_bind_param(self, value: Optional[_T], dialect: Dialect) -> Optional[Any]: ... def process_result_value(self, value: Optional[Any], dialect: Dialect) -> Optional[_T]: ... def literal_processor(self, dialect: Dialect) -> Callable[[Optional[_T]], Optional[str]]: ... def bind_processor(self, dialect: Dialect) -> Callable[[Optional[_T]], Optional[str]]: ...