PyAres 0.3.0__tar.gz → 0.3.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pyares-0.3.0 → pyares-0.3.2}/PKG-INFO +1 -1
- {pyares-0.3.0 → pyares-0.3.2}/PyAres/Utils/ares_value_utils.py +4 -0
- {pyares-0.3.0 → pyares-0.3.2}/PyAres/test_tools/analyzer_tester.py +1 -1
- {pyares-0.3.0 → pyares-0.3.2}/.github/dependabot.yml +0 -0
- {pyares-0.3.0 → pyares-0.3.2}/.github/workflows/pypi.yaml +0 -0
- {pyares-0.3.0 → pyares-0.3.2}/.github/workflows/python-tests.yaml +0 -0
- {pyares-0.3.0 → pyares-0.3.2}/.gitignore +0 -0
- {pyares-0.3.0 → pyares-0.3.2}/LICENSE +0 -0
- {pyares-0.3.0 → pyares-0.3.2}/PyAres/Analyzing/__init__.py +0 -0
- {pyares-0.3.0 → pyares-0.3.2}/PyAres/Analyzing/analysis_service.py +0 -0
- {pyares-0.3.0 → pyares-0.3.2}/PyAres/Analyzing/analyzer_models.py +0 -0
- {pyares-0.3.0 → pyares-0.3.2}/PyAres/Demo/analyzer_test.py +0 -0
- {pyares-0.3.0 → pyares-0.3.2}/PyAres/Demo/analyzer_test_tools_demo.py +0 -0
- {pyares-0.3.0 → pyares-0.3.2}/PyAres/Demo/analyzer_wiki.py +0 -0
- {pyares-0.3.0 → pyares-0.3.2}/PyAres/Demo/device_test.py +0 -0
- {pyares-0.3.0 → pyares-0.3.2}/PyAres/Demo/hotplate.py +0 -0
- {pyares-0.3.0 → pyares-0.3.2}/PyAres/Demo/planner_test.py +0 -0
- {pyares-0.3.0 → pyares-0.3.2}/PyAres/Demo/planner_test_tools_demo.py +0 -0
- {pyares-0.3.0 → pyares-0.3.2}/PyAres/Demo/planner_wiki.py +0 -0
- {pyares-0.3.0 → pyares-0.3.2}/PyAres/Demo/rotary_mixer.py +0 -0
- {pyares-0.3.0 → pyares-0.3.2}/PyAres/Device/__init__.py +0 -0
- {pyares-0.3.0 → pyares-0.3.2}/PyAres/Device/device_models.py +0 -0
- {pyares-0.3.0 → pyares-0.3.2}/PyAres/Device/device_service.py +0 -0
- {pyares-0.3.0 → pyares-0.3.2}/PyAres/Device/device_warnings.py +0 -0
- {pyares-0.3.0 → pyares-0.3.2}/PyAres/Models/__init__.py +0 -0
- {pyares-0.3.0 → pyares-0.3.2}/PyAres/Models/ares_data_models.py +0 -0
- {pyares-0.3.0 → pyares-0.3.2}/PyAres/Planning/__init__.py +0 -0
- {pyares-0.3.0 → pyares-0.3.2}/PyAres/Planning/planner_models.py +0 -0
- {pyares-0.3.0 → pyares-0.3.2}/PyAres/Planning/planning_service.py +0 -0
- {pyares-0.3.0 → pyares-0.3.2}/PyAres/Utils/ares_data_schema_utils.py +0 -0
- {pyares-0.3.0 → pyares-0.3.2}/PyAres/Utils/ares_data_type_utils.py +0 -0
- {pyares-0.3.0 → pyares-0.3.2}/PyAres/Utils/ares_device_command_utils.py +0 -0
- {pyares-0.3.0 → pyares-0.3.2}/PyAres/Utils/ares_outcome_utils.py +0 -0
- {pyares-0.3.0 → pyares-0.3.2}/PyAres/Utils/ares_struct_utils.py +0 -0
- {pyares-0.3.0 → pyares-0.3.2}/PyAres/Utils/param_history_info_utils.py +0 -0
- {pyares-0.3.0 → pyares-0.3.2}/PyAres/Utils/plan_request_utils.py +0 -0
- {pyares-0.3.0 → pyares-0.3.2}/PyAres/Utils/plan_response_utils.py +0 -0
- {pyares-0.3.0 → pyares-0.3.2}/PyAres/Utils/planning_param_utils.py +0 -0
- {pyares-0.3.0 → pyares-0.3.2}/PyAres/__init__.py +0 -0
- {pyares-0.3.0 → pyares-0.3.2}/PyAres/test_tools/__init__.py +0 -0
- {pyares-0.3.0 → pyares-0.3.2}/PyAres/test_tools/planner_tester.py +0 -0
- {pyares-0.3.0 → pyares-0.3.2}/README.md +0 -0
- {pyares-0.3.0 → pyares-0.3.2}/pyproject.toml +0 -0
- {pyares-0.3.0 → pyares-0.3.2}/setup.cfg +0 -0
- {pyares-0.3.0 → pyares-0.3.2}/setup.py +0 -0
- {pyares-0.3.0 → pyares-0.3.2}/tests/__init__.py +0 -0
- {pyares-0.3.0 → pyares-0.3.2}/tests/mock_grpc_context.py +0 -0
- {pyares-0.3.0 → pyares-0.3.2}/tests/test_analyzer.py +0 -0
- {pyares-0.3.0 → pyares-0.3.2}/tests/test_ares_data_schema_utils.py +0 -0
- {pyares-0.3.0 → pyares-0.3.2}/tests/test_ares_data_type_utils.py +0 -0
- {pyares-0.3.0 → pyares-0.3.2}/tests/test_ares_device.py +0 -0
- {pyares-0.3.0 → pyares-0.3.2}/tests/test_ares_struct_utils.py +0 -0
- {pyares-0.3.0 → pyares-0.3.2}/tests/test_ares_value_type_conversions.py +0 -0
- {pyares-0.3.0 → pyares-0.3.2}/tests/test_planner.py +0 -0
|
@@ -40,6 +40,10 @@ def py_to_ares_value(py_value, ares_value: ares_struct_pb2.AresValue):
|
|
|
40
40
|
else:
|
|
41
41
|
for item in py_value:
|
|
42
42
|
ares_value.list_value.values.append(create_ares_value(item))
|
|
43
|
+
|
|
44
|
+
elif py_value == None:
|
|
45
|
+
ares_value.null_value = ares_struct_pb2.NullValue.NULL_VALUE
|
|
46
|
+
|
|
43
47
|
else:
|
|
44
48
|
raise TypeError(f"Unsupported type for AresValue: {type(py_value)}")
|
|
45
49
|
|
|
@@ -64,7 +64,7 @@ class AnalyzerTestClient:
|
|
|
64
64
|
ares_struct_utils.dict_to_ares_struct(inputs, input_struct)
|
|
65
65
|
|
|
66
66
|
settings_struct = ares_struct_utils.create_empty_struct()
|
|
67
|
-
ares_struct_utils.dict_to_ares_struct(settings,
|
|
67
|
+
ares_struct_utils.dict_to_ares_struct(settings, settings_struct)
|
|
68
68
|
|
|
69
69
|
request = analyzer_service.AnalysisRequest(inputs=input_struct, settings=settings_struct)
|
|
70
70
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|