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

Method get

lib/sqlalchemy/orm/strategies.py:1801–1804  ·  view source on GitHub ↗
(self, key, default)

Source from the content-addressed store, hash-verified

1799 self._data = None
1800
1801 def get(self, key, default):
1802 if self._data is None:
1803 self._load()
1804 return self._data.get(key, default)
1805
1806 def _load(self):
1807 self._data = collections.defaultdict(list)

Callers 15

_register_attributeFunction · 0.45
init_class_attributeMethod · 0.45
__init__Method · 0.45
setup_queryMethod · 0.45
_setup_for_recursionMethod · 0.45
create_row_processorMethod · 0.45
load_scalar_from_subqMethod · 0.45
setup_queryMethod · 0.45
_generate_row_adapterMethod · 0.45

Calls 1

_loadMethod · 0.95

Tested by

no test coverage detected