From 58bee218ca3dc4d3637814bbebe882418b73c545 Mon Sep 17 00:00:00 2001 From: mmayank Date: Tue, 15 Oct 2019 21:07:53 +0530 Subject: [PATCH] Add type annotations --- theHarvester/__main__.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/theHarvester/__main__.py b/theHarvester/__main__.py index 632becb7..c649396a 100644 --- a/theHarvester/__main__.py +++ b/theHarvester/__main__.py @@ -69,8 +69,9 @@ def start(): virtual = args.virtual_host word = args.domain # type: str - def store(search_engine, source, process_param=None, store_host=False, store_emails=False, store_ip=False, store_people=False, - store_data=False, store_links=False, store_results=False): + def store(search_engine: Any, source: str, process_param: Any = None, store_host: bool = False, + store_emails: bool = False, store_ip: bool = False, store_people: bool = False, + store_data: bool = False, store_links: bool = False, store_results: bool = False) -> None: search_engine.process() if process_param is None else search_engine.process(process_param) db_stash = stash.stash_manager()