t2iapi 3.0.0.dev290__py3-none-any.whl → 3.0.0.dev300__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.
@@ -14,7 +14,7 @@ _sym_db = _symbol_database.Default()
14
14
  from t2iapi.device import types_pb2 as t2iapi_dot_device_dot_types__pb2
15
15
 
16
16
 
17
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#t2iapi/device/device_requests.proto\x12\rt2iapi.device\x1a\x19t2iapi/device/types.proto\"A\n\x14TriggerReportRequest\x12)\n\x06report\x18\x01 \x01(\x0e\x32\x19.t2iapi.device.ReportType\"N\n\x1dSetDeviceOperatingModeRequest\x12-\n\x04mode\x18\x01 \x01(\x0e\x32\x1f.t2iapi.device.MdsOperatingMode\"&\n\x12SetLanguageRequest\x12\x10\n\x08language\x18\x01 \x01(\t\"a\n%GetRemovableDescriptorsOfClassRequest\x12\x38\n\x10\x64\x65scriptor_class\x18\x01 \x01(\x0e\x32\x1e.t2iapi.device.DescriptorClass\"5\n\x16SetBatteryUsageRequest\x12\x0e\n\x06handle\x18\x01 \x01(\t\x12\x0b\n\x03use\x18\x02 \x01(\x08\x42\x33\n!com.draeger.medical.t2iapi.deviceB\x0e\x44\x65viceRequestsb\x06proto3')
17
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#t2iapi/device/device_requests.proto\x12\rt2iapi.device\x1a\x19t2iapi/device/types.proto\"A\n\x14TriggerReportRequest\x12)\n\x06report\x18\x01 \x01(\x0e\x32\x19.t2iapi.device.ReportType\"N\n\x1dSetDeviceOperatingModeRequest\x12-\n\x04mode\x18\x01 \x01(\x0e\x32\x1f.t2iapi.device.MdsOperatingMode\"&\n\x12SetLanguageRequest\x12\x10\n\x08language\x18\x01 \x01(\t\"a\n%GetRemovableDescriptorsOfClassRequest\x12\x38\n\x10\x64\x65scriptor_class\x18\x01 \x01(\x0e\x32\x1e.t2iapi.device.DescriptorClass\"5\n\x16SetBatteryUsageRequest\x12\x0e\n\x06handle\x18\x01 \x01(\t\x12\x0b\n\x03use\x18\x02 \x01(\x08\"0\n\x1eTriggerDescriptorUpdateRequest\x12\x0e\n\x06handle\x18\x01 \x03(\tB3\n!com.draeger.medical.t2iapi.deviceB\x0e\x44\x65viceRequestsb\x06proto3')
18
18
 
19
19
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
20
20
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 't2iapi.device.device_requests_pb2', globals())
@@ -32,4 +32,6 @@ if _descriptor._USE_C_DESCRIPTORS == False:
32
32
  _GETREMOVABLEDESCRIPTORSOFCLASSREQUEST._serialized_end=365
33
33
  _SETBATTERYUSAGEREQUEST._serialized_start=367
34
34
  _SETBATTERYUSAGEREQUEST._serialized_end=420
35
+ _TRIGGERDESCRIPTORUPDATEREQUEST._serialized_start=422
36
+ _TRIGGERDESCRIPTORUPDATEREQUEST._serialized_end=470
35
37
  # @@protoc_insertion_point(module_scope)
@@ -1,7 +1,8 @@
1
1
  from t2iapi.device import types_pb2 as _types_pb2
2
+ from google.protobuf.internal import containers as _containers
2
3
  from google.protobuf import descriptor as _descriptor
3
4
  from google.protobuf import message as _message
4
- from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
5
+ from typing import ClassVar as _ClassVar, Iterable as _Iterable, Optional as _Optional, Union as _Union
5
6
 
6
7
  DESCRIPTOR: _descriptor.FileDescriptor
7
8
 
@@ -31,6 +32,12 @@ class SetLanguageRequest(_message.Message):
31
32
  language: str
32
33
  def __init__(self, language: _Optional[str] = ...) -> None: ...
33
34
 
35
+ class TriggerDescriptorUpdateRequest(_message.Message):
36
+ __slots__ = ["handle"]
37
+ HANDLE_FIELD_NUMBER: _ClassVar[int]
38
+ handle: _containers.RepeatedScalarFieldContainer[str]
39
+ def __init__(self, handle: _Optional[_Iterable[str]] = ...) -> None: ...
40
+
34
41
  class TriggerReportRequest(_message.Message):
35
42
  __slots__ = ["report"]
36
43
  REPORT_FIELD_NUMBER: _ClassVar[int]
@@ -18,7 +18,7 @@ from t2iapi.device import device_requests_pb2 as t2iapi_dot_device_dot_device__r
18
18
  from t2iapi.device import device_responses_pb2 as t2iapi_dot_device_dot_device__responses__pb2
