mirror of
https://github.com/tiqi-group/pydase.git
synced 2025-04-20 00:10:03 +02:00
updates types
This commit is contained in:
parent
d1007fad14
commit
e71186dce4
@ -47,7 +47,7 @@ class DataServiceCache:
|
||||
return {
|
||||
"full_access_path": full_access_path,
|
||||
"value": None,
|
||||
"type": "NoneType",
|
||||
"type": "None",
|
||||
"doc": None,
|
||||
"readonly": False,
|
||||
}
|
||||
|
@ -427,7 +427,7 @@ def get_next_level_dict_by_key(
|
||||
{
|
||||
"full_access_path": "",
|
||||
"value": None,
|
||||
"type": "NoneType",
|
||||
"type": "None",
|
||||
"doc": None,
|
||||
"readonly": False,
|
||||
}
|
||||
|
@ -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
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user