forked from github.com/blag
added type annotations
This commit is contained in:
10
blag/blag.py
10
blag/blag.py
@@ -514,13 +514,17 @@ def generate_tags(
|
|||||||
fh.write(result)
|
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.
|
"""Generate Search.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
articles, pages :
|
articles, pages
|
||||||
db : str
|
db
|
||||||
path to sqlite file
|
path to sqlite file
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user