t2iapi 4.4.0.dev575__py3-none-any.whl → 4.4.0.dev581__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.context import context_requests_pb2 as t2iapi_dot_context_dot_contex
19
19
  from t2iapi.context import context_responses_pb2 as t2iapi_dot_context_dot_context__responses__pb2
20
20
 
21
21
 
22
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1ct2iapi/context/service.proto\x12\x0et2iapi.context\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1bt2iapi/basic_requests.proto\x1a\x1ct2iapi/basic_responses.proto\x1a%t2iapi/context/context_requests.proto\x1a&t2iapi/context/context_responses.proto2\xa4\x15\n\x0e\x43ontextService\x12T\n\x11SetLocationDetail\x12(.t2iapi.context.SetLocationDetailRequest\x1a\x15.t2iapi.BasicResponse\x12\x66\n\x1aSetContextStateAssociation\x12\x31.t2iapi.context.SetContextStateAssociationRequest\x1a\x15.t2iapi.BasicResponse\x12\x98\x01\n!CreateContextStateWithAssociation\x12\x38.t2iapi.context.CreateContextStateWithAssociationRequest\x1a\x39.t2iapi.context.CreateContextStateWithAssociationResponse\x12\xb2\x01\n.CreateContextStateWithAssociationAndValidators\x12\x45.t2iapi.context.CreateContextStateWithAssociationAndValidatorsRequest\x1a\x39.t2iapi.context.CreateContextStateWithAssociationResponse\x12\x88\x01\n5CreateContextStateWithAssocIdentificationAndValidator\x12\x38.t2iapi.context.CreateContextStateWithAssociationRequest\x1a\x15.t2iapi.BasicResponse\x12\x9a\x01\nATransitionFromCreateStateWithIdentificationToRemoveIdentification\x12\x1a.t2iapi.BasicHandleRequest\x1a\x39.t2iapi.context.CreateContextStateWithAssociationResponse\x12\x9a\x01\nATransitionFromCreateStateWithIdentificationToChangeIdentification\x12\x1a.t2iapi.BasicHandleRequest\x1a\x39.t2iapi.context.CreateContextStateWithAssociationResponse\x12\xb4\x01\n/CreateContextStateWithAssocAndSpecificValidator\x12\x46.t2iapi.context.CreateContextStateWithAssocAndSpecificValidatorRequest\x1a\x39.t2iapi.context.CreateContextStateWithAssociationResponse\x12\xb6\x01\n0CreateContextStateWithAssocAndBindingMdibVersion\x12G.t2iapi.context.CreateContextStateWithAssocAndBindingMdibVersionRequest\x1a\x39.t2iapi.context.CreateContextStateWithAssociationResponse\x12\xba\x01\n2CreateContextStateWithAssocAndUnbindingMdibVersion\x12I.t2iapi.context.CreateContextStateWithAssocAndUnbindingMdibVersionRequest\x1a\x39.t2iapi.context.CreateContextStateWithAssociationResponse\x12\xb3\x01\n<CreateNeonatalPatientWithAssociationAndMothersIdentification\x12\x38.t2iapi.context.CreateContextStateWithAssociationRequest\x1a\x39.t2iapi.context.CreateContextStateWithAssociationResponse\x12R\n\x10\x41ssociatePatient\x12\'.t2iapi.context.AssociatePatientRequest\x1a\x15.t2iapi.BasicResponse\x12V\n!EnsembleContextIndicateMembership\x12\x1a.t2iapi.BasicHandleRequest\x1a\x15.t2iapi.BasicResponse\x12\x9e\x01\n3EnsembleContextIndicateMembershipWithIdentification\x12\x1a.t2iapi.BasicHandleRequest\x1aK.t2iapi.context.EnsembleContextIndicateMembershipWithIdentificationResponse\x12T\n\x0eGetEnsembleIds\x12\x1a.t2iapi.BasicHandleRequest\x1a&.t2iapi.context.GetEnsembleIdsResponse\x12\x8f\x01\n(IndicateMembershipInEnsembleByEnsembleId\x12!.t2iapi.context.EnsembleIdRequest\x1a@.t2iapi.context.IndicateMembershipInEnsembleByEnsembleIdResponse\x12_\n#EndMembershipInEnsembleByEnsembleId\x12!.t2iapi.context.EnsembleIdRequest\x1a\x15.t2iapi.BasicResponse\x12\x7f\n*AssociatePatientWithAutoGeneratedPatientId\x12\x16.google.protobuf.Empty\x1a\x39.t2iapi.context.CreateContextStateWithAssociationResponse\x12\x62\n-TemporarilyAssociateLocationWithNewIdentifier\x12\x1a.t2iapi.BasicHandleRequest\x1a\x15.t2iapi.BasicResponse\x12\x61\n,TemporarilyAssociatePatientWithNewIdentifier\x12\x1a.t2iapi.BasicHandleRequest\x1a\x15.t2iapi.BasicResponseB7\n\"com.draeger.medical.t2iapi.contextB\x11\x43ontextApiServiceb\x06proto3')
22
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1ct2iapi/context/service.proto\x12\x0et2iapi.context\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1bt2iapi/basic_requests.proto\x1a\x1ct2iapi/basic_responses.proto\x1a%t2iapi/context/context_requests.proto\x1a&t2iapi/context/context_responses.proto2\xc2\x16\n\x0e\x43ontextService\x12T\n\x11SetLocationDetail\x12(.t2iapi.context.SetLocationDetailRequest\x1a\x15.t2iapi.BasicResponse\x12\x66\n\x1aSetContextStateAssociation\x12\x31.t2iapi.context.SetContextStateAssociationRequest\x1a\x15.t2iapi.BasicResponse\x12\x98\x01\n!CreateContextStateWithAssociation\x12\x38.t2iapi.context.CreateContextStateWithAssociationRequest\x1a\x39.t2iapi.context.CreateContextStateWithAssociationResponse\x12\x9b\x01\n$CreateNewContextStateWithAssociation\x12\x38.t2iapi.context.CreateContextStateWithAssociationRequest\x1a\x39.t2iapi.context.CreateContextStateWithAssociationResponse\x12\xb2\x01\n.CreateContextStateWithAssociationAndValidators\x12\x45.t2iapi.context.CreateContextStateWithAssociationAndValidatorsRequest\x1a\x39.t2iapi.context.CreateContextStateWithAssociationResponse\x12\x88\x01\n5CreateContextStateWithAssocIdentificationAndValidator\x12\x38.t2iapi.context.CreateContextStateWithAssociationRequest\x1a\x15.t2iapi.BasicResponse\x12\x9a\x01\nATransitionFromCreateStateWithIdentificationToRemoveIdentification\x12\x1a.t2iapi.BasicHandleRequest\x1a\x39.t2iapi.context.CreateContextStateWithAssociationResponse\x12\x9a\x01\nATransitionFromCreateStateWithIdentificationToChangeIdentification\x12\x1a.t2iapi.BasicHandleRequest\x1a\x39.t2iapi.context.CreateContextStateWithAssociationResponse\x12\xb4\x01\n/CreateContextStateWithAssocAndSpecificValidator\x12\x46.t2iapi.context.CreateContextStateWithAssocAndSpecificValidatorRequest\x1a\x39.t2iapi.context.CreateContextStateWithAssociationResponse\x12\xb6\x01\n0CreateContextStateWithAssocAndBindingMdibVersion\x12G.t2iapi.context.CreateContextStateWithAssocAndBindingMdibVersionRequest\x1a\x39.t2iapi.context.CreateContextStateWithAssociationResponse\x12\xba\x01\n2CreateContextStateWithAssocAndUnbindingMdibVersion\x12I.t2iapi.context.CreateContextStateWithAssocAndUnbindingMdibVersionRequest\x1a\x39.t2iapi.context.CreateContextStateWithAssociationResponse\x12\xb3\x01\n<CreateNeonatalPatientWithAssociationAndMothersIdentification\x12\x38.t2iapi.context.CreateContextStateWithAssociationRequest\x1a\x39.t2iapi.context.CreateContextStateWithAssociationResponse\x12R\n\x10\x41ssociatePatient\x12\'.t2iapi.context.AssociatePatientRequest\x1a\x15.t2iapi.BasicResponse\x12V\n!EnsembleContextIndicateMembership\x12\x1a.t2iapi.BasicHandleRequest\x1a\x15.t2iapi.BasicResponse\x12\x9e\x01\n3EnsembleContextIndicateMembershipWithIdentification\x12\x1a.t2iapi.BasicHandleRequest\x1aK.t2iapi.context.EnsembleContextIndicateMembershipWithIdentificationResponse\x12T\n\x0eGetEnsembleIds\x12\x1a.t2iapi.BasicHandleRequest\x1a&.t2iapi.context.GetEnsembleIdsResponse\x12\x8f\x01\n(IndicateMembershipInEnsembleByEnsembleId\x12!.t2iapi.context.EnsembleIdRequest\x1a@.t2iapi.context.IndicateMembershipInEnsembleByEnsembleIdResponse\x12_\n#EndMembershipInEnsembleByEnsembleId\x12!.t2iapi.context.EnsembleIdRequest\x1a\x15.t2iapi.BasicResponse\x12\x7f\n*AssociatePatientWithAutoGeneratedPatientId\x12\x16.google.protobuf.Empty\x1a\x39.t2iapi.context.CreateContextStateWithAssociationResponse\x12\x62\n-TemporarilyAssociateLocationWithNewIdentifier\x12\x1a.t2iapi.BasicHandleRequest\x1a\x15.t2iapi.BasicResponse\x12\x61\n,TemporarilyAssociatePatientWithNewIdentifier\x12\x1a.t2iapi.BasicHandleRequest\x1a\x15.t2iapi.BasicResponseB7\n\"com.draeger.medical.t2iapi.contextB\x11\x43ontextApiServiceb\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.contextB\021ContextApiService'
30
30
  _globals['_CONTEXTSERVICE']._serialized_start=216
31
- _globals['_CONTEXTSERVICE']._serialized_end=2940
31
+ _globals['_CONTEXTSERVICE']._serialized_end=3098
32
32
  # @@protoc_insertion_point(module_scope)
@@ -35,6 +35,11 @@ class ContextServiceStub(object):
35
35
  request_serializer=t2iapi_dot_context_dot_context__requests__pb2.CreateContextStateWithAssociationRequest.SerializeToString,
36
36
  response_deserializer=t2iapi_dot_context_dot_context__responses__pb2.CreateContextStateWithAssociationResponse.FromString,
37
37
  )
