MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / __class_getitem__

Method __class_getitem__

lib/sqlalchemy/util/_collections_cy.py:88–89  ·  view source on GitHub ↗
(cls, key: Any)

Source from the content-addressed store, hash-verified

86
87 @classmethod
88 def __class_getitem__(cls, key: Any) -> type[Self]:
89 return cls
90
91 def __init__(self, d: Optional[Iterable[_T]] = None) -> None:
92 if d is not None:

Callers 1

fixup_container_fwd_refsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected