MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / insert_data

Method insert_data

test/ext/test_horizontal_shard.py:930–934  ·  test/ext/test_horizontal_shard.py::RefreshDeferExpireTest.insert_data
(cls, connection)

Source from the content-addressed store, hash-verified

928
929 @classmethod
930 def insert_data(cls, connection):
931 A = cls.classes.A
932 s = Session(connection)
933 s.add(A(data=class="st">"d1", deferred_data=class="st">"d2"))
934 s.commit()
935
936 def _session_fixture(self, **kw):
937 class="cm"># the class="st">"fake" key here is to ensure that neither id_chooser

Callers

nothing calls this directly

Calls 4

addMethod · 0.95
commitMethod · 0.95
SessionClass · 0.90
AClass · 0.70

Tested by

no test coverage detected