Skip to content

Commit

Permalink
forbids extra fields
Browse files Browse the repository at this point in the history
  • Loading branch information
rawwar committed Nov 23, 2024
1 parent 208f07b commit 3e4bfee
Show file tree
Hide file tree
Showing 3 changed files with 157 additions and 1 deletion.
2 changes: 1 addition & 1 deletion airflow/api_fastapi/core_api/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ class BaseModel(PydanticBaseModel):
:meta private:
"""

model_config = ConfigDict(from_attributes=True)
model_config = ConfigDict(from_attributes=True, extra="forbid")
Loading

0 comments on commit 3e4bfee

Please sign in to comment.