MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / Parent

Class Parent

test/ext/test_associationproxy.py:1070–1080  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1068 )
1069
1070 class Parent:
1071 foo = association_proxy("child", "foo")
1072 bar = association_proxy(
1073 "child", "bar", creator=lambda v: Child(bar=v)
1074 )
1075 baz = association_proxy(
1076 "child", "baz", creator=lambda v: Child(baz=v)
1077 )
1078
1079 def __init__(self, name):
1080 self.name = name
1081
1082 class Child:
1083 def __init__(self, **kw):

Callers

nothing calls this directly

Calls 2

association_proxyFunction · 0.90
ChildClass · 0.70

Tested by

no test coverage detected