From 2151830d433aa98b232c9bbb1f8064bb5f175cb4 Mon Sep 17 00:00:00 2001 From: Sina Atalay Date: Tue, 27 Feb 2024 19:59:50 +0100 Subject: [PATCH] themes: add theme field to ThemeOptions for better key ordering --- rendercv/themes/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rendercv/themes/__init__.py b/rendercv/themes/__init__.py index c6b075d..0d7618c 100644 --- a/rendercv/themes/__init__.py +++ b/rendercv/themes/__init__.py @@ -180,6 +180,8 @@ class ThemeOptions(pydantic.BaseModel): duplication. """ + theme: Literal["tobeoverwritten"] + model_config = pydantic.ConfigDict(extra="forbid") font_size: Literal["10pt", "11pt", "12pt"] = pydantic.Field(