38
+ self.CreateNewContextStateWithAssociation = channel.unary_unary(
39
+ '/t2iapi.context.ContextService/CreateNewContextStateWithAssociation',
40
+ request_serializer=t2iapi_dot_context_dot_context__requests__pb2.CreateContextStateWithAssociationRequest.SerializeToString,
41
+ response_deserializer=t2iapi_dot_context_dot_context__responses__pb2.CreateContextStateWithAssociationResponse.FromString,
42
+ )
38
43
  self.CreateContextStateWithAssociationAndValidators = channel.unary_unary(
39
44
  '/t2iapi.context.ContextService/CreateContextStateWithAssociationAndValidators',
40
45
  request_serializer=t2iapi_dot_context_dot_context__requests__pb2.CreateContextStateWithAssociationAndValidatorsRequest.SerializeToString,
@@ -142,7 +147,7 @@ class ContextServiceServicer(object):
142
147
 
143
148
  def SetContextStateAssociation(self, request, context):
144
149
  """
145
- Set the ContextAssociation of the target ContextState to the given value.
150
+ Set the @ContextAssociation of the target pm:AbstractContextState to the given value.
146
151
  The manipulated state shall be persistent until a next manipulation call. If the device is not able to maintain
147
152
  the static state, it shall return RESULT_NOT_SUPPORTED.
148
153
  """
@@ -152,7 +157,17 @@ class ContextServiceServicer(object):
152
157
 
153
158
  def CreateContextStateWithAssociation(self, request, context):
154
159
  """
155
- Create or adapt a ContextState instance with the given ContextAssociation value for the given descriptor handle.
160
+ Create or adapt a pm:AbstractContextState instance with the given @ContextAssociation value for the given descriptor
161
+ handle. The manipulated state shall be persistent until a next manipulation call. If the device is not able to
162
+ maintain the static state, it shall return RESULT_NOT_SUPPORTED.
163
+ """
164
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
165
+ context.set_details('Method not implemented!')
166
+ raise NotImplementedError('Method not implemented!')
167
+
168
+ def CreateNewContextStateWithAssociation(self, request, context):
169
+ """
170
+ Create a pm:AbstractContextState instance with the given @ContextAssociation value for the given descriptor handle.
156
171
  The manipulated state shall be persistent until a next manipulation call. If the device is not able to maintain
157
172
  the static state, it shall return RESULT_NOT_SUPPORTED.
158
173
  """
@@ -162,8 +177,8 @@ class ContextServiceServicer(object):
162
177
 
163
178
  def CreateContextStateWithAssociationAndValidators(self, request, context):
164
179
  """
165
- Create or adapt a pm:AbstractContextState instance with the given @ContextAssociation value for the given descriptor handle
166
- and provide at least the number of pm:Validator elements for this ContextState.
180
+ Create or adapt a pm:AbstractContextState instance with the given @ContextAssociation value for the given descriptor
181
+ handle and provide at least the number of pm:Validator elements for this pm:AbstractContextState.
167
182
  If the number of pm:Validator elements is zero, zero pm:Validator elements shall be provided.
168
183
  """
169
184
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
@@ -172,8 +187,8 @@ class ContextServiceServicer(object):
172
187
 
173
188
  def CreateContextStateWithAssocIdentificationAndValidator(self, request, context):
174
189
  """
175
- Create or adapt a ContextState instance with the given ContextAssociation value for the given descriptor handle
176
- and provide at least one Identification and Validator for this ContextState.
190
+ Create or adapt a pm:AbstractContextState instance with the given @ContextAssociation value for the given descriptor
191
+ handle and provide at least one Identification and Validator for this pm:AbstractContextState.
177
192
  The manipulated state shall be persistent until a next manipulation call. If the device is not able to maintain
178
193
  the static state, it shall return RESULT_NOT_SUPPORTED.
179
194
  """
@@ -205,8 +220,8 @@ class ContextServiceServicer(object):
205
220
 
206
221
  def CreateContextStateWithAssocAndSpecificValidator(self, request, context):
207
222
  """
208
- Create or adapt a ContextState instance with the given ContextAssociation value for the given descriptor handle,
209
- confirm by requested validator type.
223
+ Create or adapt a pm:AbstractContextState instance with the given @ContextAssociation value for the given descriptor
224
+ handle, confirm by requested validator type.
210
225
  The manipulated state shall be persistent until a next manipulation call. If the device is not able to maintain
211
226
  the static state, it shall return RESULT_NOT_SUPPORTED.
212
227
  """
@@ -216,8 +231,8 @@ class ContextServiceServicer(object):
216
231
 
217
232
  def CreateContextStateWithAssocAndBindingMdibVersion(self, request, context):
218
233
  """
219
- Create or adapt a ContextState instance with the given ContextAssociation value for the given descriptor handle,
220
- and assign a BindingMdibVersion.
234
+ Create or adapt a pm:AbstractContextState instance with the given @ContextAssociation value for the given descriptor
235
+ handle, and assign a BindingMdibVersion.
221
236
  The manipulated state shall be persistent until a next manipulation call. If the device is not able to maintain
222
237
  the static state, it shall return RESULT_NOT_SUPPORTED.
223
238
  """
@@ -227,8 +242,8 @@ class ContextServiceServicer(object):
227
242
 
228
243
  def CreateContextStateWithAssocAndUnbindingMdibVersion(self, request, context):
229
244
  """
230
- Create or adapt a ContextState instance with the given ContextAssociation value for the given descriptor handle,
231
- and assign a UnbindingMdibVersion.
245
+ Create or adapt a pm:AbstractContextState instance with the given @ContextAssociation value for the given descriptor
246
+ handle, and assign a UnbindingMdibVersion.
232
247
  The manipulated state shall be persistent until a next manipulation call. If the device is not able to maintain
233
248
  the static state, it shall return RESULT_NOT_SUPPORTED.
234
249
  """
@@ -405,6 +420,11 @@ def add_ContextServiceServicer_to_server(servicer, server):
405
420
  request_deserializer=t2iapi_dot_context_dot_context__requests__pb2.CreateContextStateWithAssociationRequest.FromString,
406
421
  response_serializer=t2iapi_dot_context_dot_context__responses__pb2.CreateContextStateWithAssociationResponse.SerializeToString,
407
422
  ),
