1
0
mirror of https://github.com/venthur/blag.git synced 2025-11-25 12:42:41 +00:00

added type annotations

This commit is contained in:
Bastian Venthur
2023-11-12 17:11:25 +01:00
parent ff1099de60
commit 8656780e5b

View File

@@ -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
"""