Skip to content

Commit cf3032d

Browse files
authored
Add TypeDecorator.cache_ok (#124)
* Add TypeDecorator.cache_ok * Convert to ClassVar
1 parent 15fd23f commit cf3032d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sqlalchemy-stubs/sql/type_api.pyi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
from typing import Any
2+
from typing import ClassVar
23
from typing import Generic
34
from typing import Mapping
45
from typing import Optional
@@ -125,6 +126,7 @@ class NativeForEmulated:
125126
class TypeDecorator(SchemaEventTarget, TypeEngine[_T]):
126127
__visit_name__: str = ...
127128
impl: Any = ...
129+
cache_ok: ClassVar[Optional[bool]] = ...
128130
def __init__(self, *args: Any, **kwargs: Any) -> None: ...
129131
coerce_to_is_types: Tuple[Type[Any], ...] = ...
130132
class Comparator(TypeEngine.Comparator[_TE]):

0 commit comments

Comments
 (0)