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 committed 2026-03-25 16:28:20 +03:00
1 parent 5eac9641aa
commit 87345f0dcf
1 file changed
+1 -1
@@ -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()
}