MCPcopy Index your code
hub / github.com/sqlalchemy/sqlalchemy / __new__

Method __new__

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

Source from the content-addressed store, hash-verified

227 _singleton: SingletonConstant
228
229 def __new__(cls: _T, *arg: Any, **kw: Any) -> _T:
230 return cast(_T, cls._singleton)
231
232 @util.non_memoized_property
233 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.70

Tested by

no test coverage detected