Skip to content

Commit

Permalink
Don't use a variadic generic syntax.
Browse files Browse the repository at this point in the history
  • Loading branch information
wRAR committed Oct 11, 2023
1 parent dc81782 commit 9be4e58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scrapy_poet/injection.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ def build_instances_from_providers(
):
from typing import Annotated

cls = Annotated[cls, *metadata]
cls = Annotated[(cls, *metadata)]
objs_by_type[cls] = obj
extra_classes = objs_by_type.keys() - provided_classes
if extra_classes:
Expand Down

0 comments on commit 9be4e58

Please sign in to comment.