t2iapi 4.2.0.dev503__py3-none-any.whl → 4.2.0.dev506__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.
@@ -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\xe5\x12\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\x12Q\n\x10SetMdsUiLanguage\x12&.t2iapi.device.SetMdsUiLanguageRequest\x1a\x15.t2iapi.BasicResponse\x12k\n\x1aGetMdsUiSupportedLanguages\x12\x1a.t2iapi.BasicHandleRequest\x1a\x31.t2iapi.device.GetMdsUiSupportedLanguagesResponse\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.GetComponentSwVersionResponse\x12\x61\n\x15GetComponentHwVersion\x12\x1a.t2iapi.BasicHandleRequest\x1a,.t2iapi.device.GetComponentHwVersionResponse\x12\x63\n.RequestIndicationOfNextCalibrationTimeRequired\x12\x1a.t2iapi.BasicHandleRequest\x1a\x15.t2iapi.BasicResponse\x12}\n#IndicateTimeOfNextCalibrationToUser\x12\x1a.t2iapi.BasicHandleRequest\x1a:.t2iapi.device.IndicateTimeOfNextCalibrationToUserResponse\x12\xa8\x01\n\'InsertContainmentTreeEntryForSequenceId\x12=.t2iapi.device.InsertContainmentTreeEntryForSequenceIdRequest\x1a>.t2iapi.device.InsertContainmentTreeEntryForSequenceIdResponse\x12_\n*InsertContainmentTreeEntryWithStaticHandle\x12\x1a.t2iapi.BasicHandleRequest\x1a\x15.t2iapi.BasicResponse\x12I\n\x18ShutDownAndRestartDevice\x12\x16.google.protobuf.Empty\x1a\x15.t2iapi.BasicResponseB5\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\xb0\x13\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\x12Q\n\x10SetMdsUiLanguage\x12&.t2iapi.device.SetMdsUiLanguageRequest\x1a\x15.t2iapi.BasicResponse\x12k\n\x1aGetMdsUiSupportedLanguages\x12\x1a.t2iapi.BasicHandleRequest\x1a\x31.t2iapi.device.GetMdsUiSupportedLanguagesResponse\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.GetComponentSwVersionResponse\x12\x61\n\x15GetComponentHwVersion\x12\x1a.t2iapi.BasicHandleRequest\x1a,.t2iapi.device.GetComponentHwVersionResponse\x12\x63\n.RequestIndicationOfNextCalibrationTimeRequired\x12\x1a.t2iapi.BasicHandleRequest\x1a\x15.t2iapi.BasicResponse\x12}\n#IndicateTimeOfNextCalibrationToUser\x12\x1a.t2iapi.BasicHandleRequest\x1a:.t2iapi.device.IndicateTimeOfNextCalibrationToUserResponse\x12\xa8\x01\n\'InsertContainmentTreeEntryForSequenceId\x12=.t2iapi.device.InsertContainmentTreeEntryForSequenceIdRequest\x1a>.t2iapi.device.InsertContainmentTreeEntryForSequenceIdResponse\x12_\n*InsertContainmentTreeEntryWithStaticHandle\x12\x1a.t2iapi.BasicHandleRequest\x1a\x15.t2iapi.BasicResponse\x12I\n\x18ShutDownAndRestartDevice\x12\x16.google.protobuf.Empty\x1a\x15.t2iapi.BasicResponse\x12I\n\x18ProvideExtensionElements\x12\x16.google.protobuf.Empty\x1a\x15.t2iapi.BasicResponseB5\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=2615
31
+ _globals['_DEVICESERVICE']._serialized_end=2690
32
32
  # @@protoc_insertion_point(module_scope)
@@ -145,6 +145,11 @@ class DeviceServiceStub(object):
145
145
  request_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
146
146
  response_deserializer=t2iapi_dot_basic__responses__pb2.BasicResponse.FromString,
147
147
  )
148
+ self.ProvideExtensionElements = channel.unary_unary(
149
+ '/t2iapi.device.DeviceService/ProvideExtensionElements',
150
+ request_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
151
+ response_deserializer=t2iapi_dot_basic__responses__pb2.BasicResponse.FromString,
152
+ )
148
153
 
149
154
 
150
155
  class DeviceServiceServicer(object):
@@ -451,6 +456,16 @@ class DeviceServiceServicer(object):
451
456
  context.set_details('Method not implemented!')
452
457
  raise NotImplementedError('Method not implemented!')
453
458
 
459
+ def ProvideExtensionElements(self, request, context):
460
+ """
461
+ Provide all possible EXTENSION(s) with @ext:MustUnderstand = true
462
+ (as defined in IEEE Std 11073‐10700‐2022 and in IEEE Std 11073-10207-2017).
463
+ It is allowed to provide the EXTENSION(s) sequentially.
464
+ """
465
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
466
+ context.set_details('Method not implemented!')
467
+ raise NotImplementedError('Method not implemented!')
468
+
454
469
 
455
470
  def add_DeviceServiceServicer_to_server(servicer, server):
456
471
  rpc_method_handlers = {
@@ -579,6 +594,11 @@ def add_DeviceServiceServicer_to_server(servicer, server):
579
594
  request_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
580
595
  response_serializer=t2iapi_dot_basic__responses__pb2.BasicResponse.SerializeToString,
581
596
  ),
597
+ 'ProvideExtensionElements': grpc.unary_unary_rpc_method_handler(
598
+ servicer.ProvideExtensionElements,
599
+ request_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
600
+ response_serializer=t2iapi_dot_basic__responses__pb2.BasicResponse.SerializeToString,
601
+ ),
582
602
  }
