MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / go

Method go

test/sql/test_values.py:380–392  ·  view source on GitHub ↗
(literal_binds, omit=None)

Source from the content-addressed store, hash-verified

378 @testing.fixture
379 def literal_parameter_fixture(self):
380 def go(literal_binds, omit=None):
381 cols = [
382 column("mykey", Integer),
383 column("mytext", String),
384 column("myint", Integer),
385 ]
386 if omit:
387 for idx in omit:
388 cols[idx] = column(cols[idx].name)
389
390 return values(
391 *cols, name="myvalues", literal_binds=literal_binds
392 ).data([(1, "textA", 99), (2, "textB", 88)])
393
394 return go
395

Callers

nothing calls this directly

Calls 6

columnFunction · 0.90
valuesFunction · 0.90
EnumClass · 0.90
MumPyNumberClass · 0.85
MumPyStringClass · 0.85
dataMethod · 0.45

Tested by

no test coverage detected