Skip to content

Commit

Permalink
chore: black
Browse files Browse the repository at this point in the history
  • Loading branch information
fiskrt committed Jun 12, 2024
1 parent eaebc37 commit 7d6e497
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"),) # 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
Expand Down

0 comments on commit 7d6e497

Please sign in to comment.