(literal_binds, omit=None)
| 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 |
nothing calls this directly
no test coverage detected