Skip to content

Commit

Permalink
Merge pull request #300 from Haidra-Org/main
Browse files Browse the repository at this point in the history
Revert "fix: allow extra attribs for HordeAPIObject"
  • Loading branch information
tazlin authored Nov 23, 2024
2 parents d772c22 + 859f42d commit 6fa48bd
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 6fa48bd

Please sign in to comment.