Skip to content

Commit

Permalink
[utils] Fix typing for py39 support
Browse files Browse the repository at this point in the history
  • Loading branch information
anjos committed Nov 6, 2024
1 parent 8316d69 commit 5342fdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pelican/plugins/pybtex/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def generate_context(
style_name: str,
extra_fields: typing.Sequence[str],
html_formatter_options: dict[str, typing.Any],
) -> list[dict[str, str | int]]:
) -> list[dict[str, typing.Union[str, int]]]:
"""Generate a list of dictionaries given a set of bibliography databases.
Parameters
Expand Down

0 comments on commit 5342fdc

Please sign in to comment.