Skip to content

Commit

Permalink
Bump CPR SDK to 1.4.4 (#341)
Browse files Browse the repository at this point in the history
* Bump CPR SDK to 1.4.4

* Make VESPA_SECRETS_LOCATION None by default

* Bump to 1.15.1

* Default VESPA_SECRETS_LOCATION to None if not found
  • Loading branch information
katybaulch authored Sep 18, 2024
1 parent 8d0d6e7 commit beb2904
Show file tree
Hide file tree
Showing 3 changed files with 499 additions and 455 deletions.
5 changes: 3 additions & 2 deletions app/core/config.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import os
from typing import Final
from typing import Final, Optional

PROJECT_NAME = "navigator"


SQLALCHEMY_DATABASE_URI = os.getenv("DATABASE_URL", "")
if not SQLALCHEMY_DATABASE_URI:
raise RuntimeError("'{DATABASE_URL}' environment variable must be set")
Expand All @@ -11,7 +12,7 @@
API_V1_STR = "/api/v1"

# Vespa Config
VESPA_SECRETS_LOCATION: str = os.getenv("VESPA_SECRETS_LOCATION", "/secrets")
VESPA_SECRETS_LOCATION: Optional[str] = os.getenv("VESPA_SECRETS_LOCATION", None)
VESPA_URL: str = os.environ["VESPA_URL"]

# Shared search config
Expand Down
Loading

0 comments on commit beb2904

Please sign in to comment.