ansys-api-discovery 0.6.3__py3-none-any.whl → 0.6.5__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 (168) hide show
  1. ansys/api/discovery/VERSION +1 -1
  2. ansys/api/discovery/v0/assignments/boltassignment.proto +40 -0
  3. ansys/api/discovery/v0/assignments/boltassignment_pb2.py +37 -0
  4. ansys/api/discovery/v0/assignments/boltassignment_pb2.pyi +95 -0
  5. ansys/api/discovery/v0/assignments/boltassignment_pb2_grpc.py +67 -0
  6. ansys/api/discovery/v0/assignments/boltassignment_pb2_grpc.pyi +27 -0
  7. ansys/api/discovery/v0/conditions/acceleration.proto +52 -0
  8. ansys/api/discovery/v0/conditions/acceleration_pb2.py +36 -0
  9. ansys/api/discovery/v0/conditions/acceleration_pb2.pyi +94 -0
  10. ansys/api/discovery/v0/conditions/acceleration_pb2_grpc.py +365 -0
  11. ansys/api/discovery/v0/conditions/acceleration_pb2_grpc.pyi +118 -0
  12. ansys/api/discovery/v0/conditions/bearing.proto +47 -0
  13. ansys/api/discovery/v0/conditions/bearing_pb2.py +36 -0
  14. ansys/api/discovery/v0/conditions/bearing_pb2.pyi +102 -0
  15. ansys/api/discovery/v0/conditions/bearing_pb2_grpc.py +200 -0
  16. ansys/api/discovery/v0/conditions/bearing_pb2_grpc.pyi +68 -0
  17. ansys/api/discovery/v0/conditions/boltpreload.proto +94 -0
  18. ansys/api/discovery/v0/conditions/boltpreload_pb2.py +48 -0
  19. ansys/api/discovery/v0/conditions/boltpreload_pb2.pyi +218 -0
  20. ansys/api/discovery/v0/conditions/boltpreload_pb2_grpc.py +431 -0
  21. ansys/api/discovery/v0/conditions/boltpreload_pb2_grpc.pyi +138 -0
  22. ansys/api/discovery/v0/{conditions.proto → conditions/condition.proto} +5 -4
  23. ansys/api/discovery/v0/conditions/condition_pb2.py +34 -0
  24. ansys/api/discovery/v0/{conditions_pb2.pyi → conditions/condition_pb2.pyi} +13 -6
  25. ansys/api/discovery/v0/{conditions_pb2_grpc.py → conditions/condition_pb2_grpc.py} +21 -21
  26. ansys/api/discovery/v0/{conditions_pb2_grpc.pyi → conditions/condition_pb2_grpc.pyi} +10 -10
  27. ansys/api/discovery/v0/conditions/convection.proto +43 -0
  28. ansys/api/discovery/v0/conditions/convection_pb2.py +34 -0
  29. ansys/api/discovery/v0/conditions/convection_pb2.pyi +89 -0
  30. ansys/api/discovery/v0/conditions/convection_pb2_grpc.py +166 -0
  31. ansys/api/discovery/v0/conditions/convection_pb2_grpc.pyi +55 -0
  32. ansys/api/discovery/v0/conditions/displacement.proto +105 -0
  33. ansys/api/discovery/v0/conditions/displacement_pb2.py +48 -0
  34. ansys/api/discovery/v0/conditions/displacement_pb2.pyi +209 -0
  35. ansys/api/discovery/v0/conditions/displacement_pb2_grpc.py +827 -0
  36. ansys/api/discovery/v0/conditions/displacement_pb2_grpc.pyi +258 -0
  37. ansys/api/discovery/v0/{conditionsfluid.proto → conditions/flow.proto} +19 -24
  38. ansys/api/discovery/v0/conditions/flow_pb2.py +86 -0
  39. ansys/api/discovery/v0/{conditionsfluid_pb2.pyi → conditions/flow_pb2.pyi} +51 -34
  40. ansys/api/discovery/v0/{conditionsfluid_pb2_grpc.py → conditions/flow_pb2_grpc.py} +86 -86
  41. ansys/api/discovery/v0/{conditionsfluid_pb2_grpc.pyi → conditions/flow_pb2_grpc.pyi} +32 -32
  42. ansys/api/discovery/v0/conditions/fluidinitialtemperature.proto +13 -0
  43. ansys/api/discovery/v0/conditions/fluidinitialtemperature_pb2.py +28 -0
  44. ansys/api/discovery/v0/conditions/fluidinitialtemperature_pb2.pyi +7 -0
  45. ansys/api/discovery/v0/conditions/fluidinitialtemperature_pb2_grpc.py +66 -0
  46. ansys/api/discovery/v0/conditions/fluidinitialtemperature_pb2_grpc.pyi +24 -0
  47. ansys/api/discovery/v0/conditions/force.proto +131 -0
  48. ansys/api/discovery/v0/conditions/force_pb2.py +56 -0
  49. ansys/api/discovery/v0/conditions/force_pb2.pyi +286 -0
  50. ansys/api/discovery/v0/conditions/force_pb2_grpc.py +829 -0
  51. ansys/api/discovery/v0/conditions/force_pb2_grpc.pyi +257 -0
  52. ansys/api/discovery/v0/conditions/gravity.proto +39 -0
  53. ansys/api/discovery/v0/conditions/gravity_pb2.py +32 -0
  54. ansys/api/discovery/v0/conditions/gravity_pb2.pyi +65 -0
  55. ansys/api/discovery/v0/conditions/gravity_pb2_grpc.py +266 -0
  56. ansys/api/discovery/v0/conditions/gravity_pb2_grpc.pyi +91 -0
  57. ansys/api/discovery/v0/conditions/heat.proto +90 -0
  58. ansys/api/discovery/v0/conditions/heat_pb2.py +46 -0
  59. ansys/api/discovery/v0/conditions/heat_pb2.pyi +210 -0
  60. ansys/api/discovery/v0/conditions/heat_pb2_grpc.py +332 -0
  61. ansys/api/discovery/v0/conditions/heat_pb2_grpc.pyi +108 -0
  62. ansys/api/discovery/v0/conditions/insulated.proto +34 -0
  63. ansys/api/discovery/v0/conditions/insulated_pb2.py +34 -0
  64. ansys/api/discovery/v0/conditions/insulated_pb2.pyi +73 -0
  65. ansys/api/discovery/v0/conditions/insulated_pb2_grpc.py +100 -0
  66. ansys/api/discovery/v0/conditions/insulated_pb2_grpc.pyi +35 -0
  67. ansys/api/discovery/v0/conditions/mass.proto +49 -0
  68. ansys/api/discovery/v0/conditions/mass_pb2.py +36 -0
  69. ansys/api/discovery/v0/conditions/mass_pb2.pyi +98 -0
  70. ansys/api/discovery/v0/conditions/mass_pb2_grpc.py +266 -0
  71. ansys/api/discovery/v0/conditions/mass_pb2_grpc.pyi +88 -0
  72. ansys/api/discovery/v0/conditions/moment.proto +67 -0
  73. ansys/api/discovery/v0/conditions/moment_pb2.py +40 -0
  74. ansys/api/discovery/v0/conditions/moment_pb2.pyi +132 -0
  75. ansys/api/discovery/v0/conditions/moment_pb2_grpc.py +398 -0
  76. ansys/api/discovery/v0/conditions/moment_pb2_grpc.pyi +128 -0
  77. ansys/api/discovery/v0/conditions/porous.proto +116 -0
  78. ansys/api/discovery/v0/conditions/porous_pb2.py +44 -0
  79. ansys/api/discovery/v0/conditions/porous_pb2.pyi +217 -0
  80. ansys/api/discovery/v0/conditions/porous_pb2_grpc.py +534 -0
  81. ansys/api/discovery/v0/conditions/porous_pb2_grpc.pyi +181 -0
  82. ansys/api/discovery/v0/conditions/pressure.proto +43 -0
  83. ansys/api/discovery/v0/conditions/pressure_pb2.py +36 -0
  84. ansys/api/discovery/v0/conditions/pressure_pb2.pyi +94 -0
  85. ansys/api/discovery/v0/conditions/pressure_pb2_grpc.py +134 -0
  86. ansys/api/discovery/v0/conditions/pressure_pb2_grpc.pyi +48 -0
  87. ansys/api/discovery/v0/conditions/rotatingfluidzone.proto +57 -0
  88. ansys/api/discovery/v0/conditions/rotatingfluidzone_pb2.py +36 -0
  89. ansys/api/discovery/v0/conditions/rotatingfluidzone_pb2.pyi +102 -0
  90. ansys/api/discovery/v0/conditions/rotatingfluidzone_pb2_grpc.py +136 -0
  91. ansys/api/discovery/v0/conditions/rotatingfluidzone_pb2_grpc.pyi +54 -0
  92. ansys/api/discovery/v0/conditions/solidtemperature.proto +40 -0
  93. ansys/api/discovery/v0/conditions/solidtemperature_pb2.py +34 -0
  94. ansys/api/discovery/v0/conditions/solidtemperature_pb2.pyi +81 -0
  95. ansys/api/discovery/v0/conditions/solidtemperature_pb2_grpc.py +166 -0
  96. ansys/api/discovery/v0/conditions/solidtemperature_pb2_grpc.pyi +55 -0
  97. ansys/api/discovery/v0/conditions/springpreload.proto +105 -0
  98. ansys/api/discovery/v0/conditions/springpreload_pb2.py +50 -0
  99. ansys/api/discovery/v0/conditions/springpreload_pb2.pyi +250 -0
  100. ansys/api/discovery/v0/conditions/springpreload_pb2_grpc.py +431 -0
  101. ansys/api/discovery/v0/conditions/springpreload_pb2_grpc.pyi +138 -0
  102. ansys/api/discovery/v0/conditions/support.proto +98 -0
  103. ansys/api/discovery/v0/conditions/support_pb2.py +46 -0
  104. ansys/api/discovery/v0/conditions/support_pb2.pyi +200 -0
  105. ansys/api/discovery/v0/{conditionsthermal_pb2_grpc.py → conditions/support_pb2_grpc.py} +251 -221
  106. ansys/api/discovery/v0/conditions/support_pb2_grpc.pyi +218 -0
  107. ansys/api/discovery/v0/conditions/velocity.proto +58 -0
  108. ansys/api/discovery/v0/conditions/velocity_pb2.py +36 -0
  109. ansys/api/discovery/v0/conditions/velocity_pb2.pyi +98 -0
  110. ansys/api/discovery/v0/conditions/velocity_pb2_grpc.py +497 -0
  111. ansys/api/discovery/v0/conditions/velocity_pb2_grpc.pyi +158 -0
  112. ansys/api/discovery/v0/conditions/wall.proto +209 -0
  113. ansys/api/discovery/v0/conditions/wall_pb2.py +70 -0
  114. ansys/api/discovery/v0/conditions/wall_pb2.pyi +494 -0
  115. ansys/api/discovery/v0/conditions/wall_pb2_grpc.py +633 -0
  116. ansys/api/discovery/v0/conditions/wall_pb2_grpc.pyi +211 -0
  117. ansys/api/discovery/v0/connections/contact.proto +110 -0
  118. ansys/api/discovery/v0/connections/contact_pb2.py +46 -0
  119. ansys/api/discovery/v0/connections/contact_pb2.pyi +242 -0
  120. ansys/api/discovery/v0/connections/contact_pb2_grpc.py +827 -0
  121. ansys/api/discovery/v0/connections/contact_pb2_grpc.pyi +258 -0
  122. ansys/api/discovery/v0/connections/contactgroup.proto +89 -0
  123. ansys/api/discovery/v0/connections/contactgroup_pb2.py +37 -0
  124. ansys/api/discovery/v0/connections/contactgroup_pb2.pyi +178 -0
  125. ansys/api/discovery/v0/connections/contactgroup_pb2_grpc.py +860 -0
  126. ansys/api/discovery/v0/connections/contactgroup_pb2_grpc.pyi +266 -0
  127. ansys/api/discovery/v0/connections/joint.proto +56 -0
  128. ansys/api/discovery/v0/connections/joint_pb2.py +40 -0
  129. ansys/api/discovery/v0/connections/joint_pb2.pyi +129 -0
  130. ansys/api/discovery/v0/connections/joint_pb2_grpc.py +167 -0
  131. ansys/api/discovery/v0/connections/joint_pb2_grpc.pyi +58 -0
  132. ansys/api/discovery/v0/discoverymodels.proto +34 -17
  133. ansys/api/discovery/v0/discoverymodels_pb2.py +46 -40
  134. ansys/api/discovery/v0/discoverymodels_pb2.pyi +118 -47
  135. ansys/api/discovery/v0/engineeringdata/boltdata.proto +37 -0
  136. ansys/api/discovery/v0/engineeringdata/boltdata_pb2.py +36 -0
  137. ansys/api/discovery/v0/engineeringdata/boltdata_pb2.pyi +81 -0
  138. ansys/api/discovery/v0/engineeringdata/boltdata_pb2_grpc.py +67 -0
  139. ansys/api/discovery/v0/engineeringdata/boltdata_pb2_grpc.pyi +27 -0
  140. ansys/api/discovery/v0/monitors.proto +4 -4
  141. ansys/api/discovery/v0/monitors_pb2.py +10 -10
  142. ansys/api/discovery/v0/monitors_pb2.pyi +11 -11
  143. ansys/api/discovery/v0/solution.proto +4 -3
  144. ansys/api/discovery/v0/solution_pb2.py +16 -15
  145. ansys/api/discovery/v0/solution_pb2.pyi +11 -7
  146. ansys/api/discovery/v0/unsupported.proto +10 -0
  147. ansys/api/discovery/v0/unsupported_pb2.py +5 -3
  148. ansys/api/discovery/v0/unsupported_pb2.pyi +14 -0
  149. ansys/api/discovery/v0/unsupported_pb2_grpc.py +68 -0
  150. ansys/api/discovery/v0/unsupported_pb2_grpc.pyi +24 -0
  151. {ansys_api_discovery-0.6.3.dist-info → ansys_api_discovery-0.6.5.dist-info}/METADATA +13 -4
  152. ansys_api_discovery-0.6.5.dist-info/RECORD +200 -0
  153. {ansys_api_discovery-0.6.3.dist-info → ansys_api_discovery-0.6.5.dist-info}/WHEEL +1 -1
  154. ansys/api/discovery/v0/conditions_pb2.py +0 -33
  155. ansys/api/discovery/v0/conditionsfluid_pb2.py +0 -85
  156. ansys/api/discovery/v0/conditionsstructural.proto +0 -595
  157. ansys/api/discovery/v0/conditionsstructural_pb2.py +0 -149
  158. ansys/api/discovery/v0/conditionsstructural_pb2.pyi +0 -1216
  159. ansys/api/discovery/v0/conditionsstructural_pb2_grpc.py +0 -4171
  160. ansys/api/discovery/v0/conditionsstructural_pb2_grpc.pyi +0 -1303
  161. ansys/api/discovery/v0/conditionsthermal.proto +0 -179
  162. ansys/api/discovery/v0/conditionsthermal_pb2.py +0 -63
  163. ansys/api/discovery/v0/conditionsthermal_pb2.pyi +0 -399
  164. ansys/api/discovery/v0/conditionsthermal_pb2_grpc.pyi +0 -217
  165. ansys_api_discovery-0.6.3.dist-info/RECORD +0 -85
  166. {ansys_api_discovery-0.6.3.dist-info → ansys_api_discovery-0.6.5.dist-info}/LICENSE +0 -0
  167. {ansys_api_discovery-0.6.3.dist-info → ansys_api_discovery-0.6.5.dist-info}/entry_points.txt +0 -0
  168. {ansys_api_discovery-0.6.3.dist-info → ansys_api_discovery-0.6.5.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,81 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+ import ansys.api.dbu.v0.dbumodels_pb2
6
+ import ansys.api.discovery.v0.discoverymodels_pb2
7
+ import builtins
8
+ import google.protobuf.descriptor
9
+ import google.protobuf.message
10
+ import typing
11
+ import typing_extensions
12
+
13
+ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor = ...
14
+
15
+ class BoltDataLibraryRequest(google.protobuf.message.Message):
16
+ """BoltData"""
17
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
18
+ LABEL_FIELD_NUMBER: builtins.int
19
+ label: typing.Text = ...
20
+ def __init__(self,
21
+ *,
22
+ label : typing.Text = ...,
23
+ ) -> None: ...
24
+ def ClearField(self, field_name: typing_extensions.Literal["label",b"label"]) -> None: ...
25
+ global___BoltDataLibraryRequest = BoltDataLibraryRequest
26
+
27
+ class BoltDataCreationResponse(google.protobuf.message.Message):
28
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
29
+ CONDITION_RESPONSE_FIELD_NUMBER: builtins.int
30
+ CONDITION_DATA_FIELD_NUMBER: builtins.int
31
+ @property
32
+ def condition_response(self) -> ansys.api.discovery.v0.discoverymodels_pb2.CreationResponse: ...
33
+ @property
34
+ def condition_data(self) -> global___BoltDataDefinition: ...
35
+ def __init__(self,
36
+ *,
37
+ condition_response : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.CreationResponse] = ...,
38
+ condition_data : typing.Optional[global___BoltDataDefinition] = ...,
39
+ ) -> None: ...
40
+ def HasField(self, field_name: typing_extensions.Literal["condition_data",b"condition_data","condition_response",b"condition_response"]) -> builtins.bool: ...
41
+ def ClearField(self, field_name: typing_extensions.Literal["condition_data",b"condition_data","condition_response",b"condition_response"]) -> None: ...
42
+ global___BoltDataCreationResponse = BoltDataCreationResponse
43
+
44
+ class BoltDataProperties(google.protobuf.message.Message):
45
+ """BoltData condition definitions"""
46
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
47
+ MATERIAL_NAME_FIELD_NUMBER: builtins.int
48
+ material_name: typing.Text = ...
49
+ def __init__(self,
50
+ *,
51
+ material_name : typing.Text = ...,
52
+ ) -> None: ...
53
+ def ClearField(self, field_name: typing_extensions.Literal["material_name",b"material_name"]) -> None: ...
54
+ global___BoltDataProperties = BoltDataProperties
55
+
56
+ class BoltDataDefinition(google.protobuf.message.Message):
57
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
58
+ ID_FIELD_NUMBER: builtins.int
59
+ PARENT_ID_FIELD_NUMBER: builtins.int
60
+ LABEL_FIELD_NUMBER: builtins.int
61
+ SUPPRESSED_FIELD_NUMBER: builtins.int
62
+ BOLT_FIELD_NUMBER: builtins.int
63
+ @property
64
+ def id(self) -> ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier: ...
65
+ @property
66
+ def parent_id(self) -> ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier: ...
67
+ label: typing.Text = ...
68
+ suppressed: builtins.bool = ...
69
+ @property
70
+ def bolt(self) -> global___BoltDataProperties: ...
71
+ def __init__(self,
72
+ *,
73
+ id : typing.Optional[ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier] = ...,
74
+ parent_id : typing.Optional[ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier] = ...,
75
+ label : typing.Text = ...,
76
+ suppressed : builtins.bool = ...,
77
+ bolt : typing.Optional[global___BoltDataProperties] = ...,
78
+ ) -> None: ...
79
+ def HasField(self, field_name: typing_extensions.Literal["bolt",b"bolt","id",b"id","parent_id",b"parent_id"]) -> builtins.bool: ...
80
+ def ClearField(self, field_name: typing_extensions.Literal["bolt",b"bolt","id",b"id","label",b"label","parent_id",b"parent_id","suppressed",b"suppressed"]) -> None: ...
81
+ global___BoltDataDefinition = BoltDataDefinition
@@ -0,0 +1,67 @@
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.engineeringdata import boltdata_pb2 as ansys_dot_api_dot_discovery_dot_v0_dot_engineeringdata_dot_boltdata__pb2
6
+
7
+
8
+ class BoltDataStub(object):
9
+ """Missing associated documentation comment in .proto file."""
10
+
11
+ def __init__(self, channel):
12
+ """Constructor.
13
+
14
+ Args:
15
+ channel: A grpc.Channel.
16
+ """
17
+ self.GetBoltDataFromLibrary = channel.unary_unary(
18
+ '/ansys.api.discovery.v0.engineeringdata.boltdata.BoltData/GetBoltDataFromLibrary',
19
+ request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_engineeringdata_dot_boltdata__pb2.BoltDataLibraryRequest.SerializeToString,
20
+ response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_engineeringdata_dot_boltdata__pb2.BoltDataCreationResponse.FromString,
21
+ )
22
+
23
+
24
+ class BoltDataServicer(object):
25
+ """Missing associated documentation comment in .proto file."""
26
+
27
+ def GetBoltDataFromLibrary(self, request, context):
28
+ """BoltData condition methods
29
+ """
30
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
31
+ context.set_details('Method not implemented!')
32
+ raise NotImplementedError('Method not implemented!')
33
+
34
+
35
+ def add_BoltDataServicer_to_server(servicer, server):
36
+ rpc_method_handlers = {
37
+ 'GetBoltDataFromLibrary': grpc.unary_unary_rpc_method_handler(
38
+ servicer.GetBoltDataFromLibrary,
39
+ request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_engineeringdata_dot_boltdata__pb2.BoltDataLibraryRequest.FromString,
40
+ response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_engineeringdata_dot_boltdata__pb2.BoltDataCreationResponse.SerializeToString,
41
+ ),
42
+ }
43
+ generic_handler = grpc.method_handlers_generic_handler(
44
+ 'ansys.api.discovery.v0.engineeringdata.boltdata.BoltData', rpc_method_handlers)
45
+ server.add_generic_rpc_handlers((generic_handler,))
46
+
47
+
48
+ # This class is part of an EXPERIMENTAL API.
49
+ class BoltData(object):
50
+ """Missing associated documentation comment in .proto file."""
51
+
52
+ @staticmethod
53
+ def GetBoltDataFromLibrary(request,
54
+ target,
55
+ options=(),
56
+ channel_credentials=None,
57
+ call_credentials=None,
58
+ insecure=False,
59
+ compression=None,
60
+ wait_for_ready=None,
61
+ timeout=None,
62
+ metadata=None):
63
+ return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.engineeringdata.boltdata.BoltData/GetBoltDataFromLibrary',
64
+ ansys_dot_api_dot_discovery_dot_v0_dot_engineeringdata_dot_boltdata__pb2.BoltDataLibraryRequest.SerializeToString,
65
+ ansys_dot_api_dot_discovery_dot_v0_dot_engineeringdata_dot_boltdata__pb2.BoltDataCreationResponse.FromString,
66
+ options, channel_credentials,
67
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@@ -0,0 +1,27 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+ import abc
6
+ import ansys.api.discovery.v0.engineeringdata.boltdata_pb2
7
+ import grpc
8
+
9
+ class BoltDataStub:
10
+ def __init__(self, channel: grpc.Channel) -> None: ...
11
+ GetBoltDataFromLibrary: grpc.UnaryUnaryMultiCallable[
12
+ ansys.api.discovery.v0.engineeringdata.boltdata_pb2.BoltDataLibraryRequest,
13
+ ansys.api.discovery.v0.engineeringdata.boltdata_pb2.BoltDataCreationResponse] = ...
14
+ """BoltData condition methods"""
15
+
16
+
17
+ class BoltDataServicer(metaclass=abc.ABCMeta):
18
+ @abc.abstractmethod
19
+ def GetBoltDataFromLibrary(self,
20
+ request: ansys.api.discovery.v0.engineeringdata.boltdata_pb2.BoltDataLibraryRequest,
21
+ context: grpc.ServicerContext,
22
+ ) -> ansys.api.discovery.v0.engineeringdata.boltdata_pb2.BoltDataCreationResponse:
23
+ """BoltData condition methods"""
24
+ pass
25
+
26
+
27
+ def add_BoltDataServicer_to_server(servicer: BoltDataServicer, server: grpc.Server) -> None: ...
@@ -16,7 +16,7 @@ service Monitors
16
16
 
