ansys-api-discovery 0.5.1__py3-none-any.whl → 0.5.2__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 (34) hide show
  1. ansys/api/discovery/VERSION +1 -1
  2. ansys/api/discovery/v0/conditions.proto +67 -0
  3. ansys/api/discovery/v0/conditions_pb2.py +91 -0
  4. ansys/api/discovery/v0/conditions_pb2.pyi +123 -0
  5. ansys/api/discovery/v0/conditions_pb2_grpc.py +233 -0
  6. ansys/api/discovery/v0/conditions_pb2_grpc.pyi +78 -0
  7. ansys/api/discovery/v0/definedvariationstable.proto +1 -0
  8. ansys/api/discovery/v0/definedvariationstable_pb2.py +6 -6
  9. ansys/api/discovery/v0/definedvariationstable_pb2.pyi +4 -1
  10. ansys/api/discovery/v0/discoverymodels.proto +45 -0
  11. ansys/api/discovery/v0/discoverymodels_pb2.py +48 -5
  12. ansys/api/discovery/v0/discoverymodels_pb2.pyi +116 -3
  13. ansys/api/discovery/v0/messaging.proto +21 -0
  14. ansys/api/discovery/v0/messaging_pb2.py +41 -0
  15. ansys/api/discovery/v0/messaging_pb2.pyi +22 -0
  16. ansys/api/discovery/v0/messaging_pb2_grpc.py +106 -0
  17. ansys/api/discovery/v0/messaging_pb2_grpc.pyi +38 -0
  18. ansys/api/discovery/v0/simulations.proto +23 -0
  19. ansys/api/discovery/v0/simulations_pb2.py +41 -0
  20. ansys/api/discovery/v0/simulations_pb2.pyi +27 -0
  21. ansys/api/discovery/v0/simulations_pb2_grpc.py +103 -0
  22. ansys/api/discovery/v0/simulations_pb2_grpc.pyi +42 -0
  23. ansys/api/discovery/v0/solution.proto +29 -0
  24. ansys/api/discovery/v0/solution_pb2.py +61 -0
  25. ansys/api/discovery/v0/solution_pb2.pyi +52 -0
  26. ansys/api/discovery/v0/solution_pb2_grpc.py +100 -0
  27. ansys/api/discovery/v0/solution_pb2_grpc.pyi +35 -0
  28. {ansys_api_discovery-0.5.1.dist-info → ansys_api_discovery-0.5.2.dist-info}/METADATA +3 -3
  29. ansys_api_discovery-0.5.2.dist-info/RECORD +55 -0
  30. {ansys_api_discovery-0.5.1.dist-info → ansys_api_discovery-0.5.2.dist-info}/WHEEL +1 -1
  31. ansys_api_discovery-0.5.1.dist-info/RECORD +0 -35
  32. {ansys_api_discovery-0.5.1.dist-info → ansys_api_discovery-0.5.2.dist-info}/LICENSE +0 -0
  33. {ansys_api_discovery-0.5.1.dist-info → ansys_api_discovery-0.5.2.dist-info}/entry_points.txt +0 -0
  34. {ansys_api_discovery-0.5.1.dist-info → ansys_api_discovery-0.5.2.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,27 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+ import ansys.api.discovery.v0.discoverymodels_pb2
6
+ import builtins
7
+ import google.protobuf.descriptor
8
+ import google.protobuf.internal.containers
9
+ import google.protobuf.message
10
+ import typing
11
+ import typing_extensions
12
+
13
+ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor = ...
14
+
15
+ class GetAllResponse(google.protobuf.message.Message):
16
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
17
+ SIMULATIONS_FIELD_NUMBER: builtins.int
18
+ @property
19
+ def simulations(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ansys.api.discovery.v0.discoverymodels_pb2.Simulation]:
20
+ """The simulations in the study."""
21
+ pass
22
+ def __init__(self,
23
+ *,
24
+ simulations : typing.Optional[typing.Iterable[ansys.api.discovery.v0.discoverymodels_pb2.Simulation]] = ...,
25
+ ) -> None: ...
26
+ def ClearField(self, field_name: typing_extensions.Literal["simulations",b"simulations"]) -> None: ...
27
+ global___GetAllResponse = GetAllResponse
@@ -0,0 +1,103 @@
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 import discoverymodels_pb2 as ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2
6
+ from ansys.api.discovery.v0 import simulations_pb2 as ansys_dot_api_dot_discovery_dot_v0_dot_simulations__pb2
7
+ from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
8
+
9
+
10
+ class SimulationsStub(object):
11
+ """Missing associated documentation comment in .proto file."""
12
+
13
+ def __init__(self, channel):
14
+ """Constructor.
15
+
16
+ Args:
17
+ channel: A grpc.Channel.
18
+ """
19
+ self.CreateSimulation = channel.unary_unary(
20
+ '/ansys.api.discovery.v0.simulations.Simulations/CreateSimulation',
21
+ request_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
22
+ response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.Simulation.FromString,
23
+ )
24
+ self.GetAll = channel.unary_unary(
25
+ '/ansys.api.discovery.v0.simulations.Simulations/GetAll',
26
+ request_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
27
+ response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_simulations__pb2.GetAllResponse.FromString,
28
+ )
29
+
30
+
31
+ class SimulationsServicer(object):
32
+ """Missing associated documentation comment in .proto file."""
33
+
34
+ def CreateSimulation(self, request, context):
35
+ """Creates a new simulation
36
+ """
37
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
38
+ context.set_details('Method not implemented!')
39
+ raise NotImplementedError('Method not implemented!')
40
+
41
+ def GetAll(self, request, context):
42
+ """Lists all simulations
43
+ """
44
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
45
+ context.set_details('Method not implemented!')
46
+ raise NotImplementedError('Method not implemented!')
47
+
48
+
49
+ def add_SimulationsServicer_to_server(servicer, server):
50
+ rpc_method_handlers = {
51
+ 'CreateSimulation': grpc.unary_unary_rpc_method_handler(
52
+ servicer.CreateSimulation,
53
+ request_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
54
+ response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.Simulation.SerializeToString,
55
+ ),
56
+ 'GetAll': grpc.unary_unary_rpc_method_handler(
57
+ servicer.GetAll,
58
+ request_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
59
+ response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_simulations__pb2.GetAllResponse.SerializeToString,
60
+ ),
61
+ }
62
+ generic_handler = grpc.method_handlers_generic_handler(
63
+ 'ansys.api.discovery.v0.simulations.Simulations', rpc_method_handlers)
64
+ server.add_generic_rpc_handlers((generic_handler,))
65
+
66
+
67
+ # This class is part of an EXPERIMENTAL API.
68
+ class Simulations(object):
69
+ """Missing associated documentation comment in .proto file."""
70
+
71
+ @staticmethod
72
+ def CreateSimulation(request,
73
+ target,
74
+ options=(),
75
+ channel_credentials=None,
76
+ call_credentials=None,
77
+ insecure=False,
78
+ compression=None,
79
+ wait_for_ready=None,
80
+ timeout=None,
81
+ metadata=None):
82
+ return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.simulations.Simulations/CreateSimulation',
83
+ google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
84
+ ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.Simulation.FromString,
85
+ options, channel_credentials,
86
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
87
+
88
+ @staticmethod
89
+ def GetAll(request,
90
+ target,
91
+ options=(),
92
+ channel_credentials=None,
93
+ call_credentials=None,
94
+ insecure=False,
95
+ compression=None,
96
+ wait_for_ready=None,
97
+ timeout=None,
98
+ metadata=None):
99
+ return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.simulations.Simulations/GetAll',
100
+ google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
101
+ ansys_dot_api_dot_discovery_dot_v0_dot_simulations__pb2.GetAllResponse.FromString,
102
+ options, channel_credentials,
103
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@@ -0,0 +1,42 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+ import abc
6
+ import ansys.api.discovery.v0.discoverymodels_pb2
7
+ import ansys.api.discovery.v0.simulations_pb2
8
+ import google.protobuf.empty_pb2
9
+ import grpc
10
+
11
+ class SimulationsStub:
12
+ def __init__(self, channel: grpc.Channel) -> None: ...
13
+ CreateSimulation: grpc.UnaryUnaryMultiCallable[
14
+ google.protobuf.empty_pb2.Empty,
15
+ ansys.api.discovery.v0.discoverymodels_pb2.Simulation] = ...
16
+ """Creates a new simulation"""
17
+
18
+ GetAll: grpc.UnaryUnaryMultiCallable[
19
+ google.protobuf.empty_pb2.Empty,
20
+ ansys.api.discovery.v0.simulations_pb2.GetAllResponse] = ...
21
+ """Lists all simulations"""
22
+
23
+
24
+ class SimulationsServicer(metaclass=abc.ABCMeta):
25
+ @abc.abstractmethod
26
+ def CreateSimulation(self,
27
+ request: google.protobuf.empty_pb2.Empty,
28
+ context: grpc.ServicerContext,
29
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.Simulation:
30
+ """Creates a new simulation"""
31
+ pass
32
+
33
+ @abc.abstractmethod
34
+ def GetAll(self,
35
+ request: google.protobuf.empty_pb2.Empty,
36
+ context: grpc.ServicerContext,
37
+ ) -> ansys.api.discovery.v0.simulations_pb2.GetAllResponse:
38
+ """Lists all simulations"""
39
+ pass
40
+
41
+
42
+ def add_SimulationsServicer_to_server(servicer: SimulationsServicer, server: grpc.Server) -> None: ...
@@ -0,0 +1,29 @@
1
+ // Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
2
+ syntax = "proto3";
3
+ package ansys.api.discovery.v0.solution;
4
+
5
+ import "ansys/api/dbu/v0/dbumodels.proto";
6
+ import "ansys/api/discovery/v0/discoverymodels.proto";
7
+ import "google/protobuf/empty.proto";
8
+
9
+ option csharp_namespace = "Ansys.Api.Discovery.V0.Solution";
10
+
11
+ service Solution
12
+ {
13
+ rpc GetSolverFidelity(SimulationStageRequest) returns (SolverFidelityResponse);
14
+ rpc SetSolverFidelity(SolverFidelityRequest) returns (google.protobuf.Empty);
15
+ }
16
+
17
+ message SolverFidelityRequest{
18
+ SimulationStageRequest simulation_stage = 1;
19
+ double value = 2;
20
+ }
21
+
22
+ message SimulationStageRequest{
23
+ string simulation = 1;
24
+ string stage = 2;
25
+ }
26
+
27
+ message SolverFidelityResponse{
28
+ double value = 1;
29
+ }
@@ -0,0 +1,61 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: ansys/api/discovery/v0/solution.proto
4
+ """Generated protocol buffer code."""
5
+ from google.protobuf import descriptor as _descriptor
6
+ 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
+ from google.protobuf import symbol_database as _symbol_database
10
+ # @@protoc_insertion_point(imports)
11
+
12
+ _sym_db = _symbol_database.Default()
13
+
14
+
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
+ from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
18
+
19
+
20
+ 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,ansys/api/discovery/v0/discoverymodels.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\";\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\x32\xf7\x01\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.EmptyB\"\xaa\x02\x1f\x41nsys.Api.Discovery.V0.Solutionb\x06proto3')
21
+
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']
49
+ if _descriptor._USE_C_DESCRIPTORS == False:
50
+
51
+ DESCRIPTOR._options = None
52
+ DESCRIPTOR._serialized_options = b'\252\002\037Ansys.Api.Discovery.V0.Solution'
53
+ _SOLVERFIDELITYREQUEST._serialized_start=183
54
+ _SOLVERFIDELITYREQUEST._serialized_end=304
55
+ _SIMULATIONSTAGEREQUEST._serialized_start=306
56
+ _SIMULATIONSTAGEREQUEST._serialized_end=365
57
+ _SOLVERFIDELITYRESPONSE._serialized_start=367
58
+ _SOLVERFIDELITYRESPONSE._serialized_end=406
59
+ _SOLUTION._serialized_start=409
60
+ _SOLUTION._serialized_end=656
61
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,52 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+ import builtins
6
+ import google.protobuf.descriptor
7
+ import google.protobuf.message
8
+ import typing
9
+ import typing_extensions
10
+
11
+ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor = ...
12
+
13
+ class SolverFidelityRequest(google.protobuf.message.Message):
14
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
15
+ SIMULATION_STAGE_FIELD_NUMBER: builtins.int
16
+ VALUE_FIELD_NUMBER: builtins.int
17
+ @property
18
+ def simulation_stage(self) -> global___SimulationStageRequest: ...
19
+ value: builtins.float = ...
20
+ def __init__(self,
21
+ *,
22
+ simulation_stage : typing.Optional[global___SimulationStageRequest] = ...,
23
+ value : builtins.float = ...,
24
+ ) -> None: ...
25
+ def HasField(self, field_name: typing_extensions.Literal["simulation_stage",b"simulation_stage"]) -> builtins.bool: ...
26
+ def ClearField(self, field_name: typing_extensions.Literal["simulation_stage",b"simulation_stage","value",b"value"]) -> None: ...
27
+ global___SolverFidelityRequest = SolverFidelityRequest
28
+
29
+ class SimulationStageRequest(google.protobuf.message.Message):
30
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
31
+ SIMULATION_FIELD_NUMBER: builtins.int
32
+ STAGE_FIELD_NUMBER: builtins.int
33
+ simulation: typing.Text = ...
34
+ stage: typing.Text = ...
35
+ def __init__(self,
36
+ *,
37
+ simulation : typing.Text = ...,
38
+ stage : typing.Text = ...,
39
+ ) -> None: ...
40
+ def ClearField(self, field_name: typing_extensions.Literal["simulation",b"simulation","stage",b"stage"]) -> None: ...
41
+ global___SimulationStageRequest = SimulationStageRequest
42
+
43
+ class SolverFidelityResponse(google.protobuf.message.Message):
44
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
45
+ VALUE_FIELD_NUMBER: builtins.int
46
+ value: builtins.float = ...
47
+ def __init__(self,
48
+ *,
49
+ value : builtins.float = ...,
50
+ ) -> None: ...
51
+ def ClearField(self, field_name: typing_extensions.Literal["value",b"value"]) -> None: ...
52
+ global___SolverFidelityResponse = SolverFidelityResponse
@@ -0,0 +1,100 @@
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 import solution_pb2 as ansys_dot_api_dot_discovery_dot_v0_dot_solution__pb2
6
+ from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
7
+
8
+
9
+ class SolutionStub(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.GetSolverFidelity = channel.unary_unary(
19
+ '/ansys.api.discovery.v0.solution.Solution/GetSolverFidelity',
20
+ request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_solution__pb2.SimulationStageRequest.SerializeToString,
21
+ response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_solution__pb2.SolverFidelityResponse.FromString,
22
+ )
23
+ self.SetSolverFidelity = channel.unary_unary(
24
+ '/ansys.api.discovery.v0.solution.Solution/SetSolverFidelity',
25
+ request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_solution__pb2.SolverFidelityRequest.SerializeToString,
26
+ response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
27
+ )
28
+
29
+
30
+ class SolutionServicer(object):
31
+ """Missing associated documentation comment in .proto file."""
32
+
33
+ def GetSolverFidelity(self, request, context):
34
+ """Missing associated documentation comment in .proto file."""
35
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
36
+ context.set_details('Method not implemented!')
37
+ raise NotImplementedError('Method not implemented!')
38
+
39
+ def SetSolverFidelity(self, request, context):
40
+ """Missing associated documentation comment in .proto file."""
41
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
42
+ context.set_details('Method not implemented!')
43
+ raise NotImplementedError('Method not implemented!')
44
+
45
+
46
+ def add_SolutionServicer_to_server(servicer, server):
47
+ rpc_method_handlers = {
48
+ 'GetSolverFidelity': grpc.unary_unary_rpc_method_handler(
49
+ servicer.GetSolverFidelity,
50
+ request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_solution__pb2.SimulationStageRequest.FromString,
51
+ response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_solution__pb2.SolverFidelityResponse.SerializeToString,
52
+ ),
53
+ 'SetSolverFidelity': grpc.unary_unary_rpc_method_handler(
54
+ servicer.SetSolverFidelity,
55
+ request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_solution__pb2.SolverFidelityRequest.FromString,
56
+ response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
57
+ ),
58
+ }
59
+ generic_handler = grpc.method_handlers_generic_handler(
60
+ 'ansys.api.discovery.v0.solution.Solution', rpc_method_handlers)
61
+ server.add_generic_rpc_handlers((generic_handler,))
62
+
63
+
64
+ # This class is part of an EXPERIMENTAL API.
65
+ class Solution(object):
66
+ """Missing associated documentation comment in .proto file."""
67
+
68
+ @staticmethod
69
+ def GetSolverFidelity(request,
70
+ target,
71
+ options=(),
72
+ channel_credentials=None,
73
+ call_credentials=None,
74
+ insecure=False,
75
+ compression=None,
76
+ wait_for_ready=None,
77
+ timeout=None,
78
+ metadata=None):
79
+ return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.solution.Solution/GetSolverFidelity',
80
+ ansys_dot_api_dot_discovery_dot_v0_dot_solution__pb2.SimulationStageRequest.SerializeToString,
81
+ ansys_dot_api_dot_discovery_dot_v0_dot_solution__pb2.SolverFidelityResponse.FromString,
82
+ options, channel_credentials,
83
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
84
+
85
+ @staticmethod
86
+ def SetSolverFidelity(request,
87
+ target,
88
+ options=(),
89
+ channel_credentials=None,
90
+ call_credentials=None,
91
+ insecure=False,
92
+ compression=None,
93
+ wait_for_ready=None,
94
+ timeout=None,
95
+ metadata=None):
96
+ return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.solution.Solution/SetSolverFidelity',
97
+ ansys_dot_api_dot_discovery_dot_v0_dot_solution__pb2.SolverFidelityRequest.SerializeToString,
98
+ google_dot_protobuf_dot_empty__pb2.Empty.FromString,
99
+ options, channel_credentials,
100
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@@ -0,0 +1,35 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+ import abc
6
+ import ansys.api.discovery.v0.solution_pb2
7
+ import google.protobuf.empty_pb2
8
+ import grpc
9
+
10
+ class SolutionStub:
11
+ def __init__(self, channel: grpc.Channel) -> None: ...
12
+ GetSolverFidelity: grpc.UnaryUnaryMultiCallable[
13
+ ansys.api.discovery.v0.solution_pb2.SimulationStageRequest,
14
+ ansys.api.discovery.v0.solution_pb2.SolverFidelityResponse] = ...
15
+
16
+ SetSolverFidelity: grpc.UnaryUnaryMultiCallable[
17
+ ansys.api.discovery.v0.solution_pb2.SolverFidelityRequest,
18
+ google.protobuf.empty_pb2.Empty] = ...
19
+
20
+
21
+ class SolutionServicer(metaclass=abc.ABCMeta):
22
+ @abc.abstractmethod
23
+ def GetSolverFidelity(self,
24
+ request: ansys.api.discovery.v0.solution_pb2.SimulationStageRequest,
25
+ context: grpc.ServicerContext,
26
+ ) -> ansys.api.discovery.v0.solution_pb2.SolverFidelityResponse: ...
27
+
28
+ @abc.abstractmethod
29
+ def SetSolverFidelity(self,
30
+ request: ansys.api.discovery.v0.solution_pb2.SolverFidelityRequest,
31
+ context: grpc.ServicerContext,
32
+ ) -> google.protobuf.empty_pb2.Empty: ...
33
+
34
+
35
+ def add_SolutionServicer_to_server(servicer: SolutionServicer, server: grpc.Server) -> None: ...
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ansys-api-discovery
3
- Version: 0.5.1
4
- Summary: Autogenerated python gRPC interface package for ansys-api-discovery, built on 09:18:52 on 04 October 2023
3
+ Version: 0.5.2
4
+ Summary: Autogenerated python gRPC interface package for ansys-api-discovery, built on 14:18:57 on 26 April 2024
5
5
  Home-page: https://github.com/ansys/ansys-api-discovery
6
6
  Author: ANSYS, Inc.
7
7
  Author-email: support@ansys.com
@@ -11,7 +11,7 @@ Description-Content-Type: text/markdown
11
11
  License-File: LICENSE
12
12
  Requires-Dist: grpcio ~=1.47
13
13
  Requires-Dist: protobuf <5,>=3.19
14
- Requires-Dist: ansys-api-dbu ==0.2.1
14
+ Requires-Dist: ansys-api-dbu ==0.3.0
15
15
 
16
16
  ### ansys-api-discovery gRPC Interface Package
17
17
 
@@ -0,0 +1,55 @@
1
+ ansys/api/discovery/VERSION,sha256=JuCrg6of9r0K44gnh6kmY6oZ2xKOEkH_yZN1-5ygwSE,6
2
+ ansys/api/discovery/__init__.py,sha256=c2GxEoryXIQtBEhwLRN45MOr4IsG1UbsHYBzUnvXGDM,231
3
+ ansys/api/discovery/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ ansys/api/discovery/v0/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
5
+ ansys/api/discovery/v0/conditions.proto,sha256=-S3SN6IuBstwCvLXQYQRmhe07cU02jOG1qYrUp29A9M,1737
6
+ ansys/api/discovery/v0/conditions_pb2.py,sha256=kRdBE-hrygH-L7M6p0k3d9f_KifHJtDt4GB_xWqEicA,7071
7
+ ansys/api/discovery/v0/conditions_pb2.pyi,sha256=lmN0jbde5h-4VRxs-Tc51MpfrnMivz1UpvXjE_tyn5o,6300
8
+ ansys/api/discovery/v0/conditions_pb2_grpc.py,sha256=1sYBxVHF1Y792BX2Xdz-d4p-xUFBT3SogmDz7TUCjeo,12530
9
+ ansys/api/discovery/v0/conditions_pb2_grpc.pyi,sha256=kC2g9w__72l1jtozng4jhCLs_yjTjOhC1qPNYWZgUkA,3195
10
+ ansys/api/discovery/v0/definedvariationstable.proto,sha256=PX_NLHah7S2nnn5B8PXfX28Vom3La-n1k2mM-riIq3g,3780
11
+ ansys/api/discovery/v0/definedvariationstable_pb2.py,sha256=8ElhgthMcC7L-bWMud6NlJyAqPk7MurIxTuBk0Fs_8g,12525
12
+ ansys/api/discovery/v0/definedvariationstable_pb2.pyi,sha256=Q5qhkJ9STEFNpnryc83rHL4vVuY4dMSMUyq1vPuQx6Q,9681
13
+ ansys/api/discovery/v0/definedvariationstable_pb2_grpc.py,sha256=8D2ODckwYaaod1R5pbXgg6uXkaB4bVlZV5MI7NhfX-w,29396
14
+ ansys/api/discovery/v0/definedvariationstable_pb2_grpc.pyi,sha256=Y9girFGVBC5AfXTUgfU5o0pLXIpfecuKp-bhh787jsY,8578
15
+ ansys/api/discovery/v0/discoverymodels.proto,sha256=R6JZXrjuanaRfuwCGo__ixZk2zy8mBkCtIlcOl3Vesk,5628
16
+ ansys/api/discovery/v0/discoverymodels_pb2.py,sha256=ztwwGG8Iatg9gV3KsPSbClLFIbJLsGyI1-60D99s2Cc,16545
17
+ ansys/api/discovery/v0/discoverymodels_pb2.pyi,sha256=-28XXiJkVZpxdqjiD-6KUL3GPgtfMHKo1zpHudgvzPY,26476
18
+ ansys/api/discovery/v0/discoverymodels_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
19
+ ansys/api/discovery/v0/discoverymodels_pb2_grpc.pyi,sha256=ff2TSiLVnG6IVQcTGzb2DIH3XRSoAvAo_RMcvbMFyc0,76
20
+ ansys/api/discovery/v0/historytrackparameters.proto,sha256=LPRmwRt10H8K7H8GacWPt28xA1M1_HURJRErbwltqJo,1549
21
+ ansys/api/discovery/v0/historytrackparameters_pb2.py,sha256=t0rCHS3txbagv6twCdJCOS75w1zDT2KAUYni7dUU1d8,5978
22
+ ansys/api/discovery/v0/historytrackparameters_pb2.pyi,sha256=zZTsjO8YGjSlNmheGruuD9xgbgeueo82vPEhKJAIGQg,4127
23
+ ansys/api/discovery/v0/historytrackparameters_pb2_grpc.py,sha256=Q1DUqfD_cOmqSsfiGIzgnAFV3joL6li8dpP9jKmQ8Ro,12329
24
+ ansys/api/discovery/v0/historytrackparameters_pb2_grpc.pyi,sha256=AWaZuM5eCp7G3tlweLBt4BKqy11XYXcvoie6TQa5hVg,3517
25
+ ansys/api/discovery/v0/messaging.proto,sha256=vfXtutCRVa4Kza-QcMkDKeX6qKQVmXVA2mr_QDfbHzU,643
26
+ ansys/api/discovery/v0/messaging_pb2.py,sha256=wrgoXJ7hhe9qq8ucqCamhW2HeaZknYhHgiL87CGtWO4,2243
27
+ ansys/api/discovery/v0/messaging_pb2.pyi,sha256=7pVtwf6MQNpMkPlPrw5F4kfO6EPjREF3_rV-VmRfjy8,716
28
+ ansys/api/discovery/v0/messaging_pb2_grpc.py,sha256=q7Og7xEn4CApFY5NwPRN1-cpQvyW6E5TjrQnoc4xeMw,4466
29
+ ansys/api/discovery/v0/messaging_pb2_grpc.pyi,sha256=22vxFZ2OMICUFsfbDiJRq4gdwXo79wDC2KTvPnLy3G4,1260
30
+ ansys/api/discovery/v0/scriptparameters.proto,sha256=hIXZjxv8vyJP-m4GNOzUTVoTERvRCF5dwkP53LNS6lc,1167
31
+ ansys/api/discovery/v0/scriptparameters_pb2.py,sha256=6OzauRTC1bNqK-WpGdp23z6ccvI8yiOwuMufli-aQGQ,4302
32
+ ansys/api/discovery/v0/scriptparameters_pb2.pyi,sha256=9wQXDBkfSUmfZdxqVtX7yY1w6U0u4111zh50FtMHadw,2771
33
+ ansys/api/discovery/v0/scriptparameters_pb2_grpc.py,sha256=_xgI27Vou0a9NU9kcsRGsAqbeWOLhkVF9TR2xT-7TYc,8362
34
+ ansys/api/discovery/v0/scriptparameters_pb2_grpc.pyi,sha256=a0xk_U1pRjwXazAu99FNR2idjXbN64lFkBPc33uXXJ0,2537
35
+ ansys/api/discovery/v0/simulations.proto,sha256=gZ7Hrro-9aqyJdlUDc79N82j7H0vio6wPWng4CXgRhA,668
36
+ ansys/api/discovery/v0/simulations_pb2.py,sha256=klscdt3KQXMW3wZaf3-mPbRUtGsOdbZO44mNzZJR0_k,2290
37
+ ansys/api/discovery/v0/simulations_pb2.pyi,sha256=WxPMTdKQo23vIBMqBxV99BzehIRzHnvTo2CL-Kst7qc,1055
38
+ ansys/api/discovery/v0/simulations_pb2_grpc.py,sha256=S8jmaQQmGsqfr7y4qVKuQ55BZS0iAgnK2T0eMuB4TZg,4628
39
+ ansys/api/discovery/v0/simulations_pb2_grpc.pyi,sha256=WM9yj4Ra2vxHIzb0YkWU5QvMFWzA7-4X71GG5JPiqPU,1358
40
+ ansys/api/discovery/v0/solution.proto,sha256=CwqBhAYomsepM7jJ2JsPb9GtTeylAxvfsVSzdpatafg,769
41
+ ansys/api/discovery/v0/solution_pb2.py,sha256=IN2QXfo1ESYw3yjhws1wPQEagTgyMqNWw7x2VMH1oes,3732
42
+ ansys/api/discovery/v0/solution_pb2.pyi,sha256=RBNbt_ep5yUj7-hwcpD4C8CnWf15_NBAfJHC0Lly0A0,2090
43
+ ansys/api/discovery/v0/solution_pb2_grpc.py,sha256=ilQ2JiOSCIqkh1cW1OMOEmKFGkCqYUDK15ZmLAYf-f0,4727
44
+ ansys/api/discovery/v0/solution_pb2_grpc.pyi,sha256=CVqSg6u8NoeNQT2ru7ifsHDwYkJ4VEh54IsVZBGl7pY,1229
45
+ ansys/api/discovery/v0/units.proto,sha256=gTL5sZVIqcGNOxfc30FGa1Jlspuoi1E6x0EFJIr-kx4,45403
46
+ ansys/api/discovery/v0/units_pb2.py,sha256=vyThGbmsE--eeC6wRZj01KXSjf5AEKIZo_W6l4m6Tz4,116611
47
+ ansys/api/discovery/v0/units_pb2.pyi,sha256=1sBHhZfIxIssrgeO3jIgMQ-5nMhBBn8qkr93C60Jg2c,201214
48
+ ansys/api/discovery/v0/units_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
49
+ ansys/api/discovery/v0/units_pb2_grpc.pyi,sha256=ff2TSiLVnG6IVQcTGzb2DIH3XRSoAvAo_RMcvbMFyc0,76
50
+ ansys_api_discovery-0.5.2.dist-info/LICENSE,sha256=q2LY-0-hseAc1SDA7rBn96IDi2SHenCzygJda8-7AAU,1089
51
+ ansys_api_discovery-0.5.2.dist-info/METADATA,sha256=ARpKK0B6Mp7T9yVv4G2os-tod0SL1IbqAzQ6rzl6ft4,1915
52
+ ansys_api_discovery-0.5.2.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
53
+ ansys_api_discovery-0.5.2.dist-info/entry_points.txt,sha256=WScutwzRi-SS6g8pXveUJiIOBeIoLBqDVpsPMCAYzmY,91
54
+ ansys_api_discovery-0.5.2.dist-info/top_level.txt,sha256=9rw0UJ0mtof2GA3U8RpqYo6EmbpfE8-wo3NoX6SlYtg,6
55
+ ansys_api_discovery-0.5.2.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.41.2)
2
+ Generator: bdist_wheel (0.43.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,35 +0,0 @@
1
- ansys/api/discovery/VERSION,sha256=q6lRYmyGkM5JPLyPAYIFu0aAA_YfvwD9PTxxzrq8AXc,6
2
- ansys/api/discovery/__init__.py,sha256=c2GxEoryXIQtBEhwLRN45MOr4IsG1UbsHYBzUnvXGDM,231
3
- ansys/api/discovery/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
- ansys/api/discovery/v0/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
5
- ansys/api/discovery/v0/definedvariationstable.proto,sha256=pUML1EMMYlWF_qlR2AZ7P0v0cJxn7nl48FKAV83lBUg,3758
6
- ansys/api/discovery/v0/definedvariationstable_pb2.py,sha256=-sVX4TsAZYMhrwi4Su3dolNWGs4MaY-IyJjD-teDww4,12488
7
- ansys/api/discovery/v0/definedvariationstable_pb2.pyi,sha256=DSUIYhKnlBd3E75u9cR3jczc7ZujCYpLT_uFEgzk2QA,9553
8
- ansys/api/discovery/v0/definedvariationstable_pb2_grpc.py,sha256=8D2ODckwYaaod1R5pbXgg6uXkaB4bVlZV5MI7NhfX-w,29396
9
- ansys/api/discovery/v0/definedvariationstable_pb2_grpc.pyi,sha256=Y9girFGVBC5AfXTUgfU5o0pLXIpfecuKp-bhh787jsY,8578
10
- ansys/api/discovery/v0/discoverymodels.proto,sha256=E9DAsmvVBsWj0OLu68n3jNGzfZjEox6zPjOaxATu_xA,4814
11
- ansys/api/discovery/v0/discoverymodels_pb2.py,sha256=do6oL3ohy2SxsPMAtz1jV0pl5wd0D5y3n4pfFAOOiiE,13645
12
- ansys/api/discovery/v0/discoverymodels_pb2.pyi,sha256=jKhj7JP6puN3nTc2U425zO9P0F9uHJw1KJmeHwVo3O4,21145
13
- ansys/api/discovery/v0/discoverymodels_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
14
- ansys/api/discovery/v0/discoverymodels_pb2_grpc.pyi,sha256=ff2TSiLVnG6IVQcTGzb2DIH3XRSoAvAo_RMcvbMFyc0,76
15
- ansys/api/discovery/v0/historytrackparameters.proto,sha256=LPRmwRt10H8K7H8GacWPt28xA1M1_HURJRErbwltqJo,1549
16
- ansys/api/discovery/v0/historytrackparameters_pb2.py,sha256=t0rCHS3txbagv6twCdJCOS75w1zDT2KAUYni7dUU1d8,5978
17
- ansys/api/discovery/v0/historytrackparameters_pb2.pyi,sha256=zZTsjO8YGjSlNmheGruuD9xgbgeueo82vPEhKJAIGQg,4127
18
- ansys/api/discovery/v0/historytrackparameters_pb2_grpc.py,sha256=Q1DUqfD_cOmqSsfiGIzgnAFV3joL6li8dpP9jKmQ8Ro,12329
19
- ansys/api/discovery/v0/historytrackparameters_pb2_grpc.pyi,sha256=AWaZuM5eCp7G3tlweLBt4BKqy11XYXcvoie6TQa5hVg,3517
20
- ansys/api/discovery/v0/scriptparameters.proto,sha256=hIXZjxv8vyJP-m4GNOzUTVoTERvRCF5dwkP53LNS6lc,1167
21
- ansys/api/discovery/v0/scriptparameters_pb2.py,sha256=6OzauRTC1bNqK-WpGdp23z6ccvI8yiOwuMufli-aQGQ,4302
22
- ansys/api/discovery/v0/scriptparameters_pb2.pyi,sha256=9wQXDBkfSUmfZdxqVtX7yY1w6U0u4111zh50FtMHadw,2771
23
- ansys/api/discovery/v0/scriptparameters_pb2_grpc.py,sha256=_xgI27Vou0a9NU9kcsRGsAqbeWOLhkVF9TR2xT-7TYc,8362
24
- ansys/api/discovery/v0/scriptparameters_pb2_grpc.pyi,sha256=a0xk_U1pRjwXazAu99FNR2idjXbN64lFkBPc33uXXJ0,2537
25
- ansys/api/discovery/v0/units.proto,sha256=gTL5sZVIqcGNOxfc30FGa1Jlspuoi1E6x0EFJIr-kx4,45403
26
- ansys/api/discovery/v0/units_pb2.py,sha256=vyThGbmsE--eeC6wRZj01KXSjf5AEKIZo_W6l4m6Tz4,116611
27
- ansys/api/discovery/v0/units_pb2.pyi,sha256=1sBHhZfIxIssrgeO3jIgMQ-5nMhBBn8qkr93C60Jg2c,201214
28
- ansys/api/discovery/v0/units_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
29
- ansys/api/discovery/v0/units_pb2_grpc.pyi,sha256=ff2TSiLVnG6IVQcTGzb2DIH3XRSoAvAo_RMcvbMFyc0,76
30
- ansys_api_discovery-0.5.1.dist-info/LICENSE,sha256=q2LY-0-hseAc1SDA7rBn96IDi2SHenCzygJda8-7AAU,1089
31
- ansys_api_discovery-0.5.1.dist-info/METADATA,sha256=tUBO6XvrodS5Mv2BPlUla_cNtR2k1ZKcnB17PZ5WKIg,1917
32
- ansys_api_discovery-0.5.1.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
33
- ansys_api_discovery-0.5.1.dist-info/entry_points.txt,sha256=WScutwzRi-SS6g8pXveUJiIOBeIoLBqDVpsPMCAYzmY,91
34
- ansys_api_discovery-0.5.1.dist-info/top_level.txt,sha256=9rw0UJ0mtof2GA3U8RpqYo6EmbpfE8-wo3NoX6SlYtg,6
35
- ansys_api_discovery-0.5.1.dist-info/RECORD,,