Skip to content

Commit

Permalink
FastFix
Browse files Browse the repository at this point in the history
  • Loading branch information
PhoenixNazarov committed Oct 2, 2024
1 parent 0bed478 commit 4577ae7
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions server/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
DatabaseCred
)

from promptadmin.types import Settings

class _Settings(BaseSettings):

class _Settings(BaseSettings, Settings):
app: str = 'prompt-admin'

database: list[DatabaseCred] = [
Expand All @@ -26,11 +28,6 @@ class _Settings(BaseSettings):
sync_edpoints: dict[str, str] = {}
sync_secrets: dict[str, str] = {}

anthropic_key: str = os.getenv('PA_ANTHROPIC_KEY')
aws_secret_key: str = os.getenv('AWS_SECRET_KEY')
aws_access_key: str = os.getenv('AWS_ACCESS_KEY')
aws_region: str = os.getenv('AWS_REGION')


SETTINGS = _Settings()

Expand Down

0 comments on commit 4577ae7

Please sign in to comment.