MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / evt

Method evt

test/orm/test_session.py:2989–2990  ·  view source on GitHub ↗
(mapper, conn, instance)

Source from the content-addressed store, hash-verified

2987 Address = self.classes.Address
2988
2989 def evt(mapper, conn, instance):
2990 instance.addresses.append(Address(email="x1"))
2991
2992 self._test(evt, "collection append", "related attribute set")
2993

Callers

nothing calls this directly

Calls 7

object_sessionFunction · 0.90
AddressClass · 0.70
UserClass · 0.70
appendMethod · 0.45
addMethod · 0.45
mergeMethod · 0.45
deleteMethod · 0.45

Tested by

no test coverage detected