updates types

This commit is contained in:
Mose Müller 2024-03-27 17:13:25 +01:00
parent d1007fad14
commit e71186dce4
3 changed files with 8 additions and 2 deletions

View File

@ -47,7 +47,7 @@ class DataServiceCache:
return {
"full_access_path": full_access_path,
"value": None,
"type": "NoneType",
"type": "None",
"doc": None,
"readonly": False,
}

View File

@ -427,7 +427,7 @@ def get_next_level_dict_by_key(
{
"full_access_path": "",
"value": None,
"type": "NoneType",
"type": "None",
"doc": None,
"readonly": False,
}

View File

@ -67,6 +67,11 @@ class SerializedNoneType(SerializedObjectBase):
type: Literal["NoneType"]
class SerializedNoValue(SerializedObjectBase):
value: None
type: Literal["None"]
SerializedMethod = TypedDict(
"SerializedMethod",
{
@ -110,4 +115,5 @@ SerializedObject = (
| SerializedDataService
| SerializedEnum
| SerializedQuantity
| SerializedNoValue
)