mirror of
https://github.com/tiqi-group/pydase.git
synced 2026-02-13 22:08:41 +01:00
updates types
This commit is contained in:
@@ -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
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user