Skip to content

Commit

Permalink
chore: mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
jannisborn committed Jun 9, 2024
1 parent ce1974f commit 301b0cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gt4sd/algorithms/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def decorator(
], # type: ignore
)
# NOTE: Needed to circumvent a pydantic TypeError: Parameter list to Generic[...] cannot be empty
VanillaConfiguration.__pydantic_validator__ = True
VanillaConfiguration.__pydantic_validator__ = True # type: ignore

# NOTE: Duplicate call necessary for pydantic >=1.10.* - see https://github.com/pydantic/pydantic/issues/4695
PydanticConfiguration: Type[AlgorithmConfiguration] = dataclass( # type: ignore
Expand Down

0 comments on commit 301b0cd

Please sign in to comment.