MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _has_mysql_on_windows

Method _has_mysql_on_windows

test/requirements.py:2035–2039  ·  view source on GitHub ↗
(self, config)

Source from the content-addressed store, hash-verified

2033 )
2034
2035 def _has_mysql_on_windows(self, config):
2036 with config.db.connect() as conn:
2037 return (
2038 against(config, ["mysql", "mariadb"])
2039 ) and config.db.dialect._detect_casing(conn) == 1
2040
2041 def _has_mysql_fully_case_sensitive(self, config):
2042 with config.db.connect() as conn:

Callers

nothing calls this directly

Calls 3

againstFunction · 0.90
_detect_casingMethod · 0.80
connectMethod · 0.45

Tested by

no test coverage detected