Skip to content

Conversation

@vineet-reddy
Copy link

MSSQL_SERVER was used by dependent projects but ignored by get_db_config(). The new lookup chain resolves that mismatch (MSSQL_HOSTMSSQL_SERVER → default localhost)."

Problem

get_db_config() only reads MSSQL_HOST, yet many examples (and
the companion medinsight project) export MSSQL_SERVER. This makes
the server silently fall back to localhost, causing login
timeouts.

Fix

Add a fallback: MSSQL_HOSTMSSQL_SERVER → default.

Notes

  • No breaking change – existing configs keep working.
  • All tests pass (pytest -q).

MSSQL_SERVER was used by dependent projects but ignored by
get_db_config(). The new lookup chain resolves that mismatch
(`MSSQL_HOST` → `MSSQL_SERVER` → default localhost)."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant