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