summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/util/typing.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sqlalchemy/util/typing.py')
-rw-r--r--lib/sqlalchemy/util/typing.py19
1 files changed, 0 insertions, 19 deletions
diff --git a/lib/sqlalchemy/util/typing.py b/lib/sqlalchemy/util/typing.py
index 404f239c8..ddda420db 100644
--- a/lib/sqlalchemy/util/typing.py
+++ b/lib/sqlalchemy/util/typing.py
@@ -80,25 +80,6 @@ class _TypeToInstance(Generic[_T]):
...
-class ReadOnlyInstanceDescriptor(Protocol[_T]):
- """protocol representing an instance-only descriptor"""
-
- @overload
- def __get__(
- self, instance: None, owner: Any
- ) -> "ReadOnlyInstanceDescriptor[_T]":
- ...
-
- @overload
- def __get__(self, instance: object, owner: Any) -> _T:
- ...
-
- def __get__(
- self, instance: object, owner: Any
- ) -> Union["ReadOnlyInstanceDescriptor[_T]", _T]:
- ...
-
-
def de_stringify_annotation(
cls: Type[Any], annotation: Union[str, Type[Any]]
) -> Union[str, Type[Any]]: