fix: Add missing nasa_api_timeout field to Settings
parent
eb512918ae
commit
f228af4e7f
|
|
@ -16,7 +16,7 @@ class Settings(BaseSettings):
|
||||||
)
|
)
|
||||||
|
|
||||||
# Application
|
# Application
|
||||||
app_name: str = "Cosmo - Deep Space Explorer"
|
app_name: str = "COSMO - Deep Space Explorer"
|
||||||
api_prefix: str = "/api"
|
api_prefix: str = "/api"
|
||||||
|
|
||||||
# CORS settings - stored as string in env, converted to list
|
# CORS settings - stored as string in env, converted to list
|
||||||
|
|
@ -67,6 +67,7 @@ class Settings(BaseSettings):
|
||||||
# Proxy settings (for accessing NASA JPL Horizons API in China)
|
# Proxy settings (for accessing NASA JPL Horizons API in China)
|
||||||
http_proxy: str = ""
|
http_proxy: str = ""
|
||||||
https_proxy: str = ""
|
https_proxy: str = ""
|
||||||
|
nasa_api_timeout: int = 30
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def proxy_dict(self) -> dict[str, str] | None:
|
def proxy_dict(self) -> dict[str, str] | None:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue