t2iapi 4.2.0.dev410__py3-none-any.whl → 4.2.0.dev414__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.
@@ -16,7 +16,7 @@ from t2iapi import basic_responses_pb2 as t2iapi_dot_basic__responses__pb2
16
16
  from t2iapi.biceps import metadata_pb2 as t2iapi_dot_biceps_dot_metadata__pb2
17
17
 
18
18
 
19
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$t2iapi/device/device_responses.proto\x12\rt2iapi.device\x1a\x1ct2iapi/basic_responses.proto\x1a\x1ct2iapi/biceps/metadata.proto\"X\n\x1fGetRemovableDescriptorsResponse\x12%\n\x06status\x18\x01 \x01(\x0b\x32\x15.t2iapi.BasicResponse\x12\x0e\n\x06handle\x18\x02 \x03(\t\"T\n\x1bInsertMdsDescriptorResponse\x12%\n\x06status\x18\x01 \x01(\x0b\x32\x15.t2iapi.BasicResponse\x12\x0e\n\x06handle\x18\x02 \x01(\t\"w\n\x1f\x41vailableDeviceMetaDataResponse\x12%\n\x06status\x18\x01 \x01(\x0b\x32\x15.t2iapi.BasicResponse\x12-\n\tmeta_data\x18\x02 \x01(\x0b\x32\x1a.t2iapi.biceps.MetaDataMsgB4\n!com.draeger.medical.t2iapi.deviceB\x0f\x44\x65viceResponsesb\x06proto3')
19
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$t2iapi/device/device_responses.proto\x12\rt2iapi.device\x1a\x1ct2iapi/basic_responses.proto\x1a\x1ct2iapi/biceps/metadata.proto\"X\n\x1fGetRemovableDescriptorsResponse\x12%\n\x06status\x18\x01 \x01(\x0b\x32\x15.t2iapi.BasicResponse\x12\x0e\n\x06handle\x18\x02 \x03(\t\"T\n\x1bInsertMdsDescriptorResponse\x12%\n\x06status\x18\x01 \x01(\x0b\x32\x15.t2iapi.BasicResponse\x12\x0e\n\x06handle\x18\x02 \x01(\t\"w\n\x1f\x41vailableDeviceMetaDataResponse\x12%\n\x06status\x18\x01 \x01(\x0b\x32\x15.t2iapi.BasicResponse\x12-\n\tmeta_data\x18\x02 \x01(\x0b\x32\x1a.t2iapi.biceps.MetaDataMsg\"`\n\x1dGetComponentSwVersionResponse\x12%\n\x06status\x18\x01 \x01(\x0b\x32\x15.t2iapi.BasicResponse\x12\x18\n\x10software_version\x18\x02 \x01(\tB4\n!com.draeger.medical.t2iapi.deviceB\x0f\x44\x65viceResponsesb\x06proto3')
20
20
 
21
21
  _globals = globals()
22
22
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -30,4 +30,6 @@ if _descriptor._USE_C_DESCRIPTORS == False:
30
30
  _globals['_INSERTMDSDESCRIPTORRESPONSE']._serialized_end=289
31
31
  _globals['_AVAILABLEDEVICEMETADATARESPONSE']._serialized_start=291
32
32
  _globals['_AVAILABLEDEVICEMETADATARESPONSE']._serialized_end=410
33
+ _globals['_GETCOMPONENTSWVERSIONRESPONSE']._serialized_start=412
34
+ _globals['_GETCOMPONENTSWVERSIONRESPONSE']._serialized_end=508
33
35
  # @@protoc_insertion_point(module_scope)
@@ -30,3 +30,11 @@ class AvailableDeviceMetaDataResponse(_message.Message):
30
30
  status: _basic_responses_pb2.BasicResponse
31
31
  meta_data: _metadata_pb2.MetaDataMsg
32
32
  def __init__(self, status: _Optional[_Union[_basic_responses_pb2.BasicResponse, _Mapping]] = ..., meta_data: _Optional[_Union[_metadata_pb2.MetaDataMsg, _Mapping]] = ...) -> None: ...
