diff options
| author | stuppie | 2026-11-04 12:11:03 -0600 |
|---|---|---|
| committer | stuppie | 2026-11-04 12:11:03 -0600 |
| commit | 671a7b1b02503cfa5c9aecd40c27a0c2729a285b (patch) | |
| tree | 6cb1bd7c33e3e1d243ee5ae74decc57faaa5742d /jb/settings.py | |
| parent | e99ec6b7e38113a2237dc1ff402d8f4337c651d5 (diff) | |
| download | amt-jb-671a7b1b02503cfa5c9aecd40c27a0c2729a285b.tar.gz amt-jb-671a7b1b02503cfa5c9aecd40c27a0c2729a285b.zip | |
strip out AMT
Diffstat (limited to 'jb/settings.py')
| -rw-r--r-- | jb/settings.py | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/jb/settings.py b/jb/settings.py index 3508a54..0c6be21 100644 --- a/jb/settings.py +++ b/jb/settings.py @@ -53,13 +53,6 @@ class Settings(GRLBaseSettings): amt_jb_db: PostgresDsn | None = Field(default=None) - amt_endpoint: HttpUrl | None = Field(default=None) - amt_access_id: str | None = Field(default=None) - amt_secret_key: str | None = Field(default=None) - - aws_owner_id: str | None = Field(default=None) - aws_subscription_arn: str | None = Field(default=None) - # --- Pytest --- app_name: str = "AMT JB API" @@ -73,8 +66,6 @@ class Settings(GRLBaseSettings): influx_db: InfluxDsn | None = Field(default=None) - sns_path: str | None = Field(default=None) - session_token_ttl_seconds: int = Field(default=30 * 24 * 60 * 60, gt=0) # 30 days session_jwt_secret: SecretStr | None = Field(default=None, min_length=32) @@ -97,18 +88,9 @@ class Settings(GRLBaseSettings): if not self.amt_jb_db: raise ValueError("amt_jb_db is required") - if not self.aws_owner_id: - raise ValueError("aws_owner_id is required") - - if not self.aws_subscription_arn: - raise ValueError("aws_subscription_arn is required") - if not self.product_id: raise ValueError("product_id is required") - if not self.sns_path: - raise ValueError("sns_path is required") - if not self.session_jwt_secret: raise ValueError("session_jwt_secret is required") |
