Skip to content

Commit

Permalink
Merge pull request #22 from PhoenixNazarov/dev
Browse files Browse the repository at this point in the history
FastFix
  • Loading branch information
PhoenixNazarov authored Oct 2, 2024
2 parents f993595 + 4577ae7 commit 64b907e
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 64b907e

Please sign in to comment.