diff --git a/src/gt4sd/algorithms/registry.py b/src/gt4sd/algorithms/registry.py index 53717f275..20927e1ad 100644 --- a/src/gt4sd/algorithms/registry.py +++ b/src/gt4sd/algorithms/registry.py @@ -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"),) # type: ignore + 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