MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / get_dialect

Method get_dialect

lib/sqlalchemy/testing/assertions.py:730–734  ·  lib/sqlalchemy/testing/assertions.py::AssertsCompiledSQL.get_dialect
(paramstyle, positional)

Source from the content-addressed store, hash-verified

728 if check_param_order and getattr(c, class="st">"params", None):
729
730 def get_dialect(paramstyle, positional):
731 cp = copy(dialect)
732 cp.paramstyle = paramstyle
733 cp.positional = positional
734 return cp
735
736 pyformat_dialect = get_dialect(class="st">"pyformat", False)
737 pyformat_c = clause.compile(dialect=pyformat_dialect, **kw)

Callers 6

assert_compileMethod · 0.45
_compile_dialectMethod · 0.45
setup_configFunction · 0.45
generate_db_urlsFunction · 0.45
generate_driver_urlFunction · 0.45
reap_dbsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected