t2iapi 4.2.0.dev450__py3-none-any.whl → 4.2.0.dev462__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.
@@ -18,7 +18,7 @@ from t2iapi import basic_requests_pb2 as t2iapi_dot_basic__requests__pb2
18
18
  from t2iapi import basic_responses_pb2 as t2iapi_dot_basic__responses__pb2
19
19
 
20
20
 
21
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dt2iapi/combined/service.proto\x12\x0ft2iapi.combined\x1a\'t2iapi/combined/combined_requests.proto\x1a&t2iapi/context/context_responses.proto\x1a\x1bt2iapi/basic_requests.proto\x1a\x1ct2iapi/basic_responses.proto2\xfa\x06\n\x0f\x43ombinedService\x12\xbf\x01\n4CreateContextStateWithAssociationAndSetOperatingMode\x12L.t2iapi.combined.CreateContextStateWithAssociationAndSetOperatingModeRequest\x1a\x39.t2iapi.context.CreateContextStateWithAssociationResponse\x12\x85\x01\n)SetComponentActivationAndSetOperatingMode\x12\x41.t2iapi.combined.SetComponentActivationAndSetOperatingModeRequest\x1a\x15.t2iapi.BasicResponse\x12}\n%SetAlertActivationAndSetOperatingMode\x12=.t2iapi.combined.SetAlertActivationAndSetOperatingModeRequest\x1a\x15.t2iapi.BasicResponse\x12}\n%SetModeOfOperationAndSetOperatingMode\x12=.t2iapi.combined.SetModeOfOperationAndSetOperatingModeRequest\x1a\x15.t2iapi.BasicResponse\x12\x9b\x01\n4SetSystemContextActivationStateAndContextAssociation\x12L.t2iapi.combined.SetSystemContextActivationStateAndContextAssociationRequest\x1a\x15.t2iapi.BasicResponse\x12\x80\x01\nKPhysicallyDisconnectRemovableSubsystemAfterSettingActivationStateOnOrStndBy\x12\x1a.t2iapi.BasicHandleRequest\x1a\x15.t2iapi.BasicResponseB9\n#com.draeger.medical.t2iapi.combinedB\x12\x43ombinedApiServiceb\x06proto3')
21
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dt2iapi/combined/service.proto\x12\x0ft2iapi.combined\x1a\'t2iapi/combined/combined_requests.proto\x1a&t2iapi/context/context_responses.proto\x1a\x1bt2iapi/basic_requests.proto\x1a\x1ct2iapi/basic_responses.proto2\xf5\x07\n\x0f\x43ombinedService\x12\xbf\x01\n4CreateContextStateWithAssociationAndSetOperatingMode\x12L.t2iapi.combined.CreateContextStateWithAssociationAndSetOperatingModeRequest\x1a\x39.t2iapi.context.CreateContextStateWithAssociationResponse\x12\x85\x01\n)SetComponentActivationAndSetOperatingMode\x12\x41.t2iapi.combined.SetComponentActivationAndSetOperatingModeRequest\x1a\x15.t2iapi.BasicResponse\x12}\n%SetAlertActivationAndSetOperatingMode\x12=.t2iapi.combined.SetAlertActivationAndSetOperatingModeRequest\x1a\x15.t2iapi.BasicResponse\x12}\n%SetModeOfOperationAndSetOperatingMode\x12=.t2iapi.combined.SetModeOfOperationAndSetOperatingModeRequest\x1a\x15.t2iapi.BasicResponse\x12\x9b\x01\n4SetSystemContextActivationStateAndContextAssociation\x12L.t2iapi.combined.SetSystemContextActivationStateAndContextAssociationRequest\x1a\x15.t2iapi.BasicResponse\x12\x80\x01\nKPhysicallyDisconnectRemovableSubsystemAfterSettingActivationStateOnOrStndBy\x12\x1a.t2iapi.BasicHandleRequest\x1a\x15.t2iapi.BasicResponse\x12y\nDPhysicallyDisconnectRemovableSubsystemAfterPhysicalConnectorProvided\x12\x1a.t2iapi.BasicHandleRequest\x1a\x15.t2iapi.BasicResponseB9\n#com.draeger.medical.t2iapi.combinedB\x12\x43ombinedApiServiceb\x06proto3')
22
22
 
23
23
  _globals = globals()
24
24
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -27,5 +27,5 @@ if _descriptor._USE_C_DESCRIPTORS == False:
27
27
  _globals['DESCRIPTOR']._options = None