33
+
34
+ class GetComponentSwVersionResponse(_message.Message):
35
+ __slots__ = ("status", "software_version")
36
+ STATUS_FIELD_NUMBER: _ClassVar[int]
37
+ SOFTWARE_VERSION_FIELD_NUMBER: _ClassVar[int]
38
+ status: _basic_responses_pb2.BasicResponse
39
+ software_version: str
40
+ def __init__(self, status: _Optional[_Union[_basic_responses_pb2.BasicResponse, _Mapping]] = ..., software_version: _Optional[str] = ...) -> None: ...
@@ -19,7 +19,7 @@ from t2iapi.device import device_requests_pb2 as t2iapi_dot_device_dot_device__r
19
19
  from t2iapi.device import device_responses_pb2 as t2iapi_dot_device_dot_device__responses__pb2
20
20
 
21
21
 
22
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1bt2iapi/device/service.proto\x12\rt2iapi.device\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1ct2iapi/basic_responses.proto\x1a\x1bt2iapi/basic_requests.proto\x1a#t2iapi/device/device_requests.proto\x1a$t2iapi/device/device_responses.proto2\xa4\x0b\n\rDeviceService\x12]\n\x16SetDeviceOperatingMode\x12,.t2iapi.device.SetDeviceOperatingModeRequest\x1a\x15.t2iapi.BasicResponse\x12:\n\tSendHello\x12\x16.google.protobuf.Empty\x1a\x15.t2iapi.BasicResponse\x12?\n\x0eSetClockDevice\x12\x16.google.protobuf.Empty\x1a\x15.t2iapi.BasicResponse\x12G\n\x0bSetLanguage\x12!.t2iapi.device.SetLanguageRequest\x1a\x15.t2iapi.BasicResponse\x12\x86\x01\n\x1eGetRemovableDescriptorsOfClass\x12\x34.t2iapi.device.GetRemovableDescriptorsOfClassRequest\x1a..t2iapi.device.GetRemovableDescriptorsResponse\x12\x45\n\x10RemoveDescriptor\x12\x1a.t2iapi.BasicHandleRequest\x1a\x15.t2iapi.BasicResponse\x12\x45\n\x10InsertDescriptor\x12\x1a.t2iapi.BasicHandleRequest\x1a\x15.t2iapi.BasicResponse\x12Y\n\x13InsertMdsDescriptor\x12\x16.google.protobuf.Empty\x1a*.t2iapi.device.InsertMdsDescriptorResponse\x12H\n\x13RemoveMdsDescriptor\x12\x1a.t2iapi.BasicHandleRequest\x1a\x15.t2iapi.BasicResponse\x12_\n\x17TriggerDescriptorUpdate\x12-.t2iapi.device.TriggerDescriptorUpdateRequest\x1a\x15.t2iapi.BasicResponse\x12K\n\x1aTriggerAnyDescriptorUpdate\x12\x16.google.protobuf.Empty\x1a\x15.t2iapi.BasicResponse\x12K\n\rTriggerReport\x12#.t2iapi.device.TriggerReportRequest\x1a\x15.t2iapi.BasicResponse\x12O\n\x0fSetBatteryUsage\x12%.t2iapi.device.SetBatteryUsageRequest\x1a\x15.t2iapi.BasicResponse\x12}\n&ProvideInformationAboutLastCalibration\x12<.t2iapi.device.ProvideInformationAboutLastCalibrationRequest\x1a\x15.t2iapi.BasicResponse\x12}\n&ProvideInformationAboutNextCalibration\x12<.t2iapi.device.ProvideInformationAboutNextCalibrationRequest\x1a\x15.t2iapi.BasicResponse\x12h\n\x1aGetAvailableDeviceMetaData\x12\x1a.t2iapi.BasicHandleRequest\x1a..t2iapi.device.AvailableDeviceMetaDataResponseB5\n!com.draeger.medical.t2iapi.deviceB\x10\x44\x65viceApiServiceb\x06proto3')
22
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1bt2iapi/device/service.proto\x12\rt2iapi.device\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1ct2iapi/basic_responses.proto\x1a\x1bt2iapi/basic_requests.proto\x1a#t2iapi/device/device_requests.proto\x1a$t2iapi/device/device_responses.proto2\x87\x0c\n\rDeviceService\x12]\n\x16SetDeviceOperatingMode\x12,.t2iapi.device.SetDeviceOperatingModeRequest\x1a\x15.t2iapi.BasicResponse\x12:\n\tSendHello\x12\x16.google.protobuf.Empty\x1a\x15.t2iapi.BasicResponse\x12?\n\x0eSetClockDevice\x12\x16.google.protobuf.Empty\x1a\x15.t2iapi.BasicResponse\x12G\n\x0bSetLanguage\x12!.t2iapi.device.SetLanguageRequest\x1a\x15.t2iapi.BasicResponse\x12\x86\x01\n\x1eGetRemovableDescriptorsOfClass\x12\x34.t2iapi.device.GetRemovableDescriptorsOfClassRequest\x1a..t2iapi.device.GetRemovableDescriptorsResponse\x12\x45\n\x10RemoveDescriptor\x12\x1a.t2iapi.BasicHandleRequest\x1a\x15.t2iapi.BasicResponse\x12\x45\n\x10InsertDescriptor\x12\x1a.t2iapi.BasicHandleRequest\x1a\x15.t2iapi.BasicResponse\x12Y\n\x13InsertMdsDescriptor\x12\x16.google.protobuf.Empty\x1a*.t2iapi.device.InsertMdsDescriptorResponse\x12H\n\x13RemoveMdsDescriptor\x12\x1a.t2iapi.BasicHandleRequest\x1a\x15.t2iapi.BasicResponse\x12_\n\x17TriggerDescriptorUpdate\x12-.t2iapi.device.TriggerDescriptorUpdateRequest\x1a\x15.t2iapi.BasicResponse\x12K\n\x1aTriggerAnyDescriptorUpdate\x12\x16.google.protobuf.Empty\x1a\x15.t2iapi.BasicResponse\x12K\n\rTriggerReport\x12#.t2iapi.device.TriggerReportRequest\x1a\x15.t2iapi.BasicResponse\x12O\n\x0fSetBatteryUsage\x12%.t2iapi.device.SetBatteryUsageRequest\x1a\x15.t2iapi.BasicResponse\x12}\n&ProvideInformationAboutLastCalibration\x12<.t2iapi.device.ProvideInformationAboutLastCalibrationRequest\x1a\x15.t2iapi.BasicResponse\x12}\n&ProvideInformationAboutNextCalibration\x12<.t2iapi.device.ProvideInformationAboutNextCalibrationRequest\x1a\x15.t2iapi.BasicResponse\x12h\n\x1aGetAvailableDeviceMetaData\x12\x1a.t2iapi.BasicHandleRequest\x1a..t2iapi.device.AvailableDeviceMetaDataResponse\x12\x61\n\x15GetComponentSwVersion\x12\x1a.t2iapi.BasicHandleRequest\x1a,.t2iapi.device.GetComponentSwVersionResponseB5\n!com.draeger.medical.t2iapi.deviceB\x10\x44\x65viceApiServiceb\x06proto3')
23
23
 
