Skip to content

Commit

Permalink
Revert "fix: allow extra attribs for HordeAPIObject"
Browse files Browse the repository at this point in the history
This reverts commit 174107a.
  • Loading branch information
tazlin committed Nov 23, 2024
1 parent e68e623 commit 859f42d
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions horde_sdk/generic_api/apimodels.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,9 @@ def get_api_model_name(cls) -> str | None:
If none, there is no payload, such as for a GET request.
"""

model_config = (
ConfigDict(
frozen=True,
use_attribute_docstrings=True,
extra="allow",
)
if not os.getenv("TESTS_ONGOING")
else ConfigDict(
frozen=True,
use_attribute_docstrings=True,
)
model_config = ConfigDict(
frozen=True,
use_attribute_docstrings=True,
)


Expand Down

0 comments on commit 859f42d

Please sign in to comment.