Skip to content

Commit

Permalink
fix: ignore mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
fiskrt committed Jun 12, 2024
1 parent 4c8ba02 commit eaebc37
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 @@ -196,7 +196,7 @@ def decorator(
], # type: ignore
)
# NOTE: Needed to circumvent a pydantic TypeError: Parameter list to Generic[...] cannot be empty
VanillaConfiguration.__parameters__ = (TypeVar("T"),)
VanillaConfiguration.__parameters__ = (TypeVar("T"),) # type: ignore
# NOTE: Duplicate call necessary for pydantic >=1.10.* - see https://github.com/pydantic/pydantic/issues/4695
PydanticConfiguration: Type[AlgorithmConfiguration] = dataclass( # type: ignore
VanillaConfiguration
Expand Down

0 comments on commit eaebc37

Please sign in to comment.