24
24
  _globals = globals()
25
25
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -28,5 +28,5 @@ if _descriptor._USE_C_DESCRIPTORS == False:
28
28
  _globals['DESCRIPTOR']._options = None
29
29
  _globals['DESCRIPTOR']._serialized_options = b'\n!com.draeger.medical.t2iapi.deviceB\020DeviceApiService'
30
30
  _globals['_DEVICESERVICE']._serialized_start=210
31
- _globals['_DEVICESERVICE']._serialized_end=1654
31
+ _globals['_DEVICESERVICE']._serialized_end=1753
32
32
  # @@protoc_insertion_point(module_scope)
@@ -100,6 +100,11 @@ class DeviceServiceStub(object):
100
100
  request_serializer=t2iapi_dot_basic__requests__pb2.BasicHandleRequest.SerializeToString,
101
101
  response_deserializer=t2iapi_dot_device_dot_device__responses__pb2.AvailableDeviceMetaDataResponse.FromString,
102
102
  )
103
+ self.GetComponentSwVersion = channel.unary_unary(
104
+ '/t2iapi.device.DeviceService/GetComponentSwVersion',
105
+ request_serializer=t2iapi_dot_basic__requests__pb2.BasicHandleRequest.SerializeToString,
106
+ response_deserializer=t2iapi_dot_device_dot_device__responses__pb2.GetComponentSwVersionResponse.FromString,
107
+ )
103
108
 
