fprime-gds 4.0.2a2__py3-none-any.whl → 4.0.2a3__py3-none-any.whl

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.
@@ -49,6 +49,9 @@ class Dictionaries:
49
49
  self._fw_type_name_dict = None
50
50
  self._versions = None
51
51
  self._metadata = None
52
+ self._dictionary_path = None
53
+ self._packet_spec_path = None
54
+ self._packet_set_name = None
52
55
 
53
56
  def load_dictionaries(self, dictionary, packet_spec, packet_set_name):
54
57
  """
@@ -59,6 +62,11 @@ class Dictionaries:
59
62
  :param packet_spec: specification for packets, or None, for packetized telemetry
60
63
  :param packet_set_name: name of packet set in case multiple are available
61
64
  """
65
+ # Update the "from" values
66
+ self._dictionary_path = dictionary
67
+ self._packet_spec_path = packet_spec
68
+ self._packet_set_name = packet_set_name
69
+
62
70
  if Path(dictionary).is_file() and ".json" in Path(dictionary).suffixes:
63
71
  # Events
64
72
  json_event_loader = (
@@ -204,6 +212,21 @@ class Dictionaries:
204
212
  for legacy reasons. New code should use the metadata property."""
205
213
  return self._metadata
206
214
 
215
+ @property
216
+ def dictionary_path(self):
217
+ """ Dictionary Path """
218
+ return self._dictionary_path
219
+
220
+ @property
221
+ def packet_spec_path(self):
222
+ """ Dictionary Path """
223
+ return self._packet_spec_path
224
+
225
+ @property
226
+ def packet_set_name(self):
227
+ """ Dictionary Path """
228
+ return self._packet_set_name
229
+
207
230
  @property
208
231
  def packet(self):
209
232
  """Packet dictionary"""
@@ -239,3 +239,8 @@ class StandardPipeline:
239
239
  :return: filing compositions
240
240
  """
241
241
  return self.__filing
242
+
243
+ @property
244
+ def dictionaries(self):
245
+ """ Dictionaries member """
246
+ return self.__dictionaries
@@ -71,7 +71,7 @@ class IntegrationTestAPI(DataHandler):
71
71
 
72
72
  # Copy dictionaries and binary file to output directory
73
73
  if logpath is not None:
74
- base_dir = Path(self.pipeline.dictionary_path).parents[1]
74
+ base_dir = Path(self.dictionaries.dictionary_path).parents[1]
75
75
  for subdir in ["bin", "dict"]:
76
76
  dir_path = base_dir / subdir
77
77
  if dir_path.is_dir():
@@ -85,6 +85,13 @@ class IntegrationTestAPI(DataHandler):
85
85
  # Used by the data_callback method to detect if events have been received out of order.
86
86
  self.last_evr = None
87
87
 
88
+ @property
89
+ def dictionaries(self):
90
+ """ Return the dictionaries """
91
+ # Pipeline should not be exposed to the user, but it stores the dictionary
92
+ # thus delegate to it.
93
+ return self.pipeline.dictionaries
94
+
88
95
  def setup(self):
89
96
  """Set up the API, assumes pipeline is now setup"""
90
97
  self.pipeline.coders.register_event_consumer(self)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fprime-gds
3
- Version: 4.0.2a2
3
+ Version: 4.0.2a3
4
4
  Summary: F Prime Flight Software Ground Data System layer
5
5
  Author-email: Michael Starch <Michael.D.Starch@jpl.nasa.gov>, Thomas Boyer-Chammard <Thomas.Boyer.Chammard@jpl.nasa.gov>
6
6
  License:
@@ -88,7 +88,7 @@ fprime_gds/common/logger/__init__.py,sha256=TLUbrAnkCtckKGsLzh4hXgEshwQfZsWMDaOO
88
88
  fprime_gds/common/logger/data_logger.py,sha256=VjfhTGO1gGw954xNhSc0_zpw8JexCho5f8BlXDEYkL4,2505
89
89
  fprime_gds/common/logger/test_logger.py,sha256=wL8Lq49sVmxGRALgv-ei6AnXFh79qlHFehmKJ1A8X28,6475
90
90
  fprime_gds/common/models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
91
- fprime_gds/common/models/dictionaries.py,sha256=8HRnSrg6yVOlep17qFWdJzKJ7gZIoNGA-bCabuITyM8,8091
91
+ fprime_gds/common/models/dictionaries.py,sha256=MlHR-KEYPzky0IZjhapGCNuvKz2lTo1wtQMKPBI-nOA,8726
92
92
  fprime_gds/common/models/common/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
93
93
  fprime_gds/common/models/common/command.py,sha256=ASih9dwR_7F94nR1CV7cIuZEJSuaUAzX7JU2_lCAg4g,5476
94
94
  fprime_gds/common/parsers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -99,7 +99,7 @@ fprime_gds/common/pipeline/files.py,sha256=J2zm0sucvImtmSnv0iUp5uTpvUO8nlmz2lUdM
99
99
  fprime_gds/common/pipeline/histories.py,sha256=7KyboNnm9OARQk4meVPSSeYpeqH0G8RWRiy0BLBL1rw,3671
100
100
  fprime_gds/common/pipeline/publishing.py,sha256=A0Hb4RpK7RCBDN9BEiJZr9WQMSrmohYXCFOuzl23mPo,3953
101
101
  fprime_gds/common/pipeline/router.py,sha256=-P1wI0KXEh_snOzDaq8CjEoWuM_zRm8vUMR1T0oY9qQ,2327
102
- fprime_gds/common/pipeline/standard.py,sha256=Gj-TPWoCWN-zp6uI2o_TI9jANJ7I7hmXOujgwJ8PlMo,9126
102
+ fprime_gds/common/pipeline/standard.py,sha256=w6L9kj6phA0twSB-TfEtZIcMWWZwNBm5wzSmz1lyNEA,9239
103
103
  fprime_gds/common/templates/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
104
104
  fprime_gds/common/templates/ch_template.py,sha256=1MoDZsia0dI_CvnIttwyKLhbQhum35OcJnFc50Xohuo,3893
105
105
  fprime_gds/common/templates/cmd_template.py,sha256=n91z4WhFgHwTu6_fQqy7JqpkEObAkllIeEy0AR0DvrQ,5455
@@ -108,7 +108,7 @@ fprime_gds/common/templates/event_template.py,sha256=L0hkWB_kEMhTNodPUqBAev76SMm
108
108
  fprime_gds/common/templates/pkt_template.py,sha256=5Wi6389m5j8w7JITBGfeUnw6CYE1-hjcVJ42NJmLDcE,1794
109
109
  fprime_gds/common/templates/prm_template.py,sha256=qd0UX4ARZuPWvnFbU_DO3HkQY4QgMfqPxNcNhk-dl9A,2303
110
110
  fprime_gds/common/testing_fw/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
111
- fprime_gds/common/testing_fw/api.py,sha256=ATxIUWVMjoVUllTr0zd42--xgHE1g_OJKq4ec0UFd5k,67848
111
+ fprime_gds/common/testing_fw/api.py,sha256=HcstOYK1_TYyzxo2O3TsI3QKtQbm6FBP-kG_7ZT1bDM,68091
112
112
  fprime_gds/common/testing_fw/predicates.py,sha256=CsHsVs_EVXCLQLd2NVOvy8MxmUQVxLMr3i1ouEUqOtQ,18371
113
113
  fprime_gds/common/testing_fw/pytest_integration.py,sha256=CAvuH9_3RuKplKQVB3t_jerPr-LPzwPWoM6z3lMs16g,6203
114
114
  fprime_gds/common/tools/README.md,sha256=WVEciyfsbEVGmb9xR5A6Ioy5pBVnCsWOIJfySLeq9YM,2325
@@ -244,10 +244,10 @@ fprime_gds/flask/static/third-party/webfonts/fa-solid-900.woff2,sha256=mDS4KtJuK
244
244
  fprime_gds/plugin/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
245
245
  fprime_gds/plugin/definitions.py,sha256=QlxW1gNvoiqGMslSJjh3dTFZuv0igFHawN__3XJ0Wns,5355
246
246
  fprime_gds/plugin/system.py,sha256=M9xb-8jBhCUUx3X1z2uAP8Wx_v6NkL8JeaFgGcMnQqY,13432
247
- fprime_gds-4.0.2a2.dist-info/licenses/LICENSE.txt,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
248
- fprime_gds-4.0.2a2.dist-info/licenses/NOTICE.txt,sha256=vXjA_xRcQhd83Vfk5D_vXg5kOjnnXvLuMi5vFKDEVmg,1612
249
- fprime_gds-4.0.2a2.dist-info/METADATA,sha256=t7Idkx-zA1DrvKJaxm_zVGZoTDFxw_UJtLY35Xje4R4,24576
250
- fprime_gds-4.0.2a2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
251
- fprime_gds-4.0.2a2.dist-info/entry_points.txt,sha256=16r0xeF-Qn-ducW_QvHiyrFnNjnLK-OOaTbqQIQpd0o,494
252
- fprime_gds-4.0.2a2.dist-info/top_level.txt,sha256=6vzFLIX6ANfavKaXFHDMSLFtS94a6FaAsIWhjgYuSNE,27
253
- fprime_gds-4.0.2a2.dist-info/RECORD,,
247
+ fprime_gds-4.0.2a3.dist-info/licenses/LICENSE.txt,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
248
+ fprime_gds-4.0.2a3.dist-info/licenses/NOTICE.txt,sha256=vXjA_xRcQhd83Vfk5D_vXg5kOjnnXvLuMi5vFKDEVmg,1612
249
+ fprime_gds-4.0.2a3.dist-info/METADATA,sha256=G-I0rASiP20RANqp57TUZN8009cPcrzZ2Lydwxx295w,24576
250
+ fprime_gds-4.0.2a3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
251
+ fprime_gds-4.0.2a3.dist-info/entry_points.txt,sha256=16r0xeF-Qn-ducW_QvHiyrFnNjnLK-OOaTbqQIQpd0o,494
252
+ fprime_gds-4.0.2a3.dist-info/top_level.txt,sha256=6vzFLIX6ANfavKaXFHDMSLFtS94a6FaAsIWhjgYuSNE,27
253
+ fprime_gds-4.0.2a3.dist-info/RECORD,,