run latest black format

This commit is contained in:
David Lord 2023-02-10 15:07:24 -08:00
parent a18ae3d752
commit aa040c085c
No known key found for this signature in database
GPG Key ID: 7A1C87E3F5BC42A8
1 changed files with 2 additions and 2 deletions

View File

@ -134,7 +134,7 @@ def _render(app: "Flask", template: Template, context: t.Dict[str, t.Any]) -> st
def render_template(
template_name_or_list: t.Union[str, Template, t.List[t.Union[str, Template]]],
**context: t.Any
**context: t.Any,
) -> str:
"""Render a template by name with the given context.
@ -180,7 +180,7 @@ def _stream(
def stream_template(
template_name_or_list: t.Union[str, Template, t.List[t.Union[str, Template]]],
**context: t.Any
**context: t.Any,
) -> t.Iterator[str]:
"""Render a template by name with the given context as a stream.
This returns an iterator of strings, which can be used as a