mirror of
https://github.com/tiqi-group/pydase.git
synced 2025-04-21 00:40:01 +02:00
updates types
This commit is contained in:
parent
d1007fad14
commit
e71186dce4
@ -47,7 +47,7 @@ class DataServiceCache:
|
|||||||
return {
|
return {
|
||||||
"full_access_path": full_access_path,
|
"full_access_path": full_access_path,
|
||||||
"value": None,
|
"value": None,
|
||||||
"type": "NoneType",
|
"type": "None",
|
||||||
"doc": None,
|
"doc": None,
|
||||||
"readonly": False,
|
"readonly": False,
|
||||||
}
|
}
|
||||||
|
@ -427,7 +427,7 @@ def get_next_level_dict_by_key(
|
|||||||
{
|
{
|
||||||
"full_access_path": "",
|
"full_access_path": "",
|
||||||
"value": None,
|
"value": None,
|
||||||
"type": "NoneType",
|
"type": "None",
|
||||||
"doc": None,
|
"doc": None,
|
||||||
"readonly": False,
|
"readonly": False,
|
||||||
}
|
}
|
||||||
|
@ -67,6 +67,11 @@ class SerializedNoneType(SerializedObjectBase):
|
|||||||
type: Literal["NoneType"]
|
type: Literal["NoneType"]
|
||||||
|
|
||||||
|
|
||||||
|
class SerializedNoValue(SerializedObjectBase):
|
||||||
|
value: None
|
||||||
|
type: Literal["None"]
|
||||||
|
|
||||||
|
|
||||||
SerializedMethod = TypedDict(
|
SerializedMethod = TypedDict(
|
||||||
"SerializedMethod",
|
"SerializedMethod",
|
||||||
{
|
{
|
||||||
@ -110,4 +115,5 @@ SerializedObject = (
|
|||||||
| SerializedDataService
|
| SerializedDataService
|
||||||
| SerializedEnum
|
| SerializedEnum
|
||||||
| SerializedQuantity
|
| SerializedQuantity
|
||||||
|
| SerializedNoValue
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user