This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git

commit 6aa319ffe5030c67074e4d8f965c90e73f6944c0
Author: Sebb <[email protected]>
AuthorDate: Tue Dec 14 17:22:07 2021 +0000

    Add type hints
---
 server/plugins/messages.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/plugins/messages.py b/server/plugins/messages.py
index 05a4f0a..25e70b7 100644
--- a/server/plugins/messages.py
+++ b/server/plugins/messages.py
@@ -463,7 +463,7 @@ async def wordcloud(session: plugins.session.SessionObject, 
query_defuzzed: dict
     return wc
 
 
-async def get_activity_span(session: plugins.session.SessionObject, 
query_defuzzed: dict) -> typing.Tuple:
+async def get_activity_span(session: plugins.session.SessionObject, 
query_defuzzed: dict) -> typing.Tuple[datetime.datetime, datetime.datetime, 
dict]:
     """ Fetches the activity span of a search as well as active months within 
that span """
 
     # Fetch any private lists included in search results

Reply via email to