104
109
 
105
110
  class DeviceServiceServicer(object):
@@ -271,6 +276,15 @@ class DeviceServiceServicer(object):
271
276
  context.set_details('Method not implemented!')
272
277
  raise NotImplementedError('Method not implemented!')
273
278
 
279
+ def GetComponentSwVersion(self, request, context):
280
+ """
281
+ Get the software version of the requested pm:AbstractDeviceComponentDescriptor handle if it is representing
282
+ a component with a software version.
283
+ """
284
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
285
+ context.set_details('Method not implemented!')
286
+ raise NotImplementedError('Method not implemented!')
287
+
274
288
 
275
289
  def add_DeviceServiceServicer_to_server(servicer, server):
276
290
  rpc_method_handlers = {
@@ -354,6 +368,11 @@ def add_DeviceServiceServicer_to_server(servicer, server):
354
368
  request_deserializer=t2iapi_dot_basic__requests__pb2.BasicHandleRequest.FromString,
355
369
  response_serializer=t2iapi_dot_device_dot_device__responses__pb2.AvailableDeviceMetaDataResponse.SerializeToString,
356
370
  ),
371
+ 'GetComponentSwVersion': grpc.unary_unary_rpc_method_handler(
372
+ servicer.GetComponentSwVersion,
373
+ request_deserializer=t2iapi_dot_basic__requests__pb2.BasicHandleRequest.FromString,
374
+ response_serializer=t2iapi_dot_device_dot_device__responses__pb2.GetComponentSwVersionResponse.SerializeToString,
375
+ ),
357
376
  }
358
377
  generic_handler = grpc.method_handlers_generic_handler(
359
378
  't2iapi.device.DeviceService', rpc_method_handlers)
@@ -637,3 +656,20 @@ class DeviceService(object):
637
656
  t2iapi_dot_device_dot_device__responses__pb2.AvailableDeviceMetaDataResponse.FromString,
638
657
  options, channel_credentials,
639
658
  insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
