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

Method __init__

lib/sqlalchemy/orm/dependency.py:642–645  ·  view source on GitHub ↗
(self, prop)

Source from the content-addressed store, hash-verified

640
641class ManyToOneDP(DependencyProcessor):
642 def __init__(self, prop):
643 DependencyProcessor.__init__(self, prop)
644 for mapper in self.mapper.self_and_descendants:
645 mapper._dependency_processors.append(DetectKeySwitch(prop))
646
647 def per_property_dependencies(
648 self,

Callers

nothing calls this directly

Calls 2

DetectKeySwitchClass · 0.85
appendMethod · 0.45

Tested by

no test coverage detected