Skip to content

Commit aed8d8a

Browse files
committed
more fixes
1 parent e36659b commit aed8d8a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/python_workflow_definition/models.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import json
22
import logging
33
from pathlib import Path
4-
from typing import Annotated, Any, Literal, TypeVar, Union, Optional
4+
from typing import Annotated, Any, Literal, TypeVar
55

66
from pydantic import (
77
BaseModel,
@@ -26,7 +26,7 @@
2626
)
2727

2828

29-
JsonPrimitive = Optional[str | int | float | bool]
29+
JsonPrimitive = str | int | float | bool | None
3030
AllowableDefaults = TypeAliasType(
3131
"AllowableDefaults",
3232
"JsonPrimitive | dict[str, AllowableDefaults] | list[AllowableDefaults]",

0 commit comments

Comments
 (0)