MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / init_class_attribute

Method init_class_attribute

lib/sqlalchemy/orm/strategies.py:2151–2154  ·  view source on GitHub ↗
(self, mapper)

Source from the content-addressed store, hash-verified

2149 self.join_depth = self.parent_property.join_depth
2150
2151 def init_class_attribute(self, mapper):
2152 self.parent_property._get_strategy(
2153 (("lazy", "select"),)
2154 ).init_class_attribute(mapper)
2155
2156 def setup_query(
2157 self,

Callers

nothing calls this directly

Calls 2

_get_strategyMethod · 0.80
init_class_attributeMethod · 0.45

Tested by

no test coverage detected