From eaebc3782263cdf8c8da7a252efe7b190bd10fc0 Mon Sep 17 00:00:00 2001 From: fiskrt Date: Wed, 12 Jun 2024 04:03:50 -0400 Subject: [PATCH] fix: ignore mypy --- src/gt4sd/algorithms/registry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gt4sd/algorithms/registry.py b/src/gt4sd/algorithms/registry.py index dba017c2b..53717f275 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"),) + 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