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

Method e

test/orm/test_session.py:1293–1296  ·  view source on GitHub ↗
(mapper, conn, target)

Source from the content-addressed store, hash-verified

1291
1292 @event.listens_for(m, "after_update")
1293 def e(mapper, conn, target):
1294 sess = object_session(target)
1295 for entry in list(sess.identity_map.values()):
1296 entry.name = "5"
1297
1298 a1, a2 = User(name="1"), User(name="2")
1299

Callers

nothing calls this directly

Calls 3

object_sessionFunction · 0.90
valuesMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected