Skip to content

Commit

Permalink
chore: make clickhouse ca optional env var
Browse files Browse the repository at this point in the history
  • Loading branch information
fuziontech committed Sep 1, 2023
1 parent c901a4c commit 4bcb26e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion housewatch/settings/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ def get_from_env(key: str, default: Any = None, *, optional: bool = False, type_

CLICKHOUSE_HOST = get_from_env("CLICKHOUSE_HOST", "localhost")
CLICKHOUSE_VERIFY = str_to_bool(get_from_env("CLICKHOUSE_VERIFY", True))
CLICKHOUSE_CA = get_from_env("CLICKHOUSE_CA")
CLICKHOUSE_CA = get_from_env("CLICKHOUSE_CA", optional=True)
CLICKHOUSE_SECURE = str_to_bool(get_from_env("CLICKHOUSE_SECURE", True))
CLICKHOUSE_DATABASE = get_from_env("CLICKHOUSE_DATABASE", "default")
CLICKHOUSE_USER = get_from_env("CLICKHOUSE_USER", "default")
Expand Down

0 comments on commit 4bcb26e

Please sign in to comment.