Skip to content

Commit 37b5d00

Browse files
authored
Allow extra env variables when creating config (#114)
1 parent e3b609e commit 37b5d00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

centml/sdk/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
class Config(BaseSettings):
88
# It is possible to override the default values by setting the environment variables
9-
model_config = SettingsConfigDict(env_file=Path(".env"))
9+
model_config = SettingsConfigDict(env_file=Path(".env"), extra="ignore")
1010

1111
CENTML_WEB_URL: str = os.getenv("CENTML_WEB_URL", default="https://app.centml.com/")
1212
CENTML_CONFIG_PATH: str = os.getenv("CENTML_CONFIG_PATH", default=os.path.expanduser("~/.centml"))

0 commit comments

Comments
 (0)