fix cython errors

This commit is contained in:
jxxghp
2025-03-23 19:09:48 +08:00
parent 4c4bf698b1
commit 740cf12c11
3 changed files with 7 additions and 7 deletions

View File

@@ -275,7 +275,7 @@ class SubscribeChain(ChainBase, metaclass=Singleton):
return True
return False
def search(self, sid: int = None, state: str = 'N', manual: bool = False):
def search(self, sid: int = None, state: Optional[str] = 'N', manual: bool = False):
"""
订阅搜索
:param sid: 订阅ID有值时只处理该订阅