28
28
  _globals['DESCRIPTOR']._serialized_options = b'\n#com.draeger.medical.t2iapi.combinedB\022CombinedApiService'
29
29
  _globals['_COMBINEDSERVICE']._serialized_start=191
30
- _globals['_COMBINEDSERVICE']._serialized_end=1081
30
+ _globals['_COMBINEDSERVICE']._serialized_end=1204
31
31
  # @@protoc_insertion_point(module_scope)
@@ -49,6 +49,11 @@ class CombinedServiceStub(object):
49
49
  request_serializer=t2iapi_dot_basic__requests__pb2.BasicHandleRequest.SerializeToString,
50
50
  response_deserializer=t2iapi_dot_basic__responses__pb2.BasicResponse.FromString,
51
51
  )
52
+ self.PhysicallyDisconnectRemovableSubsystemAfterPhysicalConnectorProvided = channel.unary_unary(
53
+ '/t2iapi.combined.CombinedService/PhysicallyDisconnectRemovableSubsystemAfterPhysicalConnectorProvided',
54
+ request_serializer=t2iapi_dot_basic__requests__pb2.BasicHandleRequest.SerializeToString,
55
+ response_deserializer=t2iapi_dot_basic__responses__pb2.BasicResponse.FromString,
56
+ )
52
57
 
53
58
 
54
59
  class CombinedServiceServicer(object):
@@ -136,6 +141,27 @@ class CombinedServiceServicer(object):
136
141
  context.set_details('Method not implemented!')
137
142
  raise NotImplementedError('Method not implemented!')
138
143
 
144
+ def PhysicallyDisconnectRemovableSubsystemAfterPhysicalConnectorProvided(self, request, context):
145
+ """
146
+ Request to provide a pm:AbstractDeviceComponentState/pm:PhysicalConnector element for the
147
+ pm:AbstractDeviceComponentState corresponding to the specified handle and then to
148
+ physically disconnect the removable subsystem being represented by the
149
+ corresponding pm:AbstractDeviceComponentDescriptor all while persisting the aforementioned pm:PhysicalConnector
150
+ except when it is necessary to change it due to the physical disconnection by means other than this manipulation.
151
+
152
+ The pm:PhysicalConnector as requested shall be persisted in all cases except (indirectly)
153
+ as a result of the physical disconnection.
154
+ Reasons other than the physical disconnection constitute a RESULT_NOT_SUPPORTED or RESULT_FAIL.
155
+ In case the pm:PhysicalConnector is not going to be persisted it shall not be a direct result of this manipulation,
156
+ i.e. this manipulation shall not directly change the pm:PhysicalConnector in a way not described here.
157
+
158
+ In case the pm:AbstractDeviceComponentDescriptor with the specified handle does not represent a removable subsystem
159
+ it shall return RESULT_NOT_SUPPORTED.
160
+ """
161
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
162
+ context.set_details('Method not implemented!')
163
+ raise NotImplementedError('Method not implemented!')
164
+
139
165
 
140
166
  def add_CombinedServiceServicer_to_server(servicer, server):
141
167
  rpc_method_handlers = {
@@ -169,6 +195,11 @@ def add_CombinedServiceServicer_to_server(servicer, server):
169
195
  request_deserializer=t2iapi_dot_basic__requests__pb2.BasicHandleRequest.FromString,
170
196
  response_serializer=t2iapi_dot_basic__responses__pb2.BasicResponse.SerializeToString,
171
197
  ),
198
+ 'PhysicallyDisconnectRemovableSubsystemAfterPhysicalConnectorProvided': grpc.unary_unary_rpc_method_handler(
199
+ servicer.PhysicallyDisconnectRemovableSubsystemAfterPhysicalConnectorProvided,
200
+ request_deserializer=t2iapi_dot_basic__requests__pb2.BasicHandleRequest.FromString,
201
+ response_serializer=t2iapi_dot_basic__responses__pb2.BasicResponse.SerializeToString,
202
+ ),
172
203
  }
173
204
  generic_handler = grpc.method_handlers_generic_handler(
174
205
  't2iapi.combined.CombinedService', rpc_method_handlers)
@@ -282,3 +313,20 @@ class CombinedService(object):
282
313
  t2iapi_dot_basic__responses__pb2.BasicResponse.FromString,
283
314
  options, channel_credentials,
284
315
  insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
