MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / myfunc

Class myfunc

test/sql/test_functions.py:363–364  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

361
362 def test_custom_default_namespace(self):
363 class myfunc(GenericFunction):
364 inherit_cache = True
365
366 assert isinstance(func.myfunc(), myfunc)
367 self.assert_compile(func.myfunc(), "myfunc()")

Callers 2

test_custom_argsMethod · 0.70
test_conn_executeMethod · 0.70

Calls 1

quoted_nameClass · 0.90

Tested by 2

test_custom_argsMethod · 0.56
test_conn_executeMethod · 0.56