Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/api/env_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class Settings(BaseSettings):
)
return_agg: bool = Field(alias="NB_RETURN_AGG", default=True)
min_cell_size: int = Field(alias="NB_MIN_CELL_SIZE", default=0)
auth_enabled: bool = Field(alias="NB_ENABLE_AUTH", default=True)
auth_enabled: bool = Field(alias="NB_ENABLE_AUTH", default=False)
client_id: str | None = Field(alias="NB_QUERY_CLIENT_ID", default=None)
config: str = Field(
alias="NB_CONFIG",
Expand Down
2 changes: 1 addition & 1 deletion tests/test_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def test_settings_read_correctly(monkeypatch):
# Check that defaults are applied correctly for environment variables that are undefined
assert settings.root_path == ""
assert settings.graph_address == "127.0.0.1"
assert settings.auth_enabled is True
assert settings.auth_enabled is False
assert settings.client_id is None
assert settings.config == "Neurobagel"
assert settings.datasets_metadata_path == Path(
Expand Down