We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9529110 commit be2d481Copy full SHA for be2d481
blastpipe/backports.py
@@ -84,7 +84,7 @@ def get_identifiers(self: IsTemplatePre311) -> List[str]: # pragma: defer to st
84
@classmethod
85
def extend_with(cls: type[IsTemplatePre311], instance: _T) -> _T:
86
"""Extend the class with the mixin instance."""
87
- instance.__class__ = type(
+ instance.__class__ = type( # pyright: ignore
88
f'{instance.__class__.__name__}With{cls.__name__}',
89
(instance.__class__, cls),
90
{},
0 commit comments