MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _caster_combinations

Method _caster_combinations

test/sql/test_operators.py:1268–1274  ·  view source on GitHub ↗
(fn)

Source from the content-addressed store, hash-verified

1266 self.assert_compile(col[5], "x $$> :x_1", checkparams={"x_1": 5})
1267
1268 def _caster_combinations(fn):
1269 return testing.combinations(
1270 ("integer", Integer),
1271 ("boolean", Boolean),
1272 ("float", Float),
1273 ("string", String),
1274 )(fn)
1275
1276 @_caster_combinations
1277 def test_cast_ops(self, caster, expected_type):

Callers

nothing calls this directly

Calls 1

combinationsMethod · 0.45

Tested by

no test coverage detected