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.
Files changed (54) hide show
  1. {pyares-0.3.0 → pyares-0.3.2}/PKG-INFO +1 -1
  2. {pyares-0.3.0 → pyares-0.3.2}/PyAres/Utils/ares_value_utils.py +4 -0
  3. {pyares-0.3.0 → pyares-0.3.2}/PyAres/test_tools/analyzer_tester.py +1 -1
  4. {pyares-0.3.0 → pyares-0.3.2}/.github/dependabot.yml +0 -0
  5. {pyares-0.3.0 → pyares-0.3.2}/.github/workflows/pypi.yaml +0 -0
  6. {pyares-0.3.0 → pyares-0.3.2}/.github/workflows/python-tests.yaml +0 -0
  7. {pyares-0.3.0 → pyares-0.3.2}/.gitignore +0 -0
  8. {pyares-0.3.0 → pyares-0.3.2}/LICENSE +0 -0
  9. {pyares-0.3.0 → pyares-0.3.2}/PyAres/Analyzing/__init__.py +0 -0
  10. {pyares-0.3.0 → pyares-0.3.2}/PyAres/Analyzing/analysis_service.py +0 -0
  11. {pyares-0.3.0 → pyares-0.3.2}/PyAres/Analyzing/analyzer_models.py +0 -0
  12. {pyares-0.3.0 → pyares-0.3.2}/PyAres/Demo/analyzer_test.py +0 -0
  13. {pyares-0.3.0 → pyares-0.3.2}/PyAres/Demo/analyzer_test_tools_demo.py +0 -0
  14. {pyares-0.3.0 → pyares-0.3.2}/PyAres/Demo/analyzer_wiki.py +0 -0
  15. {pyares-0.3.0 → pyares-0.3.2}/PyAres/Demo/device_test.py +0 -0
  16. {pyares-0.3.0 → pyares-0.3.2}/PyAres/Demo/hotplate.py +0 -0
  17. {pyares-0.3.0 → pyares-0.3.2}/PyAres/Demo/planner_test.py +0 -0
  18. {pyares-0.3.0 → pyares-0.3.2}/PyAres/Demo/planner_test_tools_demo.py +0 -0
  19. {pyares-0.3.0 → pyares-0.3.2}/PyAres/Demo/planner_wiki.py +0 -0
  20. {pyares-0.3.0 → pyares-0.3.2}/PyAres/Demo/rotary_mixer.py +0 -0
  21. {pyares-0.3.0 → pyares-0.3.2}/PyAres/Device/__init__.py +0 -0
  22. {pyares-0.3.0 → pyares-0.3.2}/PyAres/Device/device_models.py +0 -0
  23. {pyares-0.3.0 → pyares-0.3.2}/PyAres/Device/device_service.py +0 -0
  24. {pyares-0.3.0 → pyares-0.3.2}/PyAres/Device/device_warnings.py +0 -0
  25. {pyares-0.3.0 → pyares-0.3.2}/PyAres/Models/__init__.py +0 -0
  26. {pyares-0.3.0 → pyares-0.3.2}/PyAres/Models/ares_data_models.py +0 -0
  27. {pyares-0.3.0 → pyares-0.3.2}/PyAres/Planning/__init__.py +0 -0
  28. {pyares-0.3.0 → pyares-0.3.2}/PyAres/Planning/planner_models.py +0 -0
  29. {pyares-0.3.0 → pyares-0.3.2}/PyAres/Planning/planning_service.py +0 -0
  30. {pyares-0.3.0 → pyares-0.3.2}/PyAres/Utils/ares_data_schema_utils.py +0 -0
  31. {pyares-0.3.0 → pyares-0.3.2}/PyAres/Utils/ares_data_type_utils.py +0 -0
  32. {pyares-0.3.0 → pyares-0.3.2}/PyAres/Utils/ares_device_command_utils.py +0 -0
  33. {pyares-0.3.0 → pyares-0.3.2}/PyAres/Utils/ares_outcome_utils.py +0 -0
  34. {pyares-0.3.0 → pyares-0.3.2}/PyAres/Utils/ares_struct_utils.py +0 -0
  35. {pyares-0.3.0 → pyares-0.3.2}/PyAres/Utils/param_history_info_utils.py +0 -0
  36. {pyares-0.3.0 → pyares-0.3.2}/PyAres/Utils/plan_request_utils.py +0 -0
  37. {pyares-0.3.0 → pyares-0.3.2}/PyAres/Utils/plan_response_utils.py +0 -0
  38. {pyares-0.3.0 → pyares-0.3.2}/PyAres/Utils/planning_param_utils.py +0 -0
  39. {pyares-0.3.0 → pyares-0.3.2}/PyAres/__init__.py +0 -0
  40. {pyares-0.3.0 → pyares-0.3.2}/PyAres/test_tools/__init__.py +0 -0
  41. {pyares-0.3.0 → pyares-0.3.2}/PyAres/test_tools/planner_tester.py +0 -0
  42. {pyares-0.3.0 → pyares-0.3.2}/README.md +0 -0
  43. {pyares-0.3.0 → pyares-0.3.2}/pyproject.toml +0 -0
  44. {pyares-0.3.0 → pyares-0.3.2}/setup.cfg +0 -0
  45. {pyares-0.3.0 → pyares-0.3.2}/setup.py +0 -0
  46. {pyares-0.3.0 → pyares-0.3.2}/tests/__init__.py +0 -0
  47. {pyares-0.3.0 → pyares-0.3.2}/tests/mock_grpc_context.py +0 -0
  48. {pyares-0.3.0 → pyares-0.3.2}/tests/test_analyzer.py +0 -0
  49. {pyares-0.3.0 → pyares-0.3.2}/tests/test_ares_data_schema_utils.py +0 -0
  50. {pyares-0.3.0 → pyares-0.3.2}/tests/test_ares_data_type_utils.py +0 -0
  51. {pyares-0.3.0 → pyares-0.3.2}/tests/test_ares_device.py +0 -0
  52. {pyares-0.3.0 → pyares-0.3.2}/tests/test_ares_struct_utils.py +0 -0
  53. {pyares-0.3.0 → pyares-0.3.2}/tests/test_ares_value_type_conversions.py +0 -0
  54. {pyares-0.3.0 → pyares-0.3.2}/tests/test_planner.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: PyAres
3
- Version: 0.3.0
3
+ Version: 0.3.2
4
4
  Summary: The official Python library for ARES.
5
5
  Project-URL: Homepage, https://github.com/AFRL-ARES/PyAres
6
6
  Author-email: AFRL <AFRL.RX.AREScontact@us.af.mil>
@@ -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, input_struct)
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