17
17
  message CreateMonitorRequest{
18
18
  // The monitor id
19
- ScopedCreationData creation_data = 1;
19
+ DoubleSidedScopedCreationData creation_data = 1;
20
20
  MonitorProperties monitor = 2;
21
21
  }
22
22
 
@@ -31,12 +31,12 @@ message MonitorProperties{
31
31
  ansys.api.discovery.v0.results.ResultVariable result_variable = 1;
32
32
  ansys.api.discovery.v0.results.ResultFunction result_function = 2;
33
33
  optional ansys.api.discovery.v0.results.ResultComponent result_component = 3;
34
- repeated string locations_secondary = 4;
35
34
  }
36
35
 
37
36
  message MonitorDefinition{
38
37
  string id = 1;
39
38
  string label = 2;
40
- repeated string locations = 3;
41
- MonitorProperties monitor = 4;
39
+ repeated string side1_locations = 3;
40
+ repeated string side2_locations = 4;
41
+ MonitorProperties monitor = 5;
42
42
  }
@@ -16,7 +16,7 @@ from ansys.api.discovery.v0 import results_pb2 as ansys_dot_api_dot_discovery_do
16
16
  from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
17
17
 
18
18
 
19
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%ansys/api/discovery/v0/monitors.proto\x12\x1f\x61nsys.api.discovery.v0.monitors\x1a,ansys/api/discovery/v0/discoverymodels.proto\x1a$ansys/api/discovery/v0/results.proto\x1a\x1bgoogle/protobuf/empty.proto\"\x9e\x01\n\x14\x43reateMonitorRequest\x12\x41\n\rcreation_data\x18\x01 \x01(\x0b\x32*.ansys.api.discovery.v0.ScopedCreationData\x12\x43\n\x07monitor\x18\x02 \x01(\x0b\x32\x32.ansys.api.discovery.v0.monitors.MonitorProperties\"\xa2\x01\n\x17MonitorCreationResponse\x12\x42\n\x10monitor_response\x18\x01 \x01(\x0b\x32(.ansys.api.discovery.v0.CreationResponse\x12\x43\n\x07monitor\x18\x02 \x01(\x0b\x32\x32.ansys.api.discovery.v0.monitors.MonitorDefinition\"\xa7\x02\n\x11MonitorProperties\x12G\n\x0fresult_variable\x18\x01 \x01(\x0e\x32..ansys.api.discovery.v0.results.ResultVariable\x12G\n\x0fresult_function\x18\x02 \x01(\x0e\x32..ansys.api.discovery.v0.results.ResultFunction\x12N\n\x10result_component\x18\x03 \x01(\x0e\x32/.ansys.api.discovery.v0.results.ResultComponentH\x00\x88\x01\x01\x12\x1b\n\x13locations_secondary\x18\x04 \x03(\tB\x13\n\x11_result_component\"\x86\x01\n\x11MonitorDefinition\x12\n\n\x02id\x18\x01 \x01(\t\x12\r\n\x05label\x18\x02 \x01(\t\x12\x11\n\tlocations\x18\x03 \x03(\t\x12\x43\n\x07monitor\x18\x04 \x01(\x0b\x32\x32.ansys.api.discovery.v0.monitors.MonitorProperties2\x8d\x01\n\x08Monitors\x12\x80\x01\n\rCreateMonitor\x12\x35.ansys.api.discovery.v0.monitors.CreateMonitorRequest\x1a\x38.ansys.api.discovery.v0.monitors.MonitorCreationResponseB\"\xaa\x02\x1f\x41nsys.Api.Discovery.V0.Monitorsb\x06proto3')
19
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%ansys/api/discovery/v0/monitors.proto\x12\x1f\x61nsys.api.discovery.v0.monitors\x1a,ansys/api/discovery/v0/discoverymodels.proto\x1a$ansys/api/discovery/v0/results.proto\x1a\x1bgoogle/protobuf/empty.proto\"\xa9\x01\n\x14\x43reateMonitorRequest\x12L\n\rcreation_data\x18\x01 \x01(\x0b\x32\x35.ansys.api.discovery.v0.DoubleSidedScopedCreationData\x12\x43\n\x07monitor\x18\x02 \x01(\x0b\x32\x32.ansys.api.discovery.v0.monitors.MonitorProperties\"\xa2\x01\n\x17MonitorCreationResponse\x12\x42\n\x10monitor_response\x18\x01 \x01(\x0b\x32(.ansys.api.discovery.v0.CreationResponse\x12\x43\n\x07monitor\x18\x02 \x01(\x0b\x32\x32.ansys.api.discovery.v0.monitors.MonitorDefinition\"\x8a\x02\n\x11MonitorProperties\x12G\n\x0fresult_variable\x18\x01 \x01(\x0e\x32..ansys.api.discovery.v0.results.ResultVariable\x12G\n\x0fresult_function\x18\x02 \x01(\x0e\x32..ansys.api.discovery.v0.results.ResultFunction\x12N\n\x10result_component\x18\x03 \x01(\x0e\x32/.ansys.api.discovery.v0.results.ResultComponentH\x00\x88\x01\x01\x42\x13\n\x11_result_component\"\xa5\x01\n\x11MonitorDefinition\x12\n\n\x02id\x18\x01 \x01(\t\x12\r\n\x05label\x18\x02 \x01(\t\x12\x17\n\x0fside1_locations\x18\x03 \x03(\t\x12\x17\n\x0fside2_locations\x18\x04 \x03(\t\x12\x43\n\x07monitor\x18\x05 \x01(\x0b\x32\x32.ansys.api.discovery.v0.monitors.MonitorProperties2\x8d\x01\n\x08Monitors\x12\x80\x01\n\rCreateMonitor\x12\x35.ansys.api.discovery.v0.monitors.CreateMonitorRequest\x1a\x38.ansys.api.discovery.v0.monitors.MonitorCreationResponseB\"\xaa\x02\x1f\x41nsys.Api.Discovery.V0.Monitorsb\x06proto3')
20
20
 
