aboutsummaryrefslogtreecommitdiff
path: root/jb/settings.py
diff options
context:
space:
mode:
authorstuppie2026-09-01 11:56:05 -0600
committerstuppie2026-09-01 11:56:05 -0600
commitc991d4f51254b1c81fa6e0e19b0ba94b8c5f61c4 (patch)
tree34598a150db7c85b7e0ee50d1ced31bda74d271c /jb/settings.py
parent3f8d178d38686c1a5d71d94ebccdb61701469e95 (diff)
downloadamt-jb-c991d4f51254b1c81fa6e0e19b0ba94b8c5f61c4.tar.gz
amt-jb-c991d4f51254b1c81fa6e0e19b0ba94b8c5f61c4.zip
add GRApiManager. py-utils to generalresearch
Diffstat (limited to 'jb/settings.py')
-rw-r--r--jb/settings.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/jb/settings.py b/jb/settings.py
index cc1e870..78b4b02 100644
--- a/jb/settings.py
+++ b/jb/settings.py
@@ -3,7 +3,7 @@ from functools import lru_cache
from pathlib import Path
from typing import Optional
-from generalresearchutils.models.custom_types import InfluxDsn
+from generalresearch.models.custom_types import InfluxDsn
from pydantic import Field, PostgresDsn, HttpUrl, RedisDsn, SecretStr
from pydantic_settings import BaseSettings, SettingsConfigDict
@@ -60,6 +60,11 @@ class Settings(AmtJbBaseSettings):
magic_token_salt: SecretStr = Field(min_length=32)
+ gr_api_host: HttpUrl = Field(
+ default=HttpUrl("https://generalresearch.com/api/v2/")
+ )
+ gr_api_token: SecretStr = Field(min_length=1)
+
class TestSettings(Settings):
model_config = SettingsConfigDict(