From 8656780e5b3549ffa2dda4d1200721b60e3a6b6a Mon Sep 17 00:00:00 2001 From: Bastian Venthur Date: Sun, 12 Nov 2023 17:11:25 +0100 Subject: [PATCH] added type annotations --- blag/blag.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/blag/blag.py b/blag/blag.py index fb8e889..430b981 100644 --- a/blag/blag.py +++ b/blag/blag.py @@ -514,13 +514,17 @@ def generate_tags( fh.write(result) -def generate_search(articles, pages, db): +def generate_search( + articles: list[tuple[str, dict[str, Any]]], + pages: list[tuple[str, dict[str, Any]]], + db: str, +) -> None: """Generate Search. Parameters ---------- - articles, pages : - db : str + articles, pages + db path to sqlite file """