21
21
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
22
22
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ansys.api.discovery.v0.monitors_pb2', globals())
@@ -25,13 +25,13 @@ if _descriptor._USE_C_DESCRIPTORS == False:
25
25
  DESCRIPTOR._options = None
26
26
  DESCRIPTOR._serialized_options = b'\252\002\037Ansys.Api.Discovery.V0.Monitors'
27
27
  _CREATEMONITORREQUEST._serialized_start=188
28
- _CREATEMONITORREQUEST._serialized_end=346
29
- _MONITORCREATIONRESPONSE._serialized_start=349
30
- _MONITORCREATIONRESPONSE._serialized_end=511
31
- _MONITORPROPERTIES._serialized_start=514
32
- _MONITORPROPERTIES._serialized_end=809
33
- _MONITORDEFINITION._serialized_start=812
34
- _MONITORDEFINITION._serialized_end=946
35
- _MONITORS._serialized_start=949
36
- _MONITORS._serialized_end=1090
28
+ _CREATEMONITORREQUEST._serialized_end=357
29
+ _MONITORCREATIONRESPONSE._serialized_start=360
30
+ _MONITORCREATIONRESPONSE._serialized_end=522
31
+ _MONITORPROPERTIES._serialized_start=525
32
+ _MONITORPROPERTIES._serialized_end=791
33
+ _MONITORDEFINITION._serialized_start=794
34
+ _MONITORDEFINITION._serialized_end=959
35
+ _MONITORS._serialized_start=962
36
+ _MONITORS._serialized_end=1103
37
37
  # @@protoc_insertion_point(module_scope)