423
+ 'CreateNewContextStateWithAssociation': grpc.unary_unary_rpc_method_handler(
424
+ servicer.CreateNewContextStateWithAssociation,
425
+ request_deserializer=t2iapi_dot_context_dot_context__requests__pb2.CreateContextStateWithAssociationRequest.FromString,
426
+ response_serializer=t2iapi_dot_context_dot_context__responses__pb2.CreateContextStateWithAssociationResponse.SerializeToString,
427
+ ),
408
428
  'CreateContextStateWithAssociationAndValidators': grpc.unary_unary_rpc_method_handler(
409
429
  servicer.CreateContextStateWithAssociationAndValidators,
410
430
  request_deserializer=t2iapi_dot_context_dot_context__requests__pb2.CreateContextStateWithAssociationAndValidatorsRequest.FromString,
@@ -553,6 +573,23 @@ class ContextService(object):
553
573
  options, channel_credentials,
554
574
  insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
555
575
 
576
+ @staticmethod
577
+ def CreateNewContextStateWithAssociation(request,
578
+ target,
579
+ options=(),
580
+ channel_credentials=None,
581
+ call_credentials=None,
582
+ insecure=False,
583
+ compression=None,
584
+ wait_for_ready=None,
585
+ timeout=None,
586
+ metadata=None):
587
+ return grpc.experimental.unary_unary(request, target, '/t2iapi.context.ContextService/CreateNewContextStateWithAssociation',
588
+ t2iapi_dot_context_dot_context__requests__pb2.CreateContextStateWithAssociationRequest.SerializeToString,
589
+ t2iapi_dot_context_dot_context__responses__pb2.CreateContextStateWithAssociationResponse.FromString,
590
+ options, channel_credentials,
591
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
592
+
556
593
  @staticmethod
557
594
  def CreateContextStateWithAssociationAndValidators(request,
558
595
  target,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: t2iapi
3
- Version: 4.4.0.dev575
3
+ Version: 4.4.0.dev581
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
@@ -67,9 +67,9 @@ t2iapi/context/context_requests_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMh
67
67
  t2iapi/context/context_responses_pb2.py,sha256=pI16I4haaWyPuaWt7TNhK9JM4wfhZ6CtsOKpWTy-zZs,2694
68
68
  t2iapi/context/context_responses_pb2.pyi,sha256=BilxB8PSUiCwIJW-kos6-GOlYaGdyeKPtaA2q17MOd4,2466
69
69
  t2iapi/context/context_responses_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
70
- t2iapi/context/service_pb2.py,sha256=9zUkipMDEllrY33ka2pX1Yxz3mJAVxZU-0pq6chaC5g,4960
70
+ t2iapi/context/service_pb2.py,sha256=Ki6v5dSOMgu-COBnOV9Knv3U98ip2tSj6Q4reBhNtxQ,5140
71
71
  t2iapi/context/service_pb2.pyi,sha256=oyeZZo2RCHp8vfCPM1Xs2jcoykpo0RBuKsZrMrjV6S4,459
72
- t2iapi/context/service_pb2_grpc.py,sha256=bVA7-4SKLKbXOn_D-99AauqG-xIEe1cFHGlWBjcJiiU,50564
72
+ t2iapi/context/service_pb2_grpc.py,sha256=lQxovk7ijvDzpmitkAMGJx1JeRdgUJilXiY4_9u1oPY,52979
73
73
  t2iapi/context/types_pb2.py,sha256=9Gr-A6SXoNkMvwg07t1HJYMVy6sISEWRDBAyHx55VNs,2991
74
74
  t2iapi/context/types_pb2.pyi,sha256=993q6rYWG_CV-21h4VGUU26Rb9JLDcOIAcoAG9iyjGE,3393
75
75
  t2iapi/context/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.4.0.dev575.dist-info/LICENSE,sha256=8ZnuIeCzXNlN6lfSNcmIr6gDfOtFoZ9TKDlf2AAfYdQ,1086
118
- t2iapi-4.4.0.dev575.dist-info/METADATA,sha256=s_W81be_7JasCta6EDj5wUx0VxsSfjFe3zEdzKQ_NNU,835
119
- t2iapi-4.4.0.dev575.dist-info/WHEEL,sha256=ewwEueio1C2XeHTvT17n8dZUJgOvyCWCt0WVNLClP9o,92
120
- t2iapi-4.4.0.dev575.dist-info/top_level.txt,sha256=c0UvkS5osT7vNcji3Ic5KzEpauWa_lqRAB66A0tqA1w,7
121
- t2iapi-4.4.0.dev575.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
122
- t2iapi-4.4.0.dev575.dist-info/RECORD,,
117
+ t2iapi-4.4.0.dev581.dist-info/LICENSE,sha256=8ZnuIeCzXNlN6lfSNcmIr6gDfOtFoZ9TKDlf2AAfYdQ,1086
118
+ t2iapi-4.4.0.dev581.dist-info/METADATA,sha256=mOj7nbejlyqAKCmtWy2MWlj2gwIJ_IyS2pareRmBHpM,835
119
+ t2iapi-4.4.0.dev581.dist-info/WHEEL,sha256=ewwEueio1C2XeHTvT17n8dZUJgOvyCWCt0WVNLClP9o,92
120
+ t2iapi-4.4.0.dev581.dist-info/top_level.txt,sha256=c0UvkS5osT7vNcji3Ic5KzEpauWa_lqRAB66A0tqA1w,7
121
+ t2iapi-4.4.0.dev581.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
122
+ t2iapi-4.4.0.dev581.dist-info/RECORD,,