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:
Sina Atalay
2026-03-24 19:43:01 +03:00
parent 5eac9641aa
commit 87345f0dcf

View File

@@ -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()
}