@@ -18,14 +18,14 @@ class CreateMonitorRequest(google.protobuf.message.Message):
18
18
  CREATION_DATA_FIELD_NUMBER: builtins.int
19
19
  MONITOR_FIELD_NUMBER: builtins.int
20
20
  @property
21
- def creation_data(self) -> ansys.api.discovery.v0.discoverymodels_pb2.ScopedCreationData:
21
+ def creation_data(self) -> ansys.api.discovery.v0.discoverymodels_pb2.DoubleSidedScopedCreationData:
22
22
  """The monitor id"""
23
23
  pass
24
24
  @property
25
25
  def monitor(self) -> global___MonitorProperties: ...
26
26
  def __init__(self,
27
27
  *,
28
- creation_data : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.ScopedCreationData] = ...,
28
+ creation_data : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.DoubleSidedScopedCreationData] = ...,
29
29
  monitor : typing.Optional[global___MonitorProperties] = ...,
30
30
  ) -> None: ...
31
31
  def HasField(self, field_name: typing_extensions.Literal["creation_data",b"creation_data","monitor",b"monitor"]) -> builtins.bool: ...
@@ -58,21 +58,17 @@ class MonitorProperties(google.protobuf.message.Message):
58
58
  RESULT_VARIABLE_FIELD_NUMBER: builtins.int
