Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn committed Jul 28, 2024
1 parent 92042b8 commit cdd272a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions returns/primitives/hkt.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from typing import TYPE_CHECKING, Any, Callable, Protocol, TypeVar

from typing_extensions import Never, TypeVarTuple, Generic
from typing_extensions import Generic, Never, TypeVarTuple, Unpack

_InstanceType = TypeVar('_InstanceType', covariant=True)
_TypeArgType1 = TypeVar('_TypeArgType1', covariant=True)
Expand All @@ -25,7 +25,7 @@
_TypeVars = TypeVarTuple('_TypeVars')


class KindN(Generic[_InstanceType, *_TypeVars]):
class KindN(Generic[_InstanceType, Unpack[_TypeVars]]):
"""
Emulation support for Higher Kinded Types.
Expand Down Expand Up @@ -109,7 +109,7 @@ def __getattr__(self, attrname: str):
Kind3 = KindN[_InstanceType, _TypeArgType1, _TypeArgType2, _TypeArgType3]


class SupportsKindN(KindN[_InstanceType, *_TypeVars]):
class SupportsKindN(KindN[_InstanceType, Unpack[_TypeVars]]):
"""
Base class for your containers.
Expand Down

0 comments on commit cdd272a

Please sign in to comment.