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

Method __new__

lib/sqlalchemy/sql/base.py:217–218  ·  view source on GitHub ↗
(cls: _T, *arg: Any, **kw: Any)

Source from the content-addressed store, hash-verified

215 _singleton: SingletonConstant
216
217 def __new__(cls: _T, *arg: Any, **kw: Any) -> _T:
218 return cast(_T, cls._singleton)
219
220 @util.non_memoized_property
221 def proxy_set(self) -> FrozenSet[ColumnElement[Any]]:

Callers 4

_create_singletonMethod · 0.45
_generateMethod · 0.45
__add__Method · 0.45
_cloneMethod · 0.45

Calls 1

castFunction · 0.85

Tested by

no test coverage detected