583
603
  generic_handler = grpc.method_handlers_generic_handler(
584
604
  't2iapi.device.DeviceService', rpc_method_handlers)
@@ -1015,3 +1035,20 @@ class DeviceService(object):
1015
1035
  t2iapi_dot_basic__responses__pb2.BasicResponse.FromString,
1016
1036
  options, channel_credentials,
1017
1037
  insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
1038
+
1039
+ @staticmethod
1040
+ def ProvideExtensionElements(request,
1041
+ target,
1042
+ options=(),
1043
+ channel_credentials=None,
1044
+ call_credentials=None,
1045
+ insecure=False,
1046
+ compression=None,
1047
+ wait_for_ready=None,
1048
+ timeout=None,
1049
+ metadata=None):
1050
+ return grpc.experimental.unary_unary(request, target, '/t2iapi.device.DeviceService/ProvideExtensionElements',
1051
+ google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
1052
+ t2iapi_dot_basic__responses__pb2.BasicResponse.FromString,
1053
+ options, channel_credentials,
1054
+ 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.dev503
3
+ Version: 4.2.0.dev506
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
@@ -81,9 +81,9 @@ t2iapi/device/device_requests_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD
81
81
  t2iapi/device/device_responses_pb2.py,sha256=v3kNBU9uzT6a4X2SgTjJDor1cc580TS9dQWVOoG4vDE,3876
82
82
  t2iapi/device/device_responses_pb2.pyi,sha256=7LLFRZNu2DhfgPZXM7Y2Q39S7HdBp54cqxG-50k2uAU,4016
83
83
  t2iapi/device/device_responses_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
84
- t2iapi/device/service_pb2.py,sha256=rdcwb2FYLk6D3cpl_sWzv9fQ1ZxtlSKJYF5y2QrlOMg,4659
84
+ t2iapi/device/service_pb2.py,sha256=_TvyhL8J9MNyZHr_6t7OmdeTkYh0k32WgjQ-PQk0aRQ,4753
85
85
  t2iapi/device/service_pb2.pyi,sha256=X09RG7V_2JjDB4Gv1sMdROcl-vwJhS0Z3OpEqY2A0TA,453
86
- t2iapi/device/service_pb2_grpc.py,sha256=tYQEXhjz3UwfgFJV4aRjKtJ0fGm8EiJhOi0PUgt_F50,54698
86
+ t2iapi/device/service_pb2_grpc.py,sha256=uZuzJDlH3Sr2UnisOQnmJ7lO9d3RqlIlZusIqTDyFao,56585
87
87
  t2iapi/device/types_pb2.py,sha256=j8HfZJf1teqA0oY8UICkWg_C_mMfIVXjoT5AzeyUuzE,3321
88
88
  t2iapi/device/types_pb2.pyi,sha256=Cy6c3d2HXACCIo7n2Grab_8j6JHB_toKid8WNTxlxWY,3962
89
89
  t2iapi/device/types_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
@@ -114,9 +114,9 @@ t2iapi/operation/service_pb2_grpc.py,sha256=yPxuVXTxpVy5wSGVmsIkj_kfeHHm-AJ_4sgu
114
114
  t2iapi/operation/types_pb2.py,sha256=pdM7ob1_SBFZ6ndx0MPkCo6AdV_pZKtDwFiWBBtT6r4,1374
115
115
  t2iapi/operation/types_pb2.pyi,sha256=DplrhCrEW7nHBLLOWlNeka5FzX2gFPv1QGNHyT0tvRM,591
116
116
  t2iapi/operation/types_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
117
- t2iapi-4.2.0.dev503.dist-info/LICENSE,sha256=8ZnuIeCzXNlN6lfSNcmIr6gDfOtFoZ9TKDlf2AAfYdQ,1086
118
- t2iapi-4.2.0.dev503.dist-info/METADATA,sha256=vZ8sylcFAh-xHnFNRwmYtum3eMd3JpzY2-eaZQc03Rw,835
119
- t2iapi-4.2.0.dev503.dist-info/WHEEL,sha256=ewwEueio1C2XeHTvT17n8dZUJgOvyCWCt0WVNLClP9o,92
120
- t2iapi-4.2.0.dev503.dist-info/top_level.txt,sha256=c0UvkS5osT7vNcji3Ic5KzEpauWa_lqRAB66A0tqA1w,7
121
- t2iapi-4.2.0.dev503.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
122
- t2iapi-4.2.0.dev503.dist-info/RECORD,,
117
+ t2iapi-4.2.0.dev506.dist-info/LICENSE,sha256=8ZnuIeCzXNlN6lfSNcmIr6gDfOtFoZ9TKDlf2AAfYdQ,1086
118
+ t2iapi-4.2.0.dev506.dist-info/METADATA,sha256=nvSOKYpClc4VoRFSXxN5MQ3IrVj-QBRfcsFdjfeZNwM,835
119
+ t2iapi-4.2.0.dev506.dist-info/WHEEL,sha256=ewwEueio1C2XeHTvT17n8dZUJgOvyCWCt0WVNLClP9o,92
120
+ t2iapi-4.2.0.dev506.dist-info/top_level.txt,sha256=c0UvkS5osT7vNcji3Ic5KzEpauWa_lqRAB66A0tqA1w,7
121
+ t2iapi-4.2.0.dev506.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
122
+ t2iapi-4.2.0.dev506.dist-info/RECORD,,