19
19
 
20
20
 
21
- 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\xa9\x08\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\x12L\n\x17TriggerDescriptorUpdate\x12\x1a.t2iapi.BasicHandleRequest\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.BasicResponseB5\n!com.draeger.medical.t2iapi.deviceB\x10\x44\x65viceApiServiceb\x06proto3')
21
+ 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\xbc\x08\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.BasicResponseB5\n!com.draeger.medical.t2iapi.deviceB\x10\x44\x65viceApiServiceb\x06proto3')
22
22
 
23
23
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
24
24
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 't2iapi.device.service_pb2', globals())
@@ -27,5 +27,5 @@ if _descriptor._USE_C_DESCRIPTORS == False:
27
27
  DESCRIPTOR._options = None
28
28
  DESCRIPTOR._serialized_options = b'\n!com.draeger.medical.t2iapi.deviceB\020DeviceApiService'
29
29
  _DEVICESERVICE._serialized_start=210
30
- _DEVICESERVICE._serialized_end=1275
30
+ _DEVICESERVICE._serialized_end=1294
31
31
  # @@protoc_insertion_point(module_scope)
@@ -67,7 +67,7 @@ class DeviceServiceStub(object):
67
67
  )
68
68
  self.TriggerDescriptorUpdate = channel.unary_unary(
69
69
  '/t2iapi.device.DeviceService/TriggerDescriptorUpdate',
70
- request_serializer=t2iapi_dot_basic__requests__pb2.BasicHandleRequest.SerializeToString,
70
+ request_serializer=t2iapi_dot_device_dot_device__requests__pb2.TriggerDescriptorUpdateRequest.SerializeToString,
71
71
  response_deserializer=t2iapi_dot_basic__responses__pb2.BasicResponse.FromString,
72
72
  )
73
73
  self.TriggerAnyDescriptorUpdate = channel.unary_unary(
@@ -183,9 +183,14 @@ class DeviceServiceServicer(object):
183
183
 
184
184
  def TriggerDescriptorUpdate(self, request, context):
185
185
  """
186
- Trigger a descriptor update for the provided handle.
187
- This manipulation of the device shall result in a msg:DescriptionModificationReport message with a report part with
188
- modification type upt.
186
+ Trigger a DescriptionManipulationReport that fulfills the following:
187
+
188
+ For each given handle there exists an "Upt"-ReportPart that contains an updated descriptor, whose @DescriptorHandle
189
+ is equal to the given handle, and that is contained in the DescriptionModificationReport.
190
+
191
+ ---
192
+
193
+ Note that when no handle is given, every DescriptionModificationReport fulfills the request.
189
194
  """
190
195
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
191
196
  context.set_details('Method not implemented!')
@@ -272,7 +277,7 @@ def add_DeviceServiceServicer_to_server(servicer, server):
272
277
  ),
273
278
  'TriggerDescriptorUpdate': grpc.unary_unary_rpc_method_handler(
274
279
  servicer.TriggerDescriptorUpdate,
275
- request_deserializer=t2iapi_dot_basic__requests__pb2.BasicHandleRequest.FromString,
280
+ request_deserializer=t2iapi_dot_device_dot_device__requests__pb2.TriggerDescriptorUpdateRequest.FromString,
276
281
  response_serializer=t2iapi_dot_basic__responses__pb2.BasicResponse.SerializeToString,
277
282
  ),
278
283
  'TriggerAnyDescriptorUpdate': grpc.unary_unary_rpc_method_handler(
@@ -467,7 +472,7 @@ class DeviceService(object):
467
472
  timeout=None,
468
473
  metadata=None):