659
+
660
+ @staticmethod
661
+ def GetComponentSwVersion(request,
662
+ target,
663
+ options=(),
664
+ channel_credentials=None,
665
+ call_credentials=None,
666
+ insecure=False,
667
+ compression=None,
668
+ wait_for_ready=None,
669
+ timeout=None,
670
+ metadata=None):
671
+ return grpc.experimental.unary_unary(request, target, '/t2iapi.device.DeviceService/GetComponentSwVersion',
672
+ t2iapi_dot_basic__requests__pb2.BasicHandleRequest.SerializeToString,
673
+ t2iapi_dot_device_dot_device__responses__pb2.GetComponentSwVersionResponse.FromString,
674
+ options, channel_credentials,
675
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: t2iapi
3
- Version: 4.2.0.dev410
3
+ Version: 4.2.0.dev414
4
4
  Summary: T2I API for device communication in test scenarios
5
5
  Home-page: https://github.com/Draegerwerk/t2iapi
6
6
  Author: T2I Team
@@ -75,12 +75,12 @@ t2iapi/device/__init__.pyi,sha256=e6L498_aQ6SdthmzO_wKsxVSBGUM26CN2Xl54sAcEwo,14
75
75
  t2iapi/device/device_requests_pb2.py,sha256=HiqmAm3sjvXBoo3Dznb5ABZwLMCMk_MEds6JcGpvhyQ,3255
76
76
  t2iapi/device/device_requests_pb2.pyi,sha256=tbsdzajJDFJXB8K8SI7JMMcqF5_qXHgEVmKRWotJDVY,2757
77
77
  t2iapi/device/device_requests_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
78
- t2iapi/device/device_responses_pb2.py,sha256=odmJzpZxfJwU9JADmtA9izhmJfPWJyr06Z0sJ8KvyKA,2210
79
- t2iapi/device/device_responses_pb2.pyi,sha256=txOaiErz0ak3JHboBMOdmQL1dtN3FlK2Fwq9nfUnwsY,1721
78
+ t2iapi/device/device_responses_pb2.py,sha256=5bu5GQkkmerX0WcjbF0PaV4u0SIGKyELarytSBu7NVk,2490
79
+ t2iapi/device/device_responses_pb2.pyi,sha256=AR9T74j7_GNLvetsYQI3eE8VsJosuGlQDlqD9YRVjJ8,2142
80
80
  t2iapi/device/device_responses_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
81
- t2iapi/device/service_pb2.py,sha256=9tRy82OsolISOgM8HUhrFsAjJtbU0vFQxWeso-1WNkw,3541
81
+ t2iapi/device/service_pb2.py,sha256=V66vSeqvvgt-8qzF9LycUZoaz-Zl9O8Tphtd-TY7BqQ,3659
82
82
  t2iapi/device/service_pb2.pyi,sha256=X09RG7V_2JjDB4Gv1sMdROcl-vwJhS0Z3OpEqY2A0TA,453
83
- t2iapi/device/service_pb2_grpc.py,sha256=PGAJybolYR7t7BYBwOSJ1QuCe8MgkCpOEFyvfVVwWXI,32655
83
+ t2iapi/device/service_pb2_grpc.py,sha256=jlaVmYvKLTeS7FLo-yvNFPNBCxB7JVxs0UmCn9EtAWE,34570
84
84
  t2iapi/device/types_pb2.py,sha256=j8HfZJf1teqA0oY8UICkWg_C_mMfIVXjoT5AzeyUuzE,3321
85
85
  t2iapi/device/types_pb2.pyi,sha256=Cy6c3d2HXACCIo7n2Grab_8j6JHB_toKid8WNTxlxWY,3962
86
86
  t2iapi/device/types_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
@@ -111,9 +111,9 @@ t2iapi/operation/service_pb2_grpc.py,sha256=yPxuVXTxpVy5wSGVmsIkj_kfeHHm-AJ_4sgu
111
111
  t2iapi/operation/types_pb2.py,sha256=pdM7ob1_SBFZ6ndx0MPkCo6AdV_pZKtDwFiWBBtT6r4,1374
112
112
  t2iapi/operation/types_pb2.pyi,sha256=DplrhCrEW7nHBLLOWlNeka5FzX2gFPv1QGNHyT0tvRM,591
113
113
  t2iapi/operation/types_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
114
- t2iapi-4.2.0.dev410.dist-info/LICENSE,sha256=8ZnuIeCzXNlN6lfSNcmIr6gDfOtFoZ9TKDlf2AAfYdQ,1086
115
- t2iapi-4.2.0.dev410.dist-info/METADATA,sha256=qJB2nCYOHBOHzyDupBT7UDObIVV6nHjfZHiHNfKiBi8,835
116
- t2iapi-4.2.0.dev410.dist-info/WHEEL,sha256=ewwEueio1C2XeHTvT17n8dZUJgOvyCWCt0WVNLClP9o,92
117
- t2iapi-4.2.0.dev410.dist-info/top_level.txt,sha256=c0UvkS5osT7vNcji3Ic5KzEpauWa_lqRAB66A0tqA1w,7
118
- t2iapi-4.2.0.dev410.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
119
- t2iapi-4.2.0.dev410.dist-info/RECORD,,
114
+ t2iapi-4.2.0.dev414.dist-info/LICENSE,sha256=8ZnuIeCzXNlN6lfSNcmIr6gDfOtFoZ9TKDlf2AAfYdQ,1086
115
+ t2iapi-4.2.0.dev414.dist-info/METADATA,sha256=FYcmgp7Me_5aeVCQZ8YUrwIQhfRkYTO62e7xetDoW7g,835
116
+ t2iapi-4.2.0.dev414.dist-info/WHEEL,sha256=ewwEueio1C2XeHTvT17n8dZUJgOvyCWCt0WVNLClP9o,92
117
+ t2iapi-4.2.0.dev414.dist-info/top_level.txt,sha256=c0UvkS5osT7vNcji3Ic5KzEpauWa_lqRAB66A0tqA1w,7
118
+ t2iapi-4.2.0.dev414.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
119
+ t2iapi-4.2.0.dev414.dist-info/RECORD,,