mirror of
https://github.com/rendercv/rendercv.git
synced 2026-04-17 21:39:00 -04:00
Fix redundant type annotation in entry_templates_from_input.py
dict[str, str | str] was redundant since str | str simplifies to str.
This commit is contained in:
@@ -125,7 +125,7 @@ def render_entry_templates[EntryType: Entry](
|
||||
templates, entry.entry_type_in_snake_case
|
||||
).model_dump(exclude_none=True)
|
||||
|
||||
entry_fields: dict[str, str | str] = {
|
||||
entry_fields: dict[str, str] = {
|
||||
key.upper(): value for key, value in entry.model_dump(exclude_none=True).items()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user