MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / __getattr__

Method __getattr__

lib/sqlalchemy/orm/clsregistry.py:404–405  ·  view source on GitHub ↗
(self, key: str)

Source from the content-addressed store, hash-verified

402 self.metadata = metadata
403
404 def __getattr__(self, key: str) -> Table:
405 return self.metadata.tables[_get_table_key(key, self.key)]
406
407
408def _determine_container(key: str, value: Any) -> _GetColumns:

Callers

nothing calls this directly

Calls 1

_get_table_keyFunction · 0.85

Tested by

no test coverage detected