ansys-api-discovery 0.5.2__py3-none-any.whl → 0.6.0__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.
- ansys/api/discovery/VERSION +1 -1
- ansys/api/discovery/v0/conditions.proto +11 -46
- ansys/api/discovery/v0/conditions_pb2.py +12 -70
- ansys/api/discovery/v0/conditions_pb2.pyi +16 -88
- ansys/api/discovery/v0/conditions_pb2_grpc.py +40 -139
- ansys/api/discovery/v0/conditions_pb2_grpc.pyi +20 -50
- ansys/api/discovery/v0/conditionsfluid.proto +246 -0
- ansys/api/discovery/v0/conditionsfluid_pb2.py +85 -0
- ansys/api/discovery/v0/conditionsfluid_pb2.pyi +590 -0
- ansys/api/discovery/v0/conditionsfluid_pb2_grpc.py +662 -0
- ansys/api/discovery/v0/conditionsfluid_pb2_grpc.pyi +208 -0
- ansys/api/discovery/v0/conditionsstructural.proto +407 -0
- ansys/api/discovery/v0/conditionsstructural_pb2.py +113 -0
- ansys/api/discovery/v0/conditionsstructural_pb2.pyi +839 -0
- ansys/api/discovery/v0/conditionsstructural_pb2_grpc.py +2746 -0
- ansys/api/discovery/v0/conditionsstructural_pb2_grpc.pyi +854 -0
- ansys/api/discovery/v0/conditionsthermal.proto +179 -0
- ansys/api/discovery/v0/conditionsthermal_pb2.py +63 -0
- ansys/api/discovery/v0/conditionsthermal_pb2.pyi +399 -0
- ansys/api/discovery/v0/conditionsthermal_pb2_grpc.py +665 -0
- ansys/api/discovery/v0/conditionsthermal_pb2_grpc.pyi +217 -0
- ansys/api/discovery/v0/definedvariationstable.proto +12 -0
- ansys/api/discovery/v0/definedvariationstable_pb2.py +12 -116
- ansys/api/discovery/v0/definedvariationstable_pb2.pyi +16 -0
- ansys/api/discovery/v0/definedvariationstable_pb2_grpc.py +68 -0
- ansys/api/discovery/v0/definedvariationstable_pb2_grpc.pyi +26 -0
- ansys/api/discovery/v0/discoverymodels.proto +91 -25
- ansys/api/discovery/v0/discoverymodels_pb2.py +59 -211
- ansys/api/discovery/v0/discoverymodels_pb2.pyi +264 -50
- ansys/api/discovery/v0/historytrackparameters_pb2.py +3 -50
- ansys/api/discovery/v0/messaging.proto +0 -2
- ansys/api/discovery/v0/messaging_pb2.py +8 -20
- ansys/api/discovery/v0/scriptparameters_pb2.py +3 -37
- ansys/api/discovery/v0/simulations.proto +0 -1
- ansys/api/discovery/v0/simulations_pb2.py +8 -19
- ansys/api/discovery/v0/solution.proto +18 -2
- ansys/api/discovery/v0/solution_pb2.py +18 -40
- ansys/api/discovery/v0/solution_pb2.pyi +48 -0
- ansys/api/discovery/v0/solution_pb2_grpc.py +33 -0
- ansys/api/discovery/v0/solution_pb2_grpc.pyi +10 -0
- ansys/api/discovery/v0/units_pb2.py +3 -1232
- {ansys_api_discovery-0.5.2.dist-info → ansys_api_discovery-0.6.0.dist-info}/METADATA +8 -8
- ansys_api_discovery-0.6.0.dist-info/RECORD +70 -0
- {ansys_api_discovery-0.5.2.dist-info → ansys_api_discovery-0.6.0.dist-info}/WHEEL +1 -1
- ansys_api_discovery-0.5.2.dist-info/RECORD +0 -55
- {ansys_api_discovery-0.5.2.dist-info → ansys_api_discovery-0.6.0.dist-info}/LICENSE +0 -0
- {ansys_api_discovery-0.5.2.dist-info → ansys_api_discovery-0.6.0.dist-info}/entry_points.txt +0 -0
- {ansys_api_discovery-0.5.2.dist-info → ansys_api_discovery-0.6.0.dist-info}/top_level.txt +0 -0
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
syntax = "proto3";
|
|
3
3
|
package ansys.api.discovery.v0.solution;
|
|
4
4
|
|
|
5
|
-
import "ansys/api/dbu/v0/dbumodels.proto";
|
|
6
|
-
import "ansys/api/discovery/v0/discoverymodels.proto";
|
|
7
5
|
import "google/protobuf/empty.proto";
|
|
8
6
|
|
|
9
7
|
option csharp_namespace = "Ansys.Api.Discovery.V0.Solution";
|
|
@@ -12,6 +10,7 @@ service Solution
|
|
|
12
10
|
{
|
|
13
11
|
rpc GetSolverFidelity(SimulationStageRequest) returns (SolverFidelityResponse);
|
|
14
12
|
rpc SetSolverFidelity(SolverFidelityRequest) returns (google.protobuf.Empty);
|
|
13
|
+
rpc Solve(SolveExecutionRequest) returns (SolveExecutionResponse);
|
|
15
14
|
}
|
|
16
15
|
|
|
17
16
|
message SolverFidelityRequest{
|
|
@@ -19,6 +18,7 @@ message SolverFidelityRequest{
|
|
|
19
18
|
double value = 2;
|
|
20
19
|
}
|
|
21
20
|
|
|
21
|
+
//TODO Replace string with Enum
|
|
22
22
|
message SimulationStageRequest{
|
|
23
23
|
string simulation = 1;
|
|
24
24
|
string stage = 2;
|
|
@@ -26,4 +26,20 @@ message SimulationStageRequest{
|
|
|
26
26
|
|
|
27
27
|
message SolverFidelityResponse{
|
|
28
28
|
double value = 1;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
message SolveExecutionRequest{
|
|
32
|
+
string simulation_id = 1;
|
|
33
|
+
Stage stage = 2;
|
|
34
|
+
bool execute_remotely =3;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
message SolveExecutionResponse{
|
|
38
|
+
bool success = 1;
|
|
39
|
+
string message = 2;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
enum Stage {
|
|
43
|
+
EXPLORE = 0;
|
|
44
|
+
REFINE = 1;
|
|
29
45
|
}
|
|
@@ -2,60 +2,38 @@
|
|
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
3
|
# source: ansys/api/discovery/v0/solution.proto
|
|
4
4
|
"""Generated protocol buffer code."""
|
|
5
|
+
from google.protobuf.internal import builder as _builder
|
|
5
6
|
from google.protobuf import descriptor as _descriptor
|
|
6
7
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
7
|
-
from google.protobuf import message as _message
|
|
8
|
-
from google.protobuf import reflection as _reflection
|
|
9
8
|
from google.protobuf import symbol_database as _symbol_database
|
|
10
9
|
# @@protoc_insertion_point(imports)
|
|
11
10
|
|
|
12
11
|
_sym_db = _symbol_database.Default()
|
|
13
12
|
|
|
14
13
|
|
|
15
|
-
from ansys.api.dbu.v0 import dbumodels_pb2 as ansys_dot_api_dot_dbu_dot_v0_dot_dbumodels__pb2
|
|
16
|
-
from ansys.api.discovery.v0 import discoverymodels_pb2 as ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2
|
|
17
14
|
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
|
|
18
15
|
|
|
19
16
|
|
|
20
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%ansys/api/discovery/v0/solution.proto\x12\x1f\x61nsys.api.discovery.v0.solution\x1a
|
|
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\"\x7f\n\x15SolveExecutionRequest\x12\x15\n\rsimulation_id\x18\x01 \x01(\t\x12\x35\n\x05stage\x18\x02 \x01(\x0e\x32&.ansys.api.discovery.v0.solution.Stage\x12\x18\n\x10\x65xecute_remotely\x18\x03 \x01(\x08\":\n\x16SolveExecutionResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x0f\n\x07message\x18\x02 \x01(\t* \n\x05Stage\x12\x0b\n\x07\x45XPLORE\x10\x00\x12\n\n\x06REFINE\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')
|
|
21
18
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
_SOLVERFIDELITYREQUEST = DESCRIPTOR.message_types_by_name['SolverFidelityRequest']
|
|
25
|
-
_SIMULATIONSTAGEREQUEST = DESCRIPTOR.message_types_by_name['SimulationStageRequest']
|
|
26
|
-
_SOLVERFIDELITYRESPONSE = DESCRIPTOR.message_types_by_name['SolverFidelityResponse']
|
|
27
|
-
SolverFidelityRequest = _reflection.GeneratedProtocolMessageType('SolverFidelityRequest', (_message.Message,), {
|
|
28
|
-
'DESCRIPTOR' : _SOLVERFIDELITYREQUEST,
|
|
29
|
-
'__module__' : 'ansys.api.discovery.v0.solution_pb2'
|
|
30
|
-
# @@protoc_insertion_point(class_scope:ansys.api.discovery.v0.solution.SolverFidelityRequest)
|
|
31
|
-
})
|
|
32
|
-
_sym_db.RegisterMessage(SolverFidelityRequest)
|
|
33
|
-
|
|
34
|
-
SimulationStageRequest = _reflection.GeneratedProtocolMessageType('SimulationStageRequest', (_message.Message,), {
|
|
35
|
-
'DESCRIPTOR' : _SIMULATIONSTAGEREQUEST,
|
|
36
|
-
'__module__' : 'ansys.api.discovery.v0.solution_pb2'
|
|
37
|
-
# @@protoc_insertion_point(class_scope:ansys.api.discovery.v0.solution.SimulationStageRequest)
|
|
38
|
-
})
|
|
39
|
-
_sym_db.RegisterMessage(SimulationStageRequest)
|
|
40
|
-
|
|
41
|
-
SolverFidelityResponse = _reflection.GeneratedProtocolMessageType('SolverFidelityResponse', (_message.Message,), {
|
|
42
|
-
'DESCRIPTOR' : _SOLVERFIDELITYRESPONSE,
|
|
43
|
-
'__module__' : 'ansys.api.discovery.v0.solution_pb2'
|
|
44
|
-
# @@protoc_insertion_point(class_scope:ansys.api.discovery.v0.solution.SolverFidelityResponse)
|
|
45
|
-
})
|
|
46
|
-
_sym_db.RegisterMessage(SolverFidelityResponse)
|
|
47
|
-
|
|
48
|
-
_SOLUTION = DESCRIPTOR.services_by_name['Solution']
|
|
19
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
20
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ansys.api.discovery.v0.solution_pb2', globals())
|
|
49
21
|
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
50
22
|
|
|
51
23
|
DESCRIPTOR._options = None
|
|
52
24
|
DESCRIPTOR._serialized_options = b'\252\002\037Ansys.Api.Discovery.V0.Solution'
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
25
|
+
_STAGE._serialized_start=517
|
|
26
|
+
_STAGE._serialized_end=549
|
|
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=328
|
|
34
|
+
_SOLVEEXECUTIONREQUEST._serialized_end=455
|
|
35
|
+
_SOLVEEXECUTIONRESPONSE._serialized_start=457
|
|
36
|
+
_SOLVEEXECUTIONRESPONSE._serialized_end=515
|
|
37
|
+
_SOLUTION._serialized_start=552
|
|
38
|
+
_SOLUTION._serialized_end=921
|
|
61
39
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -4,12 +4,28 @@ isort:skip_file
|
|
|
4
4
|
"""
|
|
5
5
|
import builtins
|
|
6
6
|
import google.protobuf.descriptor
|
|
7
|
+
import google.protobuf.internal.enum_type_wrapper
|
|
7
8
|
import google.protobuf.message
|
|
8
9
|
import typing
|
|
9
10
|
import typing_extensions
|
|
10
11
|
|
|
11
12
|
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor = ...
|
|
12
13
|
|
|
14
|
+
class _Stage:
|
|
15
|
+
ValueType = typing.NewType('ValueType', builtins.int)
|
|
16
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
17
|
+
class _StageEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_Stage.ValueType], builtins.type):
|
|
18
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor = ...
|
|
19
|
+
EXPLORE: Stage.ValueType = ... # 0
|
|
20
|
+
REFINE: Stage.ValueType = ... # 1
|
|
21
|
+
class Stage(_Stage, metaclass=_StageEnumTypeWrapper):
|
|
22
|
+
pass
|
|
23
|
+
|
|
24
|
+
EXPLORE: Stage.ValueType = ... # 0
|
|
25
|
+
REFINE: Stage.ValueType = ... # 1
|
|
26
|
+
global___Stage = Stage
|
|
27
|
+
|
|
28
|
+
|
|
13
29
|
class SolverFidelityRequest(google.protobuf.message.Message):
|
|
14
30
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
|
|
15
31
|
SIMULATION_STAGE_FIELD_NUMBER: builtins.int
|
|
@@ -27,6 +43,7 @@ class SolverFidelityRequest(google.protobuf.message.Message):
|
|
|
27
43
|
global___SolverFidelityRequest = SolverFidelityRequest
|
|
28
44
|
|
|
29
45
|
class SimulationStageRequest(google.protobuf.message.Message):
|
|
46
|
+
"""TODO Replace string with Enum"""
|
|
30
47
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
|
|
31
48
|
SIMULATION_FIELD_NUMBER: builtins.int
|
|
32
49
|
STAGE_FIELD_NUMBER: builtins.int
|
|
@@ -50,3 +67,34 @@ class SolverFidelityResponse(google.protobuf.message.Message):
|
|
|
50
67
|
) -> None: ...
|
|
51
68
|
def ClearField(self, field_name: typing_extensions.Literal["value",b"value"]) -> None: ...
|
|
52
69
|
global___SolverFidelityResponse = SolverFidelityResponse
|
|
70
|
+
|
|
71
|
+
class SolveExecutionRequest(google.protobuf.message.Message):
|
|
72
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
|
|
73
|
+
SIMULATION_ID_FIELD_NUMBER: builtins.int
|
|
74
|
+
STAGE_FIELD_NUMBER: builtins.int
|
|
75
|
+
EXECUTE_REMOTELY_FIELD_NUMBER: builtins.int
|
|
76
|
+
simulation_id: typing.Text = ...
|
|
77
|
+
stage: global___Stage.ValueType = ...
|
|
78
|
+
execute_remotely: builtins.bool = ...
|
|
79
|
+
def __init__(self,
|
|
80
|
+
*,
|
|
81
|
+
simulation_id : typing.Text = ...,
|
|
82
|
+
stage : global___Stage.ValueType = ...,
|
|
83
|
+
execute_remotely : builtins.bool = ...,
|
|
84
|
+
) -> None: ...
|
|
85
|
+
def ClearField(self, field_name: typing_extensions.Literal["execute_remotely",b"execute_remotely","simulation_id",b"simulation_id","stage",b"stage"]) -> None: ...
|
|
86
|
+
global___SolveExecutionRequest = SolveExecutionRequest
|
|
87
|
+
|
|
88
|
+
class SolveExecutionResponse(google.protobuf.message.Message):
|
|
89
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
|
|
90
|
+
SUCCESS_FIELD_NUMBER: builtins.int
|
|
91
|
+
MESSAGE_FIELD_NUMBER: builtins.int
|
|
92
|
+
success: builtins.bool = ...
|
|
93
|
+
message: typing.Text = ...
|
|
94
|
+
def __init__(self,
|
|
95
|
+
*,
|
|
96
|
+
success : builtins.bool = ...,
|
|
97
|
+
message : typing.Text = ...,
|
|
98
|
+
) -> None: ...
|
|
99
|
+
def ClearField(self, field_name: typing_extensions.Literal["message",b"message","success",b"success"]) -> None: ...
|
|
100
|
+
global___SolveExecutionResponse = SolveExecutionResponse
|
|
@@ -25,6 +25,11 @@ class SolutionStub(object):
|
|
|
25
25
|
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_solution__pb2.SolverFidelityRequest.SerializeToString,
|
|
26
26
|
response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
27
27
|
)
|
|
28
|
+
self.Solve = channel.unary_unary(
|
|
29
|
+
'/ansys.api.discovery.v0.solution.Solution/Solve',
|
|
30
|
+
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_solution__pb2.SolveExecutionRequest.SerializeToString,
|
|
31
|
+
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_solution__pb2.SolveExecutionResponse.FromString,
|
|
32
|
+
)
|
|
28
33
|
|
|
29
34
|
|
|
30
35
|
class SolutionServicer(object):
|
|
@@ -42,6 +47,12 @@ class SolutionServicer(object):
|
|
|
42
47
|
context.set_details('Method not implemented!')
|
|
43
48
|
raise NotImplementedError('Method not implemented!')
|
|
44
49
|
|
|
50
|
+
def Solve(self, request, context):
|
|
51
|
+
"""Missing associated documentation comment in .proto file."""
|
|
52
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
53
|
+
context.set_details('Method not implemented!')
|
|
54
|
+
raise NotImplementedError('Method not implemented!')
|
|
55
|
+
|
|
45
56
|
|
|
46
57
|
def add_SolutionServicer_to_server(servicer, server):
|
|
47
58
|
rpc_method_handlers = {
|
|
@@ -55,6 +66,11 @@ def add_SolutionServicer_to_server(servicer, server):
|
|
|
55
66
|
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_solution__pb2.SolverFidelityRequest.FromString,
|
|
56
67
|
response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
57
68
|
),
|
|
69
|
+
'Solve': grpc.unary_unary_rpc_method_handler(
|
|
70
|
+
servicer.Solve,
|
|
71
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_solution__pb2.SolveExecutionRequest.FromString,
|
|
72
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_solution__pb2.SolveExecutionResponse.SerializeToString,
|
|
73
|
+
),
|
|
58
74
|
}
|
|
59
75
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
60
76
|
'ansys.api.discovery.v0.solution.Solution', rpc_method_handlers)
|
|
@@ -98,3 +114,20 @@ class Solution(object):
|
|
|
98
114
|
google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
99
115
|
options, channel_credentials,
|
|
100
116
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
117
|
+
|
|
118
|
+
@staticmethod
|
|
119
|
+
def Solve(request,
|
|
120
|
+
target,
|
|
121
|
+
options=(),
|
|
122
|
+
channel_credentials=None,
|
|
123
|
+
call_credentials=None,
|
|
124
|
+
insecure=False,
|
|
125
|
+
compression=None,
|
|
126
|
+
wait_for_ready=None,
|
|
127
|
+
timeout=None,
|
|
128
|
+
metadata=None):
|
|
129
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.solution.Solution/Solve',
|
|
130
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_solution__pb2.SolveExecutionRequest.SerializeToString,
|
|
131
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_solution__pb2.SolveExecutionResponse.FromString,
|
|
132
|
+
options, channel_credentials,
|
|
133
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
@@ -17,6 +17,10 @@ class SolutionStub:
|
|
|
17
17
|
ansys.api.discovery.v0.solution_pb2.SolverFidelityRequest,
|
|
18
18
|
google.protobuf.empty_pb2.Empty] = ...
|
|
19
19
|
|
|
20
|
+
Solve: grpc.UnaryUnaryMultiCallable[
|
|
21
|
+
ansys.api.discovery.v0.solution_pb2.SolveExecutionRequest,
|
|
22
|
+
ansys.api.discovery.v0.solution_pb2.SolveExecutionResponse] = ...
|
|
23
|
+
|
|
20
24
|
|
|
21
25
|
class SolutionServicer(metaclass=abc.ABCMeta):
|
|
22
26
|
@abc.abstractmethod
|
|
@@ -31,5 +35,11 @@ class SolutionServicer(metaclass=abc.ABCMeta):
|
|
|
31
35
|
context: grpc.ServicerContext,
|
|
32
36
|
) -> google.protobuf.empty_pb2.Empty: ...
|
|
33
37
|
|
|
38
|
+
@abc.abstractmethod
|
|
39
|
+
def Solve(self,
|
|
40
|
+
request: ansys.api.discovery.v0.solution_pb2.SolveExecutionRequest,
|
|
41
|
+
context: grpc.ServicerContext,
|
|
42
|
+
) -> ansys.api.discovery.v0.solution_pb2.SolveExecutionResponse: ...
|
|
43
|
+
|
|
34
44
|
|
|
35
45
|
def add_SolutionServicer_to_server(servicer: SolutionServicer, server: grpc.Server) -> None: ...
|