469
474
  return grpc.experimental.unary_unary(request, target, '/t2iapi.device.DeviceService/TriggerDescriptorUpdate',
470
- t2iapi_dot_basic__requests__pb2.BasicHandleRequest.SerializeToString,
475
+ t2iapi_dot_device_dot_device__requests__pb2.TriggerDescriptorUpdateRequest.SerializeToString,
471
476
  t2iapi_dot_basic__responses__pb2.BasicResponse.FromString,
472
477
  options, channel_credentials,
473
478
  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: 3.0.0.dev290
3
+ Version: 3.0.0.dev300
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
@@ -55,15 +55,15 @@ t2iapi/context/types_pb2.pyi,sha256=3HaEjGQWQuoZEGHXhsu1a8ZdHdL7cnwXFv08zD7GWBQ,
55
55
  t2iapi/context/types_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
56
56
  t2iapi/device/__init__.py,sha256=yICa5h_fgNAUxTFqTH8kcDhu8X-Cn0yR2UAL1z8fN6o,149
57
57
  t2iapi/device/__init__.pyi,sha256=e6L498_aQ6SdthmzO_wKsxVSBGUM26CN2Xl54sAcEwo,149
58
- t2iapi/device/device_requests_pb2.py,sha256=tzd4m5Tzg5L7RFX_5Lm8ynllHp13Uf3drIxVwFVYEc8,2172
59
- t2iapi/device/device_requests_pb2.pyi,sha256=zawjNapTtht_-cQNM7pjDWPmp3832fX9la3dS5yu5to,1563
58
+ t2iapi/device/device_requests_pb2.py,sha256=wNd_a52DST-1DezeyMor27GkQ1Pp_TzXbvOPGh15E7s,2351
59
+ t2iapi/device/device_requests_pb2.pyi,sha256=Ol6QPApuIR1CJEPaZsSjynsx85ERYs_hoL5KZxwD7qE,1908
60
60
  t2iapi/device/device_requests_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
61
61
  t2iapi/device/device_responses_pb2.py,sha256=F14fbfA8pT9zNNs9rlmPmTtff6MHhrnwIYcd0r6w59Q,1658
62
62
  t2iapi/device/device_responses_pb2.pyi,sha256=4-WhJHsO4Qncp1FuB7_n4_hmIsg-N7sbmoI00SDat_M,1208
63
63
  t2iapi/device/device_responses_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
64
- t2iapi/device/service_pb2.py,sha256=X7CRtef27hAaKDdkU78eU21jYJcgKL7gYNYkWPteco8,3023
64
+ t2iapi/device/service_pb2.py,sha256=mMwtFD2rB630kC7wINnMJuRRV5uIwSjddIYCA-FvJro,3039
65
65
  t2iapi/device/service_pb2.pyi,sha256=X09RG7V_2JjDB4Gv1sMdROcl-vwJhS0Z3OpEqY2A0TA,453
66
- t2iapi/device/service_pb2_grpc.py,sha256=EwV08B6xPy215Ftxp3eXSFYVaPXrbL58B2XIBhF4yik,25946
66
+ t2iapi/device/service_pb2_grpc.py,sha256=A30gacVKsMThLKYT43m-aHfxXRKXDh88N_8_bZmDHlo,26217
67
67
  t2iapi/device/types_pb2.py,sha256=0zOYyTXuX3_rmdtreQmsOLXPbmgk3uaXNYmxe8BXNPg,2745
68
68
  t2iapi/device/types_pb2.pyi,sha256=egIZfheQfc4x2RH1P7oi6HFOxEhf9IxtjL2W_Y7QoBI,2001
69
69
  t2iapi/device/types_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
@@ -94,9 +94,9 @@ t2iapi/operation/service_pb2_grpc.py,sha256=R_hyAtZHx1x8LkLLCufSrFhLLzHM4QGTuSl5
94
94
  t2iapi/operation/types_pb2.py,sha256=rtqtnpN9ces6QHiv-0HcBTR2Dtz9EOYk4IAJZpmmcfY,1274
95
95
  t2iapi/operation/types_pb2.pyi,sha256=YCXpIADZef4M66EI0R3H2vAaLeVqLwqw9AEdHTBC17A,425
96
96
  t2iapi/operation/types_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
97
- t2iapi-3.0.0.dev290.dist-info/LICENSE,sha256=Rlfvr2wrixcK2uXU1Juqg9F7Ol0FiBJCZxtip4175XQ,1081
98
- t2iapi-3.0.0.dev290.dist-info/METADATA,sha256=mdgUttog5a1rZcAeXkZRp_dHlH0M9RzfAY19OGn7-cM,835
99
- t2iapi-3.0.0.dev290.dist-info/WHEEL,sha256=ewwEueio1C2XeHTvT17n8dZUJgOvyCWCt0WVNLClP9o,92
100
- t2iapi-3.0.0.dev290.dist-info/top_level.txt,sha256=c0UvkS5osT7vNcji3Ic5KzEpauWa_lqRAB66A0tqA1w,7
101
- t2iapi-3.0.0.dev290.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
102
- t2iapi-3.0.0.dev290.dist-info/RECORD,,
97
+ t2iapi-3.0.0.dev300.dist-info/LICENSE,sha256=Rlfvr2wrixcK2uXU1Juqg9F7Ol0FiBJCZxtip4175XQ,1081
98
+ t2iapi-3.0.0.dev300.dist-info/METADATA,sha256=DcfPFMr4sZlRM74jaNJYphS_s0a22TAPCYNDVvr2YBw,835
99
+ t2iapi-3.0.0.dev300.dist-info/WHEEL,sha256=ewwEueio1C2XeHTvT17n8dZUJgOvyCWCt0WVNLClP9o,92
100
+ t2iapi-3.0.0.dev300.dist-info/top_level.txt,sha256=c0UvkS5osT7vNcji3Ic5KzEpauWa_lqRAB66A0tqA1w,7
101
+ t2iapi-3.0.0.dev300.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
102
+ t2iapi-3.0.0.dev300.dist-info/RECORD,,