Skip to content

Commit

Permalink
add config extra='ignore'
Browse files Browse the repository at this point in the history
  • Loading branch information
hf-krechan committed Oct 30, 2024
1 parent 38d6d53 commit e6a2cb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ebd_toolchain/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@
class Settings(BaseSettings):
"""settings loaded from environment variable/.env file"""

model_config = SettingsConfigDict(env_file='.env', env_file_encoding='utf-8')
kroki_port: int = Field(alias="KROKI_PORT")
kroki_host: str = Field(alias="KROKI_HOST")
model_config = SettingsConfigDict(env_file=".env", env_file_encoding="utf-8", extra="ignore")


def _dump_puml(puml_path: Path, ebd_graph: EbdGraph) -> None:
Expand Down

0 comments on commit e6a2cb6

Please sign in to comment.