Initial commit
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
from pydantic_settings import BaseSettings
|
||||
|
||||
class Settings(BaseSettings):
|
||||
CRM_API_URL: str
|
||||
CRM_API_KEY: str
|
||||
CRM_API_SECRET: str
|
||||
CRM_STORE_SID: str
|
||||
CRM_STORE_KEY: str
|
||||
|
||||
class Config:
|
||||
env_file = ".env"
|
||||
# Установите extra = "ignore", если в .env есть другие переменные
|
||||
extra = "ignore"
|
||||
|
||||
settings = Settings()
|
||||
Reference in New Issue
Block a user