mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-07-27 16:29:52 +03:00
Fix type annotate
This commit is contained in:
parent
34c4845909
commit
381096bf41
|
@ -31,7 +31,7 @@ class Combinable(abc.ABC):
|
||||||
rhs = other.filters if isinstance(other, All) else (other,)
|
rhs = other.filters if isinstance(other, All) else (other,)
|
||||||
return All(*lhs, *rhs)
|
return All(*lhs, *rhs)
|
||||||
|
|
||||||
def __invert__(self) -> "Not" | FilterType:
|
def __invert__(self) -> "Not | FilterType":
|
||||||
return self.filter if isinstance(self, Not) else Not(self)
|
return self.filter if isinstance(self, Not) else Not(self)
|
||||||
|
|
||||||
@abc.abstractmethod
|
@abc.abstractmethod
|
||||||
|
|
Loading…
Reference in New Issue
Block a user