59
59
  RESULT_FUNCTION_FIELD_NUMBER: builtins.int
60
60
  RESULT_COMPONENT_FIELD_NUMBER: builtins.int
61
- LOCATIONS_SECONDARY_FIELD_NUMBER: builtins.int
62
61
  result_variable: ansys.api.discovery.v0.results_pb2.ResultVariable.ValueType = ...
63
62
  result_function: ansys.api.discovery.v0.results_pb2.ResultFunction.ValueType = ...
64
63
  result_component: ansys.api.discovery.v0.results_pb2.ResultComponent.ValueType = ...
65
- @property
66
- def locations_secondary(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[typing.Text]: ...
67
64
  def __init__(self,
68
65
  *,
69
66
  result_variable : ansys.api.discovery.v0.results_pb2.ResultVariable.ValueType = ...,
70
67
  result_function : ansys.api.discovery.v0.results_pb2.ResultFunction.ValueType = ...,
71
68
  result_component : typing.Optional[ansys.api.discovery.v0.results_pb2.ResultComponent.ValueType] = ...,
72
- locations_secondary : typing.Optional[typing.Iterable[typing.Text]] = ...,
73
69
  ) -> None: ...
74
70
  def HasField(self, field_name: typing_extensions.Literal["_result_component",b"_result_component","result_component",b"result_component"]) -> builtins.bool: ...
75
- def ClearField(self, field_name: typing_extensions.Literal["_result_component",b"_result_component","locations_secondary",b"locations_secondary","result_component",b"result_component","result_function",b"result_function","result_variable",b"result_variable"]) -> None: ...
71
+ def ClearField(self, field_name: typing_extensions.Literal["_result_component",b"_result_component","result_component",b"result_component","result_function",b"result_function","result_variable",b"result_variable"]) -> None: ...
76
72
  def WhichOneof(self, oneof_group: typing_extensions.Literal["_result_component",b"_result_component"]) -> typing.Optional[typing_extensions.Literal["result_component"]]: ...
77
73
  global___MonitorProperties = MonitorProperties
78
74
 
@@ -80,21 +76,25 @@ class MonitorDefinition(google.protobuf.message.Message):
80
76
  DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
81
77
  ID_FIELD_NUMBER: builtins.int
82
78
  LABEL_FIELD_NUMBER: builtins.int
83
- LOCATIONS_FIELD_NUMBER: builtins.int
79
+ SIDE1_LOCATIONS_FIELD_NUMBER: builtins.int
80
+ SIDE2_LOCATIONS_FIELD_NUMBER: builtins.int
84
81
  MONITOR_FIELD_NUMBER: builtins.int
85
82
  id: typing.Text = ...
86
83
  label: typing.Text = ...
87
84
  @property
88
- def locations(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[typing.Text]: ...
85
+ def side1_locations(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[typing.Text]: ...
86
+ @property
87
+ def side2_locations(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[typing.Text]: ...
89
88
  @property
90
89
  def monitor(self) -> global___MonitorProperties: ...
91
90
  def __init__(self,
92
91
  *,
93
92
  id : typing.Text = ...,
94
93
  label : typing.Text = ...,
95
- locations : typing.Optional[typing.Iterable[typing.Text]] = ...,
94
+ side1_locations : typing.Optional[typing.Iterable[typing.Text]] = ...,
95
+ side2_locations : typing.Optional[typing.Iterable[typing.Text]] = ...,
96
96
  monitor : typing.Optional[global___MonitorProperties] = ...,
97
97
  ) -> None: ...
98
98
  def HasField(self, field_name: typing_extensions.Literal["monitor",b"monitor"]) -> builtins.bool: ...
99
- def ClearField(self, field_name: typing_extensions.Literal["id",b"id","label",b"label","locations",b"locations","monitor",b"monitor"]) -> None: ...
99
+ def ClearField(self, field_name: typing_extensions.Literal["id",b"id","label",b"label","monitor",b"monitor","side1_locations",b"side1_locations","side2_locations",b"side2_locations"]) -> None: ...
100
100
  global___MonitorDefinition = MonitorDefinition
@@ -2,6 +2,8 @@
2
2
  syntax = "proto3";
3
3
  package ansys.api.discovery.v0.solution;
4
4
 
5
+
6
+ import "ansys/api/dbu/v0/dbumodels.proto";
5
7
  import "google/protobuf/empty.proto";
6
8
 
7
9
  option csharp_namespace = "Ansys.Api.Discovery.V0.Solution";
@@ -18,9 +20,8 @@ message SolverFidelityRequest{
18
20
  double value = 2;
19
21
  }
20
22
 
21
- //TODO Replace string with Enum
22
23
  message SimulationStageRequest{
23
- string simulation = 1;
24
+ ansys.api.dbu.v0.PhysicsEntityIdentifier simulation_id = 1;
24
25
  string stage = 2;
25
26
  }
26
27
 
@@ -29,7 +30,7 @@ message SolverFidelityResponse{
29
30
  }
30
31
 
31
32
  message SolveExecutionRequest{
32
- string simulation_id = 1;
33
+ ansys.api.dbu.v0.PhysicsEntityIdentifier simulation_id = 1;
33
34
  SolverManager solver_manager = 2;
34
35
  bool execute_remotely =3;
35
36
  repeated string variation_id_list = 4;
@@ -11,10 +11,11 @@ from google.protobuf import symbol_database as _symbol_database
11
11
  _sym_db = _symbol_database.Default()
12
12
 
13
13
 
14
+ from ansys.api.dbu.v0 import dbumodels_pb2 as ansys_dot_api_dot_dbu_dot_v0_dot_dbumodels__pb2
14
15
  from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
15
16
 
16
17
 
17
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%ansys/api/discovery/v0/solution.proto\x12\x1f\x61nsys.api.discovery.v0.solution\x1a\x1bgoogle/protobuf/empty.proto\"y\n\x15SolverFidelityRequest\x12Q\n\x10simulation_stage\x18\x01 \x01(\x0b\x32\x37.ansys.api.discovery.v0.solution.SimulationStageRequest\x12\r\n\x05value\x18\x02 \x01(\x01\";\n\x16SimulationStageRequest\x12\x12\n\nsimulation\x18\x01 \x01(\t\x12\r\n\x05stage\x18\x02 \x01(\t\"\'\n\x16SolverFidelityResponse\x12\r\n\x05value\x18\x01 \x01(\x01\"\xab\x01\n\x15SolveExecutionRequest\x12\x15\n\rsimulation_id\x18\x01 \x01(\t\x12\x46\n\x0esolver_manager\x18\x02 \x01(\x0e\x32..ansys.api.discovery.v0.solution.SolverManager\x12\x18\n\x10\x65xecute_remotely\x18\x03 \x01(\x08\x12\x19\n\x11variation_id_list\x18\x04 \x03(\t\":\n\x16SolveExecutionResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x0f\n\x07message\x18\x02 \x01(\t*(\n\rSolverManager\x12\x0b\n\x07\x41RTEMIS\x10\x00\x12\n\n\x06\x41POLLO\x10\x01\x32\xf1\x02\n\x08Solution\x12\x85\x01\n\x11GetSolverFidelity\x12\x37.ansys.api.discovery.v0.solution.SimulationStageRequest\x1a\x37.ansys.api.discovery.v0.solution.SolverFidelityResponse\x12\x63\n\x11SetSolverFidelity\x12\x36.ansys.api.discovery.v0.solution.SolverFidelityRequest\x1a\x16.google.protobuf.Empty\x12x\n\x05Solve\x12\x36.ansys.api.discovery.v0.solution.SolveExecutionRequest\x1a\x37.ansys.api.discovery.v0.solution.SolveExecutionResponseB\"\xaa\x02\x1f\x41nsys.Api.Discovery.V0.Solutionb\x06proto3')
18
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%ansys/api/discovery/v0/solution.proto\x12\x1f\x61nsys.api.discovery.v0.solution\x1a ansys/api/dbu/v0/dbumodels.proto\x1a\x1bgoogle/protobuf/empty.proto\"y\n\x15SolverFidelityRequest\x12Q\n\x10simulation_stage\x18\x01 \x01(\x0b\x32\x37.ansys.api.discovery.v0.solution.SimulationStageRequest\x12\r\n\x05value\x18\x02 \x01(\x01\"i\n\x16SimulationStageRequest\x12@\n\rsimulation_id\x18\x01 \x01(\x0b\x32).ansys.api.dbu.v0.PhysicsEntityIdentifier\x12\r\n\x05stage\x18\x02 \x01(\t\"\'\n\x16SolverFidelityResponse\x12\r\n\x05value\x18\x01 \x01(\x01\"\xd6\x01\n\x15SolveExecutionRequest\x12@\n\rsimulation_id\x18\x01 \x01(\x0b\x32).ansys.api.dbu.v0.PhysicsEntityIdentifier\x12\x46\n\x0esolver_manager\x18\x02 \x01(\x0e\x32..ansys.api.discovery.v0.solution.SolverManager\x12\x18\n\x10\x65xecute_remotely\x18\x03 \x01(\x08\x12\x19\n\x11variation_id_list\x18\x04 \x03(\t\":\n\x16SolveExecutionResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x0f\n\x07message\x18\x02 \x01(\t*(\n\rSolverManager\x12\x0b\n\x07\x41RTEMIS\x10\x00\x12\n\n\x06\x41POLLO\x10\x01\x32\xf1\x02\n\x08Solution\x12\x85\x01\n\x11GetSolverFidelity\x12\x37.ansys.api.discovery.v0.solution.SimulationStageRequest\x1a\x37.ansys.api.discovery.v0.solution.SolverFidelityResponse\x12\x63\n\x11SetSolverFidelity\x12\x36.ansys.api.discovery.v0.solution.SolverFidelityRequest\x1a\x16.google.protobuf.Empty\x12x\n\x05Solve\x12\x36.ansys.api.discovery.v0.solution.SolveExecutionRequest\x1a\x37.ansys.api.discovery.v0.solution.SolveExecutionResponseB\"\xaa\x02\x1f\x41nsys.Api.Discovery.V0.Solutionb\x06proto3')
18
19
 
19
20
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
20
21
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ansys.api.discovery.v0.solution_pb2', globals())
@@ -22,18 +23,18 @@ if _descriptor._USE_C_DESCRIPTORS == False:
22
23
 
23
24
  DESCRIPTOR._options = None
24
25
  DESCRIPTOR._serialized_options = b'\252\002\037Ansys.Api.Discovery.V0.Solution'
25
- _SOLVERMANAGER._serialized_start=562
26
- _SOLVERMANAGER._serialized_end=602
27
- _SOLVERFIDELITYREQUEST._serialized_start=103
28
- _SOLVERFIDELITYREQUEST._serialized_end=224
29
- _SIMULATIONSTAGEREQUEST._serialized_start=226
30
- _SIMULATIONSTAGEREQUEST._serialized_end=285
31
- _SOLVERFIDELITYRESPONSE._serialized_start=287
32
- _SOLVERFIDELITYRESPONSE._serialized_end=326
33
- _SOLVEEXECUTIONREQUEST._serialized_start=329
34
- _SOLVEEXECUTIONREQUEST._serialized_end=500
35
- _SOLVEEXECUTIONRESPONSE._serialized_start=502
36
- _SOLVEEXECUTIONRESPONSE._serialized_end=560
37
- _SOLUTION._serialized_start=605
38
- _SOLUTION._serialized_end=974
26
+ _SOLVERMANAGER._serialized_start=685
27
+ _SOLVERMANAGER._serialized_end=725
28
+ _SOLVERFIDELITYREQUEST._serialized_start=137
29
+ _SOLVERFIDELITYREQUEST._serialized_end=258
30
+ _SIMULATIONSTAGEREQUEST._serialized_start=260
31
+ _SIMULATIONSTAGEREQUEST._serialized_end=365
32
+ _SOLVERFIDELITYRESPONSE._serialized_start=367
33
+ _SOLVERFIDELITYRESPONSE._serialized_end=406
34
+ _SOLVEEXECUTIONREQUEST._serialized_start=409
35
+ _SOLVEEXECUTIONREQUEST._serialized_end=623
36
+ _SOLVEEXECUTIONRESPONSE._serialized_start=625
37
+ _SOLVEEXECUTIONRESPONSE._serialized_end=683
38
+ _SOLUTION._serialized_start=728
39
+ _SOLUTION._serialized_end=1097
39
40
  # @@protoc_insertion_point(module_scope)
@@ -2,6 +2,7 @@
2
2
  @generated by mypy-protobuf. Do not edit manually!
3
3
  isort:skip_file
4
4
  """
5
+ import ansys.api.dbu.v0.dbumodels_pb2
5
6
  import builtins
6
7
  import google.protobuf.descriptor
7
8
  import google.protobuf.internal.containers
@@ -44,18 +45,19 @@ class SolverFidelityRequest(google.protobuf.message.Message):
44
45
  global___SolverFidelityRequest = SolverFidelityRequest
45
46
 
46
47
  class SimulationStageRequest(google.protobuf.message.Message):
47
- """TODO Replace string with Enum"""
48
48
  DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
49
- SIMULATION_FIELD_NUMBER: builtins.int
49
+ SIMULATION_ID_FIELD_NUMBER: builtins.int
50
50
  STAGE_FIELD_NUMBER: builtins.int
51
- simulation: typing.Text = ...
51
+ @property
52
+ def simulation_id(self) -> ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier: ...
52
53
  stage: typing.Text = ...
53
54
  def __init__(self,
54
55
  *,
55
- simulation : typing.Text = ...,
56
+ simulation_id : typing.Optional[ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier] = ...,
56
57
  stage : typing.Text = ...,
57
58
  ) -> None: ...
58
- def ClearField(self, field_name: typing_extensions.Literal["simulation",b"simulation","stage",b"stage"]) -> None: ...
59
+ def HasField(self, field_name: typing_extensions.Literal["simulation_id",b"simulation_id"]) -> builtins.bool: ...
60
+ def ClearField(self, field_name: typing_extensions.Literal["simulation_id",b"simulation_id","stage",b"stage"]) -> None: ...
59
61
  global___SimulationStageRequest = SimulationStageRequest
60
62
 
61
63
  class SolverFidelityResponse(google.protobuf.message.Message):
@@ -75,18 +77,20 @@ class SolveExecutionRequest(google.protobuf.message.Message):
75
77
  SOLVER_MANAGER_FIELD_NUMBER: builtins.int
76
78
  EXECUTE_REMOTELY_FIELD_NUMBER: builtins.int
77
79
  VARIATION_ID_LIST_FIELD_NUMBER: builtins.int
78
- simulation_id: typing.Text = ...
80
+ @property
81
+ def simulation_id(self) -> ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier: ...
79
82
  solver_manager: global___SolverManager.ValueType = ...
80
83
  execute_remotely: builtins.bool = ...
81
84
  @property
82
85
  def variation_id_list(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[typing.Text]: ...
83
86
  def __init__(self,
84
87
  *,
85
- simulation_id : typing.Text = ...,
88
+ simulation_id : typing.Optional[ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier] = ...,
86
89
  solver_manager : global___SolverManager.ValueType = ...,
87
90
  execute_remotely : builtins.bool = ...,
88
91
  variation_id_list : typing.Optional[typing.Iterable[typing.Text]] = ...,
89
92
  ) -> None: ...
93
+ def HasField(self, field_name: typing_extensions.Literal["simulation_id",b"simulation_id"]) -> builtins.bool: ...
90
94
  def ClearField(self, field_name: typing_extensions.Literal["execute_remotely",b"execute_remotely","simulation_id",b"simulation_id","solver_manager",b"solver_manager","variation_id_list",b"variation_id_list"]) -> None: ...
91
95
  global___SolveExecutionRequest = SolveExecutionRequest
92
96
 
@@ -16,6 +16,11 @@ service Unsupported {
16
16
 
17
17
  // Exports Live results to file.
18
18
  rpc ExportResultsToOpenVDBFile(VariableExportRequestToFile) returns(ansys.api.dbu.v0.RequestResult);
19
+
20
+ // Gets max and min value from the legend
21
+ rpc GetLegendMaximumValue(google.protobuf.Empty) returns(DoubleValueResponse);
22
+ rpc GetLegendMinimumValue(google.protobuf.Empty) returns(DoubleValueResponse);
23
+
19
24
  }
20
25
 
21
26
  message VariableExportRequest {
@@ -30,4 +35,9 @@ message VariableExportRequestToFile {
30
35
  message ByteArrayResponse {
31
36
  bytes bytes = 1;
32
37
  bool success = 2;
38
+ }
39
+
40
+ message DoubleValueResponse {
41
+ double value = 1;
42
+ bool success = 2;
33
43
  }
@@ -16,7 +16,7 @@ from ansys.api.discovery.v0 import results_pb2 as ansys_dot_api_dot_discovery_do
16
16
  from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
17
17
 
18
18
 
19
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(ansys/api/discovery/v0/unsupported.proto\x12\"ansys.api.discovery.v0.unsupported\x1a ansys/api/dbu/v0/dbumodels.proto\x1a$ansys/api/discovery/v0/results.proto\x1a\x1bgoogle/protobuf/empty.proto\"a\n\x15VariableExportRequest\x12H\n\x10result_variables\x18\x01 \x03(\x0e\x32..ansys.api.discovery.v0.results.ResultVariable\"z\n\x1bVariableExportRequestToFile\x12H\n\x10result_variables\x18\x01 \x03(\x0e\x32..ansys.api.discovery.v0.results.ResultVariable\x12\x11\n\tfile_path\x18\x02 \x01(\t\"3\n\x11\x42yteArrayResponse\x12\r\n\x05\x62ytes\x18\x01 \x01(\x0c\x12\x0f\n\x07success\x18\x02 \x01(\x08\x32\xa0\x02\n\x0bUnsupported\x12\x90\x01\n\x1c\x45xportResultsToOpenVDBMemory\x12\x39.ansys.api.discovery.v0.unsupported.VariableExportRequest\x1a\x35.ansys.api.discovery.v0.unsupported.ByteArrayResponse\x12~\n\x1a\x45xportResultsToOpenVDBFile\x12?.ansys.api.discovery.v0.unsupported.VariableExportRequestToFile\x1a\x1f.ansys.api.dbu.v0.RequestResultB%\xaa\x02\"Ansys.Api.Discovery.V0.Unsupportedb\x06proto3')
19
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(ansys/api/discovery/v0/unsupported.proto\x12\"ansys.api.discovery.v0.unsupported\x1a ansys/api/dbu/v0/dbumodels.proto\x1a$ansys/api/discovery/v0/results.proto\x1a\x1bgoogle/protobuf/empty.proto\"a\n\x15VariableExportRequest\x12H\n\x10result_variables\x18\x01 \x03(\x0e\x32..ansys.api.discovery.v0.results.ResultVariable\"z\n\x1bVariableExportRequestToFile\x12H\n\x10result_variables\x18\x01 \x03(\x0e\x32..ansys.api.discovery.v0.results.ResultVariable\x12\x11\n\tfile_path\x18\x02 \x01(\t\"3\n\x11\x42yteArrayResponse\x12\r\n\x05\x62ytes\x18\x01 \x01(\x0c\x12\x0f\n\x07success\x18\x02 \x01(\x08\"5\n\x13\x44oubleValueResponse\x12\r\n\x05value\x18\x01 \x01(\x01\x12\x0f\n\x07success\x18\x02 \x01(\x08\x32\xf4\x03\n\x0bUnsupported\x12\x90\x01\n\x1c\x45xportResultsToOpenVDBMemory\x12\x39.ansys.api.discovery.v0.unsupported.VariableExportRequest\x1a\x35.ansys.api.discovery.v0.unsupported.ByteArrayResponse\x12~\n\x1a\x45xportResultsToOpenVDBFile\x12?.ansys.api.discovery.v0.unsupported.VariableExportRequestToFile\x1a\x1f.ansys.api.dbu.v0.RequestResult\x12h\n\x15GetLegendMaximumValue\x12\x16.google.protobuf.Empty\x1a\x37.ansys.api.discovery.v0.unsupported.DoubleValueResponse\x12h\n\x15GetLegendMinimumValue\x12\x16.google.protobuf.Empty\x1a\x37.ansys.api.discovery.v0.unsupported.DoubleValueResponseB%\xaa\x02\"Ansys.Api.Discovery.V0.Unsupportedb\x06proto3')
20
20
 
21
21
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
22
22
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ansys.api.discovery.v0.unsupported_pb2', globals())
@@ -30,6 +30,8 @@ if _descriptor._USE_C_DESCRIPTORS == False:
30
30
  _VARIABLEEXPORTREQUESTTOFILE._serialized_end=402
31
31
  _BYTEARRAYRESPONSE._serialized_start=404
32
32
  _BYTEARRAYRESPONSE._serialized_end=455
33
- _UNSUPPORTED._serialized_start=458
34
- _UNSUPPORTED._serialized_end=746
33
+ _DOUBLEVALUERESPONSE._serialized_start=457
34
+ _DOUBLEVALUERESPONSE._serialized_end=510
35
+ _UNSUPPORTED._serialized_start=513
36
+ _UNSUPPORTED._serialized_end=1013
35
37
  # @@protoc_insertion_point(module_scope)
@@ -52,3 +52,17 @@ class ByteArrayResponse(google.protobuf.message.Message):
52
52
  ) -> None: ...
53
53
  def ClearField(self, field_name: typing_extensions.Literal["bytes",b"bytes","success",b"success"]) -> None: ...
54
54
  global___ByteArrayResponse = ByteArrayResponse
55
+
56
+ class DoubleValueResponse(google.protobuf.message.Message):
57
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
58
+ VALUE_FIELD_NUMBER: builtins.int
59
+ SUCCESS_FIELD_NUMBER: builtins.int
60
+ value: builtins.float = ...
61
+ success: builtins.bool = ...
62
+ def __init__(self,
63
+ *,
64
+ value : builtins.float = ...,
65
+ success : builtins.bool = ...,
66
+ ) -> None: ...
67
+ def ClearField(self, field_name: typing_extensions.Literal["success",b"success","value",b"value"]) -> None: ...
68
+ global___DoubleValueResponse = DoubleValueResponse
@@ -4,6 +4,7 @@ import grpc
4
4
 
5
5
  from ansys.api.dbu.v0 import dbumodels_pb2 as ansys_dot_api_dot_dbu_dot_v0_dot_dbumodels__pb2
6
6
  from ansys.api.discovery.v0 import unsupported_pb2 as ansys_dot_api_dot_discovery_dot_v0_dot_unsupported__pb2
7
+ from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
7
8
 
8
9
 
9
10
  class UnsupportedStub(object):
@@ -25,6 +26,16 @@ class UnsupportedStub(object):
25
26
  request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_unsupported__pb2.VariableExportRequestToFile.SerializeToString,
26
27
  response_deserializer=ansys_dot_api_dot_dbu_dot_v0_dot_dbumodels__pb2.RequestResult.FromString,
27
28
  )
29
+ self.GetLegendMaximumValue = channel.unary_unary(
30
+ '/ansys.api.discovery.v0.unsupported.Unsupported/GetLegendMaximumValue',
31
+ request_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
32
+ response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_unsupported__pb2.DoubleValueResponse.FromString,
33
+ )
34
+ self.GetLegendMinimumValue = channel.unary_unary(
35
+ '/ansys.api.discovery.v0.unsupported.Unsupported/GetLegendMinimumValue',
36
+ request_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
37
+ response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_unsupported__pb2.DoubleValueResponse.FromString,
38
+ )
28
39
 
29
40
 
30
41
  class UnsupportedServicer(object):
@@ -44,6 +55,19 @@ class UnsupportedServicer(object):
44
55
  context.set_details('Method not implemented!')
45
56
  raise NotImplementedError('Method not implemented!')
46
57
 
58
+ def GetLegendMaximumValue(self, request, context):
59
+ """Gets max and min value from the legend
60
+ """
61
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
62
+ context.set_details('Method not implemented!')
63
+ raise NotImplementedError('Method not implemented!')
64
+
65
+ def GetLegendMinimumValue(self, request, context):
66
+ """Missing associated documentation comment in .proto file."""
67
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
68
+ context.set_details('Method not implemented!')
69
+ raise NotImplementedError('Method not implemented!')
70
+
47
71
 
48
72
  def add_UnsupportedServicer_to_server(servicer, server):
49
73
  rpc_method_handlers = {
@@ -57,6 +81,16 @@ def add_UnsupportedServicer_to_server(servicer, server):
57
81
  request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_unsupported__pb2.VariableExportRequestToFile.FromString,
58
82
  response_serializer=ansys_dot_api_dot_dbu_dot_v0_dot_dbumodels__pb2.RequestResult.SerializeToString,
59
83
  ),
84
+ 'GetLegendMaximumValue': grpc.unary_unary_rpc_method_handler(
85
+ servicer.GetLegendMaximumValue,
86
+ request_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
87
+ response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_unsupported__pb2.DoubleValueResponse.SerializeToString,
88
+ ),
89
+ 'GetLegendMinimumValue': grpc.unary_unary_rpc_method_handler(
90
+ servicer.GetLegendMinimumValue,
91
+ request_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
92
+ response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_unsupported__pb2.DoubleValueResponse.SerializeToString,
93
+ ),
60
94
  }
61
95
  generic_handler = grpc.method_handlers_generic_handler(
62
96
  'ansys.api.discovery.v0.unsupported.Unsupported', rpc_method_handlers)
@@ -100,3 +134,37 @@ class Unsupported(object):
100
134
  ansys_dot_api_dot_dbu_dot_v0_dot_dbumodels__pb2.RequestResult.FromString,
101
135
  options, channel_credentials,
102
136
  insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
137
+
138
+ @staticmethod
139
+ def GetLegendMaximumValue(request,
140
+ target,
141
+ options=(),
142
+ channel_credentials=None,
143
+ call_credentials=None,
144
+ insecure=False,
145
+ compression=None,
146
+ wait_for_ready=None,
147
+ timeout=None,
148
+ metadata=None):
149
+ return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.unsupported.Unsupported/GetLegendMaximumValue',
150
+ google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
151
+ ansys_dot_api_dot_discovery_dot_v0_dot_unsupported__pb2.DoubleValueResponse.FromString,
152
+ options, channel_credentials,
153
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
154
+
155
+ @staticmethod
156
+ def GetLegendMinimumValue(request,
157
+ target,
158
+ options=(),
159
+ channel_credentials=None,
160
+ call_credentials=None,
161
+ insecure=False,
162
+ compression=None,
163
+ wait_for_ready=None,
164
+ timeout=None,
165
+ metadata=None):
166
+ return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.unsupported.Unsupported/GetLegendMinimumValue',
167
+ google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
168
+ ansys_dot_api_dot_discovery_dot_v0_dot_unsupported__pb2.DoubleValueResponse.FromString,
169
+ options, channel_credentials,
170
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)