Skip to content

Commit

Permalink
Allow exra keys in the .env file (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
kongzii authored Feb 12, 2024
1 parent f0b069b commit 9e4d574
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion prediction_market_agent_tooling/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@


class APIKeys(BaseSettings):
model_config = SettingsConfigDict(env_file=".env", env_file_encoding="utf-8")
model_config = SettingsConfigDict(
env_file=".env", env_file_encoding="utf-8", extra="ignore"
)

MANIFOLD_API_KEY: t.Optional[str] = None
BET_FROM_ADDRESS: t.Optional[ChecksumAddress] = None
Expand Down

0 comments on commit 9e4d574

Please sign in to comment.