316
+
317
+ @staticmethod
318
+ def PhysicallyDisconnectRemovableSubsystemAfterPhysicalConnectorProvided(request,
319
+ target,
320
+ options=(),
321
+ channel_credentials=None,
322
+ call_credentials=None,
323
+ insecure=False,
324
+ compression=None,
325
+ wait_for_ready=None,
326
+ timeout=None,
327
+ metadata=None):
328
+ return grpc.experimental.unary_unary(request, target, '/t2iapi.combined.CombinedService/PhysicallyDisconnectRemovableSubsystemAfterPhysicalConnectorProvided',
329
+ t2iapi_dot_basic__requests__pb2.BasicHandleRequest.SerializeToString,
330
+ t2iapi_dot_basic__responses__pb2.BasicResponse.FromString,
331
+ options, channel_credentials,
332
+ 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.dev450
3
+ Version: 4.2.0.dev462
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
@@ -53,9 +53,9 @@ t2iapi/combined/__init__.pyi,sha256=e6L498_aQ6SdthmzO_wKsxVSBGUM26CN2Xl54sAcEwo,
53
53
  t2iapi/combined/combined_requests_pb2.py,sha256=EflIcHll3kZYmDJT2pl6CmPu4rHbeUvXQXZa_ItjITo,4261
54
54
  t2iapi/combined/combined_requests_pb2.pyi,sha256=JRT6RmO-OYSYJ_nCN0UQ51uNSSyLPv-4FtjjEXrJ-t8,4925
55
55
  t2iapi/combined/combined_requests_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
56
- t2iapi/combined/service_pb2.py,sha256=8eOlvxdSaP91VI-dEMZcCiVTQoAevKs4RUzSkBBfXTo,2751
56
+ t2iapi/combined/service_pb2.py,sha256=NV7cbnZGEKJep3jVI8qRmiOXoZhraL8DSg9Fe5vv1sA,2890
57
57
  t2iapi/combined/service_pb2.pyi,sha256=81VzRt7VE5hR4ieA1coViKh1fjv-9cB6P4vxDgCN85I,410
58
- t2iapi/combined/service_pb2_grpc.py,sha256=hDKU50ykZ0BsmCZ4v-2Swvw2AHR2UFVuzT0pDIYB7JM,17009
58
+ t2iapi/combined/service_pb2_grpc.py,sha256=XtH8h07srmgCHoAu9FaSVaN4qvb6Zw4YMF8bo5Gziq0,20185
59
59
  t2iapi/context/__init__.py,sha256=yICa5h_fgNAUxTFqTH8kcDhu8X-Cn0yR2UAL1z8fN6o,149
60
60
  t2iapi/context/__init__.pyi,sha256=e6L498_aQ6SdthmzO_wKsxVSBGUM26CN2Xl54sAcEwo,149
61
61
  t2iapi/context/context_requests_pb2.py,sha256=IHHFaYjXggZybYF_H5Vq8pU7d1baE0WyTmliAguCxes,3992
@@ -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.dev450.dist-info/LICENSE,sha256=8ZnuIeCzXNlN6lfSNcmIr6gDfOtFoZ9TKDlf2AAfYdQ,1086
115
- t2iapi-4.2.0.dev450.dist-info/METADATA,sha256=hWQlAHltRr7192ZYXSRLtBx5AQUH3ZsLWNsruGPKteg,835
116
- t2iapi-4.2.0.dev450.dist-info/WHEEL,sha256=ewwEueio1C2XeHTvT17n8dZUJgOvyCWCt0WVNLClP9o,92
117
- t2iapi-4.2.0.dev450.dist-info/top_level.txt,sha256=c0UvkS5osT7vNcji3Ic5KzEpauWa_lqRAB66A0tqA1w,7
118
- t2iapi-4.2.0.dev450.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
119
- t2iapi-4.2.0.dev450.dist-info/RECORD,,
114
+ t2iapi-4.2.0.dev462.dist-info/LICENSE,sha256=8ZnuIeCzXNlN6lfSNcmIr6gDfOtFoZ9TKDlf2AAfYdQ,1086
115
+ t2iapi-4.2.0.dev462.dist-info/METADATA,sha256=QBE_jFKmkcsOySDfXzgzR4jACWKsRthivAnRReJqzMI,835
116
+ t2iapi-4.2.0.dev462.dist-info/WHEEL,sha256=ewwEueio1C2XeHTvT17n8dZUJgOvyCWCt0WVNLClP9o,92
117
+ t2iapi-4.2.0.dev462.dist-info/top_level.txt,sha256=c0UvkS5osT7vNcji3Ic5KzEpauWa_lqRAB66A0tqA1w,7
118
+ t2iapi-4.2.0.dev462.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
119
+ t2iapi-4.2.0.dev462.dist-info/RECORD,,