MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / is_pep593

Function is_pep593

lib/sqlalchemy/util/typing.py:319–320  ·  view source on GitHub ↗
(type_: Optional[Any])

Source from the content-addressed store, hash-verified

317
318
319def is_pep593(type_: Optional[Any]) -> bool:
320 return type_ is not None and get_origin(type_) in _type_tuples.Annotated
321
322
323def is_non_string_iterable(obj: Any) -> TypeGuard[Iterable[Any]]:

Callers 4

declarative_scanMethod · 0.85
is_pep695Function · 0.85
includes_noneFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected