Skip to content

Commit 75e6980

Browse files
[stub] Add missing GQH ctor
1 parent 30e6d6c commit 75e6980

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

albert.pyi

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,16 @@ class GlobalQuery(ABC):
268268
class GlobalQueryHandler(TriggerQueryHandler):
269269
"""https://albertlauncher.github.io/reference/classalbert_1_1_global_query_handler.html"""
270270

271+
def __init__(self,
272+
id: str,
273+
name: str,
274+
description: str,
275+
synopsis: str = '',
276+
defaultTrigger: str = f'{id} ',
277+
allowTriggerRemap: str = true,
278+
supportsFuzzyMatching: bool = False):
279+
...
280+
271281
@abstractmethod
272282
def handleGlobalQuery(self, query: GlobalQuery) -> List[RankItem]:
273283
...

0 commit comments

Comments
 (0)