File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -8,14 +8,13 @@ class Config(BaseSettings):
88 # It is possible to override the default values by setting the environment variables
99 model_config = SettingsConfigDict (env_file = Path ('.env' ))
1010
11- CENTML_WEB_URL : str = os .getenv ("CENTML_WEB_URL" ) or "https://app.centml.com/"
12- CENTML_CONFIG_PATH : str = os .getenv ("CENTML_CONFIG_PATH" ) or os .path .expanduser ("~/.centml" )
13- CENTML_CRED_FILE : str = os .getenv ("CENTML_CRED_FILE" ) or "credentials.json"
11+ CENTML_WEB_URL : str = os .getenv ("CENTML_WEB_URL" , default = "https://app.centml.com/" )
12+ CENTML_CONFIG_PATH : str = os .getenv ("CENTML_CONFIG_PATH" , default = os .path .expanduser ("~/.centml" ) )
13+ CENTML_CRED_FILE : str = os .getenv ("CENTML_CRED_FILE" , default = "credentials.json" )
1414 CENTML_CRED_FILE_PATH : str = os .path .join (CENTML_CONFIG_PATH , CENTML_CRED_FILE )
1515
16- CENTML_PLATFORM_API_URL : str = os .getenv ("CENTML_PLATFORM_API_URL" ) or "https://api.centml.com"
16+ CENTML_PLATFORM_API_URL : str = os .getenv ("CENTML_PLATFORM_API_URL" , default = "https://api.centml.com" )
1717
18- CENTML_FIREBASE_API_KEY : str = os .getenv ("CENTML_FIREBASE_API_KEY" ) or "AIzaSyChPXy41cIAxS_Nd8oaYKyP_oKkIucobtY"
18+ CENTML_FIREBASE_API_KEY : str = os .getenv ("CENTML_FIREBASE_API_KEY" , default = "AIzaSyChPXy41cIAxS_Nd8oaYKyP_oKkIucobtY" )
1919
20-
21- settings = Config ()
20+ settings = Config ()
You can’t perform that action at this time.
0 commit comments