Skip to content

Commit

Permalink
fix type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
falkoschindler committed Dec 1, 2023
1 parent 8c55246 commit 449b9c7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion website/documentation/search.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from pathlib import Path
from typing import Dict, List

from fastapi.responses import JSONResponse

Expand All @@ -8,7 +9,7 @@
from .content import registry

PATH = Path(__file__).parent.parent / 'static' / 'search_index.json'
search_index: list[dict[str, str]] = []
search_index: List[Dict[str, str]] = []


@app.get('/static/search_index.json')
Expand Down

0 comments on commit 449b9c7

Please sign in to comment.