Skip to content

Commit

Permalink
Ignore extra inputs for pydantic
Browse files Browse the repository at this point in the history
  • Loading branch information
aeshub committed Oct 27, 2023
1 parent cb8526f commit d44604e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/isar/config/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,7 @@ def prefix_isar_topics(cls, v: Any, info: ValidationInfo):
env_prefix="ISAR_",
env_file_encoding="utf-8",
case_sensitive=True,
extra="ignore",
)


Expand Down Expand Up @@ -330,8 +331,7 @@ def __init__(self) -> None:
# the functionality will be unavailable
VALID_ARM_POSES: Optional[List[str]] = Field(default=None)
model_config = SettingsConfigDict(
env_file_encoding="utf-8",
case_sensitive=True,
env_file_encoding="utf-8", case_sensitive=True, extra="ignore"
)


Expand Down

0 comments on commit d44604e

Please sign in to comment.