MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / fake_func

Class fake_func

test/sql/test_functions.py:101–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99
100 # test generic function compile
101 class fake_func(GenericFunction):
102 inherit_cache = True
103 __return_type__ = sqltypes.Integer
104
105 def __init__(self, arg, **kwargs):
106 GenericFunction.__init__(self, arg, **kwargs)
107
108 self.assert_compile(
109 fake_func("foo"),

Callers 1

test_compileMethod · 0.85

Calls

no outgoing calls

Tested by 1

test_compileMethod · 0.68