aboutsummaryrefslogtreecommitdiff
path: root/mu4web/mu.py
diff options
context:
space:
mode:
Diffstat (limited to 'mu4web/mu.py')
-rw-r--r--mu4web/mu.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/mu4web/mu.py b/mu4web/mu.py
index c8b278e..094db6a 100644
--- a/mu4web/mu.py
+++ b/mu4web/mu.py
@@ -79,8 +79,9 @@ Sortfield = Union[Literal['cc'],
Literal['v']]
-
-def search(query, sortfield: Optional[Sortfield] = 'subject', reverse: bool = False) -> list[dict[str, str]]:
+def search(query: str,
+ sortfield: Optional[Sortfield] = 'subject',
+ reverse: bool = False) -> list[dict[str, str]]:
"""
[Parameters]
query - Search query as per mu-find(1).