mirror of
https://github.com/tiqi-group/pydase.git
synced 2025-04-22 01:00:02 +02:00
fix: adding NoneType to STANDARD_TYPES, fixing reading None from JSON file
This commit is contained in:
parent
86dd15d3f6
commit
f81f9b7ff8
@ -124,7 +124,7 @@ def generate_paths_from_DataService_dict(
|
||||
return paths
|
||||
|
||||
|
||||
STANDARD_TYPES = ("int", "float", "bool", "str", "Enum")
|
||||
STANDARD_TYPES = ("int", "float", "bool", "str", "Enum", "NoneType")
|
||||
|
||||
|
||||
def get_nested_value_by_path_and_key(data: dict, path: str, key: str = "value") -> Any:
|
||||
|
Loading…
x
Reference in New Issue
Block a user