Skip to content

Commit 551b322

Browse files
committed
fix 3.8 and 3.9
1 parent 2ee7605 commit 551b322

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/view/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ class TemplatesConfig(ConfigModel, env_prefix="view_templates_"): # type: ignor
128128
Platform: TypeAlias = Literal["windows", "mac", "linux", "macOS", "Windows", "Linux", "Mac", "MacOS"]
129129

130130
class BuildStep(ConfigModel): # type: ignore
131-
platform: List[Platform] | Platform | None = None
131+
platform: Union[List[Platform], Platform, None] = None
132132
requires: List[str] = ConfigField(default_factory=list)
133133
command: Union[str, None, List[str]] = None
134134
script: Union[Path, None, List[Path]] = None

0 commit comments

Comments
 (0)