MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / decorate

Method decorate

lib/sqlalchemy/orm/decl_api.py:1812–1815  ·  view source on GitHub ↗
(cls: Type[_T])

Source from the content-addressed store, hash-verified

1810 """
1811
1812 def decorate(cls: Type[_T]) -> Type[_T]:
1813 kw["cls"] = cls
1814 kw["name"] = cls.__name__
1815 return self.generate_base(**kw) # type: ignore
1816
1817 return decorate
1818

Callers

nothing calls this directly

Calls 1

generate_baseMethod · 0.95

Tested by

no test coverage detected