ansys-api-discovery 0.6.9__py3-none-any.whl → 0.6.11__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.

Potentially problematic release.


This version of ansys-api-discovery might be problematic. Click here for more details.

Files changed (30) hide show
  1. ansys/api/discovery/VERSION +1 -1
  2. ansys/api/discovery/v0/assignments/fan.proto +104 -0
  3. ansys/api/discovery/v0/assignments/fan_pb2.py +49 -0
  4. ansys/api/discovery/v0/assignments/fan_pb2.pyi +240 -0
  5. ansys/api/discovery/v0/assignments/fan_pb2_grpc.py +430 -0
  6. ansys/api/discovery/v0/assignments/fan_pb2_grpc.pyi +135 -0
  7. ansys/api/discovery/v0/conditions/operatingpressure.proto +12 -0
  8. ansys/api/discovery/v0/conditions/operatingpressure_pb2.py +27 -0
  9. ansys/api/discovery/v0/conditions/operatingpressure_pb2.pyi +7 -0
  10. ansys/api/discovery/v0/conditions/operatingpressure_pb2_grpc.py +66 -0
  11. ansys/api/discovery/v0/conditions/operatingpressure_pb2_grpc.pyi +24 -0
  12. ansys/api/discovery/v0/connections/fluidinterface.proto +62 -0
  13. ansys/api/discovery/v0/connections/fluidinterface_pb2.py +42 -0
  14. ansys/api/discovery/v0/connections/fluidinterface_pb2.pyi +113 -0
  15. ansys/api/discovery/v0/connections/fluidinterface_pb2_grpc.py +397 -0
  16. ansys/api/discovery/v0/connections/fluidinterface_pb2_grpc.pyi +125 -0
  17. ansys/api/discovery/v0/discoverymodels.proto +37 -0
  18. ansys/api/discovery/v0/discoverymodels_pb2.py +66 -52
  19. ansys/api/discovery/v0/discoverymodels_pb2.pyi +121 -1
  20. ansys/api/discovery/v0/engineeringdata/fandata.proto +72 -0
  21. ansys/api/discovery/v0/engineeringdata/fandata_pb2.py +40 -0
  22. ansys/api/discovery/v0/engineeringdata/fandata_pb2.pyi +142 -0
  23. ansys/api/discovery/v0/engineeringdata/fandata_pb2_grpc.py +67 -0
  24. ansys/api/discovery/v0/engineeringdata/fandata_pb2_grpc.pyi +27 -0
  25. {ansys_api_discovery-0.6.9.dist-info → ansys_api_discovery-0.6.11.dist-info}/METADATA +4 -5
  26. {ansys_api_discovery-0.6.9.dist-info → ansys_api_discovery-0.6.11.dist-info}/RECORD +30 -10
  27. {ansys_api_discovery-0.6.9.dist-info → ansys_api_discovery-0.6.11.dist-info}/WHEEL +1 -1
  28. {ansys_api_discovery-0.6.9.dist-info/licenses → ansys_api_discovery-0.6.11.dist-info}/LICENSE +0 -0
  29. {ansys_api_discovery-0.6.9.dist-info → ansys_api_discovery-0.6.11.dist-info}/entry_points.txt +0 -0
  30. {ansys_api_discovery-0.6.9.dist-info → ansys_api_discovery-0.6.11.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,430 @@
1
+ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
+ """Client and server classes corresponding to protobuf-defined services."""
3
+ import grpc
4
+
5
+ from ansys.api.discovery.v0.assignments import fan_pb2 as ansys_dot_api_dot_discovery_dot_v0_dot_assignments_dot_fan__pb2
6
+ from ansys.api.discovery.v0 import discoverymodels_pb2 as ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2
7
+
8
+
9
+ class FanStub(object):
10
+ """Missing associated documentation comment in .proto file."""
11
+
12
+ def __init__(self, channel):
13
+ """Constructor.
14
+
15
+ Args:
16
+ channel: A grpc.Channel.
17
+ """
18
+ self.CreateInternalFanAssignment = channel.unary_unary(
19
+ '/ansys.api.discovery.v0.assignments.fanassignment.Fan/CreateInternalFanAssignment',
20
+ request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_assignments_dot_fan__pb2.InternalFanAssignmentCreationRequest.SerializeToString,
21
+ response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_assignments_dot_fan__pb2.InternalFanAssignmentCreationResponse.FromString,
22
+ )
23
+ self.CreateExternalFanAssignment = channel.unary_unary(
24
+ '/ansys.api.discovery.v0.assignments.fanassignment.Fan/CreateExternalFanAssignment',
25
+ request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_assignments_dot_fan__pb2.ExternalFanAssignmentCreationRequest.SerializeToString,
26
+ response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_assignments_dot_fan__pb2.ExternalFanAssignmentCreationResponse.FromString,
27
+ )
28
+ self.ChangeFanAssignment = channel.unary_unary(
29
+ '/ansys.api.discovery.v0.assignments.fanassignment.Fan/ChangeFanAssignment',
30
+ request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeAssignmentRequest.SerializeToString,
31
+ response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
32
+ )
33
+ self.ChangeExternalFanSpecification = channel.unary_unary(
34
+ '/ansys.api.discovery.v0.assignments.fanassignment.Fan/ChangeExternalFanSpecification',
35
+ request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_assignments_dot_fan__pb2.ChangeExternalFanSpecificationRequest.SerializeToString,
36
+ response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
37
+ )
38
+ self.ChangeFanLocation = channel.unary_unary(
39
+ '/ansys.api.discovery.v0.assignments.fanassignment.Fan/ChangeFanLocation',
40
+ request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeLocationExtendedRequest.SerializeToString,
41
+ response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
42
+ )
43
+ self.ChangeExternalFanGaugePressure = channel.unary_unary(
44
+ '/ansys.api.discovery.v0.assignments.fanassignment.Fan/ChangeExternalFanGaugePressure',
45
+ request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
46
+ response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
47
+ )
48
+ self.ChangeInternalFanInletFace = channel.unary_unary(
49
+ '/ansys.api.discovery.v0.assignments.fanassignment.Fan/ChangeInternalFanInletFace',
50
+ request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeLocationRequest.SerializeToString,
51
+ response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
52
+ )
53
+ self.ChangeInternalFanIsShrouded = channel.unary_unary(
54
+ '/ansys.api.discovery.v0.assignments.fanassignment.Fan/ChangeInternalFanIsShrouded',
55
+ request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeBooleanRequest.SerializeToString,
56
+ response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
57
+ )
58
+ self.ChangeInternalFanHubRadius = channel.unary_unary(
59
+ '/ansys.api.discovery.v0.assignments.fanassignment.Fan/ChangeInternalFanHubRadius',
60
+ request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
61
+ response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
62
+ )
63
+ self.ChangeInternalFanTipRadius = channel.unary_unary(
64
+ '/ansys.api.discovery.v0.assignments.fanassignment.Fan/ChangeInternalFanTipRadius',
65
+ request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
66
+ response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
67
+ )
68
+ self.ChangeInternalFanTotalHeat = channel.unary_unary(
69
+ '/ansys.api.discovery.v0.assignments.fanassignment.Fan/ChangeInternalFanTotalHeat',
70
+ request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
71
+ response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
72
+ )
73
+ self.ChangeInternalFanSpecifyTotalHeat = channel.unary_unary(
74
+ '/ansys.api.discovery.v0.assignments.fanassignment.Fan/ChangeInternalFanSpecifyTotalHeat',
75
+ request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeBooleanRequest.SerializeToString,
76
+ response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
77
+ )
78
+
79
+
80
+ class FanServicer(object):
81
+ """Missing associated documentation comment in .proto file."""
82
+
83
+ def CreateInternalFanAssignment(self, request, context):
84
+ """Missing associated documentation comment in .proto file."""
85
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
86
+ context.set_details('Method not implemented!')
87
+ raise NotImplementedError('Method not implemented!')
88
+
89
+ def CreateExternalFanAssignment(self, request, context):
90
+ """Missing associated documentation comment in .proto file."""
91
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
92
+ context.set_details('Method not implemented!')
93
+ raise NotImplementedError('Method not implemented!')
94
+
95
+ def ChangeFanAssignment(self, request, context):
96
+ """Missing associated documentation comment in .proto file."""
97
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
98
+ context.set_details('Method not implemented!')
99
+ raise NotImplementedError('Method not implemented!')
100
+
101
+ def ChangeExternalFanSpecification(self, request, context):
102
+ """Missing associated documentation comment in .proto file."""
103
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
104
+ context.set_details('Method not implemented!')
105
+ raise NotImplementedError('Method not implemented!')
106
+
107
+ def ChangeFanLocation(self, request, context):
108
+ """Missing associated documentation comment in .proto file."""
109
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
110
+ context.set_details('Method not implemented!')
111
+ raise NotImplementedError('Method not implemented!')
112
+
113
+ def ChangeExternalFanGaugePressure(self, request, context):
114
+ """Missing associated documentation comment in .proto file."""
115
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
116
+ context.set_details('Method not implemented!')
117
+ raise NotImplementedError('Method not implemented!')
118
+
119
+ def ChangeInternalFanInletFace(self, request, context):
120
+ """Missing associated documentation comment in .proto file."""
121
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
122
+ context.set_details('Method not implemented!')
123
+ raise NotImplementedError('Method not implemented!')
124
+
125
+ def ChangeInternalFanIsShrouded(self, request, context):
126
+ """Missing associated documentation comment in .proto file."""
127
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
128
+ context.set_details('Method not implemented!')
129
+ raise NotImplementedError('Method not implemented!')
130
+
131
+ def ChangeInternalFanHubRadius(self, request, context):
132
+ """Missing associated documentation comment in .proto file."""
133
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
134
+ context.set_details('Method not implemented!')
135
+ raise NotImplementedError('Method not implemented!')
136
+
137
+ def ChangeInternalFanTipRadius(self, request, context):
138
+ """Missing associated documentation comment in .proto file."""
139
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
140
+ context.set_details('Method not implemented!')
141
+ raise NotImplementedError('Method not implemented!')
142
+
143
+ def ChangeInternalFanTotalHeat(self, request, context):
144
+ """Missing associated documentation comment in .proto file."""
145
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
146
+ context.set_details('Method not implemented!')
147
+ raise NotImplementedError('Method not implemented!')
148
+
149
+ def ChangeInternalFanSpecifyTotalHeat(self, request, context):
150
+ """Missing associated documentation comment in .proto file."""
151
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
152
+ context.set_details('Method not implemented!')
153
+ raise NotImplementedError('Method not implemented!')
154
+
155
+
156
+ def add_FanServicer_to_server(servicer, server):
157
+ rpc_method_handlers = {
158
+ 'CreateInternalFanAssignment': grpc.unary_unary_rpc_method_handler(
159
+ servicer.CreateInternalFanAssignment,
160
+ request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_assignments_dot_fan__pb2.InternalFanAssignmentCreationRequest.FromString,
161
+ response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_assignments_dot_fan__pb2.InternalFanAssignmentCreationResponse.SerializeToString,
162
+ ),
163
+ 'CreateExternalFanAssignment': grpc.unary_unary_rpc_method_handler(
164
+ servicer.CreateExternalFanAssignment,
165
+ request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_assignments_dot_fan__pb2.ExternalFanAssignmentCreationRequest.FromString,
166
+ response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_assignments_dot_fan__pb2.ExternalFanAssignmentCreationResponse.SerializeToString,
167
+ ),
168
+ 'ChangeFanAssignment': grpc.unary_unary_rpc_method_handler(
169
+ servicer.ChangeFanAssignment,
170
+ request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeAssignmentRequest.FromString,
171
+ response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
172
+ ),
173
+ 'ChangeExternalFanSpecification': grpc.unary_unary_rpc_method_handler(
174
+ servicer.ChangeExternalFanSpecification,
175
+ request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_assignments_dot_fan__pb2.ChangeExternalFanSpecificationRequest.FromString,
176
+ response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
177
+ ),
178
+ 'ChangeFanLocation': grpc.unary_unary_rpc_method_handler(
179
+ servicer.ChangeFanLocation,
180
+ request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeLocationExtendedRequest.FromString,
181
+ response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
182
+ ),
183
+ 'ChangeExternalFanGaugePressure': grpc.unary_unary_rpc_method_handler(
184
+ servicer.ChangeExternalFanGaugePressure,
185
+ request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.FromString,
186
+ response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
187
+ ),
188
+ 'ChangeInternalFanInletFace': grpc.unary_unary_rpc_method_handler(
189
+ servicer.ChangeInternalFanInletFace,
190
+ request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeLocationRequest.FromString,
191
+ response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
192
+ ),
193
+ 'ChangeInternalFanIsShrouded': grpc.unary_unary_rpc_method_handler(
194
+ servicer.ChangeInternalFanIsShrouded,
195
+ request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeBooleanRequest.FromString,
196
+ response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
197
+ ),
198
+ 'ChangeInternalFanHubRadius': grpc.unary_unary_rpc_method_handler(
199
+ servicer.ChangeInternalFanHubRadius,
200
+ request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.FromString,
201
+ response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
202
+ ),
203
+ 'ChangeInternalFanTipRadius': grpc.unary_unary_rpc_method_handler(
204
+ servicer.ChangeInternalFanTipRadius,
205
+ request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.FromString,
206
+ response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
207
+ ),
208
+ 'ChangeInternalFanTotalHeat': grpc.unary_unary_rpc_method_handler(
209
+ servicer.ChangeInternalFanTotalHeat,
210
+ request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.FromString,
211
+ response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
212
+ ),
213
+ 'ChangeInternalFanSpecifyTotalHeat': grpc.unary_unary_rpc_method_handler(
214
+ servicer.ChangeInternalFanSpecifyTotalHeat,
215
+ request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeBooleanRequest.FromString,
216
+ response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
217
+ ),
218
+ }
219
+ generic_handler = grpc.method_handlers_generic_handler(
220
+ 'ansys.api.discovery.v0.assignments.fanassignment.Fan', rpc_method_handlers)
221
+ server.add_generic_rpc_handlers((generic_handler,))
222
+
223
+
224
+ # This class is part of an EXPERIMENTAL API.
225
+ class Fan(object):
226
+ """Missing associated documentation comment in .proto file."""
227
+
228
+ @staticmethod
229
+ def CreateInternalFanAssignment(request,
230
+ target,
231
+ options=(),
232
+ channel_credentials=None,
233
+ call_credentials=None,
234
+ insecure=False,
235
+ compression=None,
236
+ wait_for_ready=None,
237
+ timeout=None,
238
+ metadata=None):
239
+ return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.assignments.fanassignment.Fan/CreateInternalFanAssignment',
240
+ ansys_dot_api_dot_discovery_dot_v0_dot_assignments_dot_fan__pb2.InternalFanAssignmentCreationRequest.SerializeToString,
241
+ ansys_dot_api_dot_discovery_dot_v0_dot_assignments_dot_fan__pb2.InternalFanAssignmentCreationResponse.FromString,
242
+ options, channel_credentials,
243
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
244
+
245
+ @staticmethod
246
+ def CreateExternalFanAssignment(request,
247
+ target,
248
+ options=(),
249
+ channel_credentials=None,
250
+ call_credentials=None,
251
+ insecure=False,
252
+ compression=None,
253
+ wait_for_ready=None,
254
+ timeout=None,
255
+ metadata=None):
256
+ return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.assignments.fanassignment.Fan/CreateExternalFanAssignment',
257
+ ansys_dot_api_dot_discovery_dot_v0_dot_assignments_dot_fan__pb2.ExternalFanAssignmentCreationRequest.SerializeToString,
258
+ ansys_dot_api_dot_discovery_dot_v0_dot_assignments_dot_fan__pb2.ExternalFanAssignmentCreationResponse.FromString,
259
+ options, channel_credentials,
260
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
261
+
262
+ @staticmethod
263
+ def ChangeFanAssignment(request,
264
+ target,
265
+ options=(),
266
+ channel_credentials=None,
267
+ call_credentials=None,
268
+ insecure=False,
269
+ compression=None,
270
+ wait_for_ready=None,
271
+ timeout=None,
272
+ metadata=None):
273
+ return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.assignments.fanassignment.Fan/ChangeFanAssignment',
274
+ ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeAssignmentRequest.SerializeToString,
275
+ ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
276
+ options, channel_credentials,
277
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
278
+
279
+ @staticmethod
280
+ def ChangeExternalFanSpecification(request,
281
+ target,
282
+ options=(),
283
+ channel_credentials=None,
284
+ call_credentials=None,
285
+ insecure=False,
286
+ compression=None,
287
+ wait_for_ready=None,
288
+ timeout=None,
289
+ metadata=None):
290
+ return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.assignments.fanassignment.Fan/ChangeExternalFanSpecification',
291
+ ansys_dot_api_dot_discovery_dot_v0_dot_assignments_dot_fan__pb2.ChangeExternalFanSpecificationRequest.SerializeToString,
292
+ ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
293
+ options, channel_credentials,
294
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
295
+
296
+ @staticmethod
297
+ def ChangeFanLocation(request,
298
+ target,
299
+ options=(),
300
+ channel_credentials=None,
301
+ call_credentials=None,
302
+ insecure=False,
303
+ compression=None,
304
+ wait_for_ready=None,
305
+ timeout=None,
306
+ metadata=None):
307
+ return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.assignments.fanassignment.Fan/ChangeFanLocation',
308
+ ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeLocationExtendedRequest.SerializeToString,
309
+ ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
310
+ options, channel_credentials,
311
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
312
+
313
+ @staticmethod
314
+ def ChangeExternalFanGaugePressure(request,
315
+ target,
316
+ options=(),
317
+ channel_credentials=None,
318
+ call_credentials=None,
319
+ insecure=False,
320
+ compression=None,
321
+ wait_for_ready=None,
322
+ timeout=None,
323
+ metadata=None):
324
+ return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.assignments.fanassignment.Fan/ChangeExternalFanGaugePressure',
325
+ ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
326
+ ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
327
+ options, channel_credentials,
328
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
329
+
330
+ @staticmethod
331
+ def ChangeInternalFanInletFace(request,
332
+ target,
333
+ options=(),
334
+ channel_credentials=None,
335
+ call_credentials=None,
336
+ insecure=False,
337
+ compression=None,
338
+ wait_for_ready=None,
339
+ timeout=None,
340
+ metadata=None):
341
+ return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.assignments.fanassignment.Fan/ChangeInternalFanInletFace',
342
+ ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeLocationRequest.SerializeToString,
343
+ ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
344
+ options, channel_credentials,
345
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
346
+
347
+ @staticmethod
348
+ def ChangeInternalFanIsShrouded(request,
349
+ target,
350
+ options=(),
351
+ channel_credentials=None,
352
+ call_credentials=None,
353
+ insecure=False,
354
+ compression=None,
355
+ wait_for_ready=None,
356
+ timeout=None,
357
+ metadata=None):
358
+ return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.assignments.fanassignment.Fan/ChangeInternalFanIsShrouded',
359
+ ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeBooleanRequest.SerializeToString,
360
+ ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
361
+ options, channel_credentials,
362
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
363
+
364
+ @staticmethod
365
+ def ChangeInternalFanHubRadius(request,
366
+ target,
367
+ options=(),
368
+ channel_credentials=None,
369
+ call_credentials=None,
370
+ insecure=False,
371
+ compression=None,
372
+ wait_for_ready=None,
373
+ timeout=None,
374
+ metadata=None):
375
+ return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.assignments.fanassignment.Fan/ChangeInternalFanHubRadius',
376
+ ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
377
+ ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
378
+ options, channel_credentials,
379
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
380
+
381
+ @staticmethod
382
+ def ChangeInternalFanTipRadius(request,
383
+ target,
384
+ options=(),
385
+ channel_credentials=None,
386
+ call_credentials=None,
387
+ insecure=False,
388
+ compression=None,
389
+ wait_for_ready=None,
390
+ timeout=None,
391
+ metadata=None):
392
+ return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.assignments.fanassignment.Fan/ChangeInternalFanTipRadius',
393
+ ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
394
+ ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
395
+ options, channel_credentials,
396
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
397
+
398
+ @staticmethod
399
+ def ChangeInternalFanTotalHeat(request,
400
+ target,
401
+ options=(),
402
+ channel_credentials=None,
403
+ call_credentials=None,
404
+ insecure=False,
405
+ compression=None,
406
+ wait_for_ready=None,
407
+ timeout=None,
408
+ metadata=None):
409
+ return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.assignments.fanassignment.Fan/ChangeInternalFanTotalHeat',
410
+ ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
411
+ ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
412
+ options, channel_credentials,
413
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
414
+
415
+ @staticmethod
416
+ def ChangeInternalFanSpecifyTotalHeat(request,
417
+ target,
418
+ options=(),
419
+ channel_credentials=None,
420
+ call_credentials=None,
421
+ insecure=False,
422
+ compression=None,
423
+ wait_for_ready=None,
424
+ timeout=None,
425
+ metadata=None):
426
+ return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.assignments.fanassignment.Fan/ChangeInternalFanSpecifyTotalHeat',
427
+ ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeBooleanRequest.SerializeToString,
428
+ ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
429
+ options, channel_credentials,
430
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@@ -0,0 +1,135 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+ import abc
6
+ import ansys.api.discovery.v0.assignments.fan_pb2
7
+ import ansys.api.discovery.v0.discoverymodels_pb2
8
+ import grpc
9
+
10
+ class FanStub:
11
+ def __init__(self, channel: grpc.Channel) -> None: ...
12
+ CreateInternalFanAssignment: grpc.UnaryUnaryMultiCallable[
13
+ ansys.api.discovery.v0.assignments.fan_pb2.InternalFanAssignmentCreationRequest,
14
+ ansys.api.discovery.v0.assignments.fan_pb2.InternalFanAssignmentCreationResponse] = ...
15
+
16
+ CreateExternalFanAssignment: grpc.UnaryUnaryMultiCallable[
17
+ ansys.api.discovery.v0.assignments.fan_pb2.ExternalFanAssignmentCreationRequest,
18
+ ansys.api.discovery.v0.assignments.fan_pb2.ExternalFanAssignmentCreationResponse] = ...
19
+
20
+ ChangeFanAssignment: grpc.UnaryUnaryMultiCallable[
21
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeAssignmentRequest,
22
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
23
+
24
+ ChangeExternalFanSpecification: grpc.UnaryUnaryMultiCallable[
25
+ ansys.api.discovery.v0.assignments.fan_pb2.ChangeExternalFanSpecificationRequest,
26
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
27
+
28
+ ChangeFanLocation: grpc.UnaryUnaryMultiCallable[
29
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeLocationExtendedRequest,
30
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
31
+
32
+ ChangeExternalFanGaugePressure: grpc.UnaryUnaryMultiCallable[
33
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
34
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
35
+
36
+ ChangeInternalFanInletFace: grpc.UnaryUnaryMultiCallable[
37
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeLocationRequest,
38
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
39
+
40
+ ChangeInternalFanIsShrouded: grpc.UnaryUnaryMultiCallable[
41
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeBooleanRequest,
42
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
43
+
44
+ ChangeInternalFanHubRadius: grpc.UnaryUnaryMultiCallable[
45
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
46
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
47
+
48
+ ChangeInternalFanTipRadius: grpc.UnaryUnaryMultiCallable[
49
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
50
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
51
+
52
+ ChangeInternalFanTotalHeat: grpc.UnaryUnaryMultiCallable[
53
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
54
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
55
+
56
+ ChangeInternalFanSpecifyTotalHeat: grpc.UnaryUnaryMultiCallable[
57
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeBooleanRequest,
58
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
59
+
60
+
61
+ class FanServicer(metaclass=abc.ABCMeta):
62
+ @abc.abstractmethod
63
+ def CreateInternalFanAssignment(self,
64
+ request: ansys.api.discovery.v0.assignments.fan_pb2.InternalFanAssignmentCreationRequest,
65
+ context: grpc.ServicerContext,
66
+ ) -> ansys.api.discovery.v0.assignments.fan_pb2.InternalFanAssignmentCreationResponse: ...
67
+
68
+ @abc.abstractmethod
69
+ def CreateExternalFanAssignment(self,
70
+ request: ansys.api.discovery.v0.assignments.fan_pb2.ExternalFanAssignmentCreationRequest,
71
+ context: grpc.ServicerContext,
72
+ ) -> ansys.api.discovery.v0.assignments.fan_pb2.ExternalFanAssignmentCreationResponse: ...
73
+
74
+ @abc.abstractmethod
75
+ def ChangeFanAssignment(self,
76
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeAssignmentRequest,
77
+ context: grpc.ServicerContext,
78
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
79
+
80
+ @abc.abstractmethod
81
+ def ChangeExternalFanSpecification(self,
82
+ request: ansys.api.discovery.v0.assignments.fan_pb2.ChangeExternalFanSpecificationRequest,
83
+ context: grpc.ServicerContext,
84
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
85
+
86
+ @abc.abstractmethod
87
+ def ChangeFanLocation(self,
88
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeLocationExtendedRequest,
89
+ context: grpc.ServicerContext,
90
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
91
+
92
+ @abc.abstractmethod
93
+ def ChangeExternalFanGaugePressure(self,
94
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
95
+ context: grpc.ServicerContext,
96
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
97
+
98
+ @abc.abstractmethod
99
+ def ChangeInternalFanInletFace(self,
100
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeLocationRequest,
101
+ context: grpc.ServicerContext,
102
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
103
+
104
+ @abc.abstractmethod
105
+ def ChangeInternalFanIsShrouded(self,
106
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeBooleanRequest,
107
+ context: grpc.ServicerContext,
108
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
109
+
110
+ @abc.abstractmethod
111
+ def ChangeInternalFanHubRadius(self,
112
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
113
+ context: grpc.ServicerContext,
114
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
115
+
116
+ @abc.abstractmethod
117
+ def ChangeInternalFanTipRadius(self,
118
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
119
+ context: grpc.ServicerContext,
120
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
121
+
122
+ @abc.abstractmethod
123
+ def ChangeInternalFanTotalHeat(self,
124
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
125
+ context: grpc.ServicerContext,
126
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
127
+
128
+ @abc.abstractmethod
129
+ def ChangeInternalFanSpecifyTotalHeat(self,
130
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeBooleanRequest,
131
+ context: grpc.ServicerContext,
132
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
133
+
134
+
135
+ def add_FanServicer_to_server(servicer: FanServicer, server: grpc.Server) -> None: ...
@@ -0,0 +1,12 @@
1
+ // Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
2
+ syntax = "proto3";
3
+ package ansys.api.discovery.v0.conditions.operatingpressure;
4
+
5
+ import "ansys/api/discovery/v0/discoverymodels.proto";
6
+
7
+ option csharp_namespace = "Ansys.Api.Discovery.V0.Conditions";
8
+
9
+ service OperatingPressure
10
+ {
11
+ rpc ChangePressureMagnitude(ChangeQuantityRequest) returns(ChangeResponse);
12
+ }
@@ -0,0 +1,27 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: ansys/api/discovery/v0/conditions/operatingpressure.proto
4
+ """Generated protocol buffer code."""
5
+ from google.protobuf.internal import builder as _builder
6
+ from google.protobuf import descriptor as _descriptor
7
+ from google.protobuf import descriptor_pool as _descriptor_pool
8
+ from google.protobuf import symbol_database as _symbol_database
9
+ # @@protoc_insertion_point(imports)
10
+
11
+ _sym_db = _symbol_database.Default()
12
+
13
+
14
+ from ansys.api.discovery.v0 import discoverymodels_pb2 as ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2
15
+
16
+
17
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n9ansys/api/discovery/v0/conditions/operatingpressure.proto\x12\x33\x61nsys.api.discovery.v0.conditions.operatingpressure\x1a,ansys/api/discovery/v0/discoverymodels.proto2\x85\x01\n\x11OperatingPressure\x12p\n\x17\x43hangePressureMagnitude\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponseB$\xaa\x02!Ansys.Api.Discovery.V0.Conditionsb\x06proto3')
18
+
19
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
20
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ansys.api.discovery.v0.conditions.operatingpressure_pb2', globals())
21
+ if _descriptor._USE_C_DESCRIPTORS == False:
22
+
23
+ DESCRIPTOR._options = None
24
+ DESCRIPTOR._serialized_options = b'\252\002!Ansys.Api.Discovery.V0.Conditions'
25
+ _OPERATINGPRESSURE._serialized_start=161
26
+ _OPERATINGPRESSURE._serialized_end=294
27
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,7 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+ import google.protobuf.descriptor
6
+
7
+ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor = ...