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

Method init_class_attribute

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

Source from the content-addressed store, hash-verified

661 "items.",
662 )
663 def init_class_attribute(self, mapper):
664 self.is_class_level = True
665
666 _register_attribute(
667 self.parent_property,
668 mapper,
669 useobject=True,
670 typecallable=self.parent_property.collection_class,
671 )
672
673 def create_row_processor(
674 self,

Callers 4

init_class_attributeMethod · 0.45
init_class_attributeMethod · 0.45
init_class_attributeMethod · 0.45
init_class_attributeMethod · 0.45

Calls 1

_register_attributeFunction · 0.70

Tested by

no test coverage detected