Skip to content

Commit

Permalink
added type annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
venthur committed Nov 12, 2023
1 parent ff1099d commit 8656780
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions blag/blag.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
"""
Expand Down

0 comments on commit 8656780

Please sign in to comment.