MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_generic_annotation

Method test_generic_annotation

test/sql/test_functions.py:351–353  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

349 )
350
351 def test_generic_annotation(self):
352 fn = func.coalesce("x", "y")._annotate({"foo": "bar"})
353 self.assert_compile(fn, "coalesce(:coalesce_1, :coalesce_2)")
354
355 def test_annotation_dialect_specific(self):
356 fn = func.current_date()

Callers

nothing calls this directly

Calls 3

coalesceMethod · 0.80
assert_compileMethod · 0.80
_annotateMethod · 0.45

Tested by

no test coverage detected