Skip to content

Commit

Permalink
Fix types for Python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergi Pons Freixes committed Apr 28, 2024
1 parent 2bb82ca commit 8bfd07a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jinja2_fragments/fastapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def __init__(self, directory, **env_options):
def TemplateResponse(
self,
name: str,
context: dict[str, typing.Any],
context: typing.Dict[str, typing.Any],
status_code: int = 200,
headers: typing.Optional[typing.Mapping[str, str]] = None,
media_type: typing.Optional[str] = None,
Expand Down

0 comments on commit 8bfd07a

Please sign in to comment.