luminarycloud 0.15.1__py3-none-any.whl → 0.15.3__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.
- luminarycloud/_client/client.py +3 -0
- luminarycloud/_helpers/_code_representation.py +44 -19
- luminarycloud/_proto/api/v0/luminarycloud/geometry/geometry_pb2.py +81 -81
- luminarycloud/_proto/api/v0/luminarycloud/geometry/geometry_pb2.pyi +7 -1
- luminarycloud/_proto/api/v0/luminarycloud/inference/inference_pb2.py +61 -0
- luminarycloud/_proto/api/v0/luminarycloud/inference/inference_pb2.pyi +76 -0
- luminarycloud/_proto/api/v0/luminarycloud/inference/inference_pb2_grpc.py +67 -0
- luminarycloud/_proto/api/v0/luminarycloud/inference/inference_pb2_grpc.pyi +26 -0
- luminarycloud/_proto/api/v0/luminarycloud/mesh/mesh_pb2.py +29 -27
- luminarycloud/_proto/api/v0/luminarycloud/mesh/mesh_pb2.pyi +5 -1
- luminarycloud/_proto/api/v0/luminarycloud/simulation/simulation_pb2.py +46 -46
- luminarycloud/_proto/api/v0/luminarycloud/simulation/simulation_pb2.pyi +7 -1
- luminarycloud/_proto/assistant/assistant_pb2.py +23 -23
- luminarycloud/_proto/assistant/assistant_pb2.pyi +21 -11
- luminarycloud/_proto/assistant/assistant_pb2_grpc.py +13 -13
- luminarycloud/_proto/assistant/assistant_pb2_grpc.pyi +6 -6
- luminarycloud/_proto/client/simulation_pb2.py +333 -324
- luminarycloud/_proto/client/simulation_pb2.pyi +26 -1
- luminarycloud/_proto/geometry/geometry_pb2.py +69 -61
- luminarycloud/_proto/geometry/geometry_pb2.pyi +30 -3
- luminarycloud/_proto/hexmesh/hexmesh_pb2.py +41 -37
- luminarycloud/_proto/hexmesh/hexmesh_pb2.pyi +18 -8
- luminarycloud/_proto/inferenceservice/inferenceservice_pb2.py +69 -0
- luminarycloud/_proto/inferenceservice/inferenceservice_pb2.pyi +80 -0
- luminarycloud/_proto/luminarycloud/luminarycloud_api.pb +0 -0
- luminarycloud/_proto/named_variable_set/named_variable_set_pb2.py +49 -0
- luminarycloud/_proto/named_variable_set/named_variable_set_pb2.pyi +53 -0
- luminarycloud/_proto/quantity/quantity_pb2.py +8 -5
- luminarycloud/_proto/quantity/quantity_pb2.pyi +2 -0
- luminarycloud/enum/__init__.py +3 -0
- luminarycloud/meshing/mesh_generation_params.py +6 -5
- luminarycloud/meshing/sizing_strategy/sizing_strategies.py +2 -1
- luminarycloud/named_variable_set.py +3 -1
- luminarycloud/physics_ai/inference.py +55 -0
- luminarycloud/pipeline_util/dictable.py +27 -0
- luminarycloud/pipeline_util/yaml.py +55 -0
- luminarycloud/pipelines/__init__.py +29 -0
- luminarycloud/pipelines/core.py +225 -0
- luminarycloud/pipelines/operators.py +197 -0
- luminarycloud/pipelines/parameters.py +42 -0
- luminarycloud/project.py +6 -6
- luminarycloud/simulation.py +35 -4
- luminarycloud/simulation_param.py +16 -12
- luminarycloud/simulation_template.py +10 -6
- luminarycloud/types/vector3.py +2 -1
- luminarycloud/vis/__init__.py +0 -3
- luminarycloud/vis/display.py +3 -2
- luminarycloud/vis/filters.py +1 -2
- luminarycloud/vis/interactive_scene.py +1 -1
- luminarycloud/vis/visualization.py +17 -1
- {luminarycloud-0.15.1.dist-info → luminarycloud-0.15.3.dist-info}/METADATA +2 -1
- {luminarycloud-0.15.1.dist-info → luminarycloud-0.15.3.dist-info}/RECORD +53 -37
- {luminarycloud-0.15.1.dist-info → luminarycloud-0.15.3.dist-info}/WHEEL +0 -0
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
import abc
|
|
6
|
+
import grpc
|
|
7
|
+
import luminarycloud._proto.api.v0.luminarycloud.inference.inference_pb2
|
|
8
|
+
|
|
9
|
+
class InferenceServiceStub:
|
|
10
|
+
def __init__(self, channel: grpc.Channel) -> None: ...
|
|
11
|
+
CreateInferenceServiceJob: grpc.UnaryUnaryMultiCallable[
|
|
12
|
+
luminarycloud._proto.api.v0.luminarycloud.inference.inference_pb2.CreateInferenceServiceJobRequest,
|
|
13
|
+
luminarycloud._proto.api.v0.luminarycloud.inference.inference_pb2.CreateInferenceServiceJobResponse,
|
|
14
|
+
]
|
|
15
|
+
"""Lists the geometries available in a project."""
|
|
16
|
+
|
|
17
|
+
class InferenceServiceServicer(metaclass=abc.ABCMeta):
|
|
18
|
+
@abc.abstractmethod
|
|
19
|
+
def CreateInferenceServiceJob(
|
|
20
|
+
self,
|
|
21
|
+
request: luminarycloud._proto.api.v0.luminarycloud.inference.inference_pb2.CreateInferenceServiceJobRequest,
|
|
22
|
+
context: grpc.ServicerContext,
|
|
23
|
+
) -> luminarycloud._proto.api.v0.luminarycloud.inference.inference_pb2.CreateInferenceServiceJobResponse:
|
|
24
|
+
"""Lists the geometries available in a project."""
|
|
25
|
+
|
|
26
|
+
def add_InferenceServiceServicer_to_server(servicer: InferenceServiceServicer, server: grpc.Server) -> None: ...
|
|
@@ -22,7 +22,7 @@ from luminarycloud._proto.api.v0.luminarycloud.common import common_pb2 as proto
|
|
|
22
22
|
from luminarycloud._proto.upload import upload_pb2 as proto_dot_upload_dot_upload__pb2
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*proto/api/v0/luminarycloud/mesh/mesh.proto\x12(luminary.proto.api.v0.luminarycloud.mesh\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x15proto/base/base.proto\x1a\x15proto/cad/shape.proto\x1a\x1bproto/hexmesh/hexmesh.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a.proto/api/v0/luminarycloud/common/common.proto\x1a\x19proto/upload/upload.proto\"\xe2\x02\n\x04Mesh\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12I\n\x06status\x18\x04 \x01(\x0e\x32\x39.luminary.proto.api.v0.luminarycloud.mesh.Mesh.MeshStatus\x12 \n\x13geometry_version_id\x18\x05 \x01(\tH\x00\x88\x01\x01\x12\x12\n\nproject_id\x18\x06 \x01(\t\"v\n\nMeshStatus\x12\x1b\n\x17MESH_STATUS_UNSPECIFIED\x10\x00\x12\x18\n\x14MESH_STATUS_CREATING\x10\x01\x12\x19\n\x15MESH_STATUS_COMPLETED\x10\x02\x12\x16\n\x12MESH_STATUS_FAILED\x10\x03\x42\x16\n\x14_geometry_version_id\"\x1c\n\x0eGetMeshRequest\x12\n\n\x02id\x18\x01 \x01(\t\"O\n\x0fGetMeshResponse\x12<\n\x04mesh\x18\x01 \x01(\x0b\x32..luminary.proto.api.v0.luminarycloud.mesh.Mesh\"$\n\x16GetMeshMetadataRequest\x12\n\n\x02id\x18\x01 \x01(\t\"h\n\x17GetMeshMetadataResponse\x12M\n\rmesh_metadata\x18\x01 \x01(\x0b\x32\x36.luminary.proto.api.v0.luminarycloud.mesh.MeshMetadata\"\xd2\x04\n\x0cMeshMetadata\x12J\n\x05zones\x18\x01 \x03(\x0b\x32;.luminary.proto.api.v0.luminarycloud.mesh.MeshMetadata.Zone\x1a\xcd\x01\n\tMeshStats\x12\x10\n\x08n_points\x18\x01 \x01(\x03\x12\x0f\n\x07n_faces\x18\x02 \x01(\x03\x12\r\n\x05n_cvs\x18\x03 \x01(\x03\x12\x46\n\tmin_coord\x18\x05 \x01(\x0b\x32\x33.luminary.proto.api.v0.luminarycloud.common.Vector3\x12\x46\n\tmax_coord\x18\x06 \x01(\x0b\x32\x33.luminary.proto.api.v0.luminarycloud.common.Vector3\x1ai\n\x08\x42oundary\x12\x0c\n\x04name\x18\x01 \x01(\t\x12O\n\x05stats\x18\x02 \x01(\x0b\x32@.luminary.proto.api.v0.luminarycloud.mesh.MeshMetadata.MeshStats\x1a\xba\x01\n\x04Zone\x12S\n\nboundaries\x18\x01 \x03(\x0b\x32?.luminary.proto.api.v0.luminarycloud.mesh.MeshMetadata.Boundary\x12O\n\x05stats\x18\x02 \x01(\x0b\x32@.luminary.proto.api.v0.luminarycloud.mesh.MeshMetadata.MeshStats\x12\x0c\n\x04name\x18\x03 \x01(\t\"\'\n\x11ListMeshesRequest\x12\x12\n\nproject_id\x18\x01 \x01(\t\"T\n\x12ListMeshesResponse\x12>\n\x06meshes\x18\x01 \x03(\x0b\x32..luminary.proto.api.v0.luminarycloud.mesh.Mesh\"-\n\x11UpdateMeshRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\"R\n\x12UpdateMeshResponse\x12<\n\x04mesh\x18\x01 \x01(\x0b\x32..luminary.proto.api.v0.luminarycloud.mesh.Mesh\"\xab\x02\n\x11\x43reateMeshRequest\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12`\n\x16mesh_adaptation_params\x18\x03 \x01(\x0b\x32>.luminary.proto.api.v0.luminarycloud.mesh.MeshAdaptationParamsH\x00\x12`\n\x16mesh_generation_params\x18\x04 \x01(\x0b\x32>.luminary.proto.api.v0.luminarycloud.mesh.MeshGenerationParamsH\x00\x12\x17\n\nrequest_id\x18\x05 \x01(\tH\x01\x88\x01\x01\x42\x08\n\x06paramsB\r\n\x0b_request_id\"R\n\x12\x43reateMeshResponse\x12<\n\x04mesh\x18\x01 \x01(\x0b\x32..luminary.proto.api.v0.luminarycloud.mesh.Mesh\"\xff\x01\n\x11UploadMeshRequest\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0f\n\x07scaling\x18\x03 \x01(\x01\x12\x14\n\x0cupload_token\x18\x04 \x01(\t\x12I\n\nfile_chunk\x18\x05 \x01(\x0b\x32\x35.luminary.proto.api.v0.luminarycloud.common.FileChunk\x12\x32\n\tmesh_type\x18\x06 \x01(\x0e\x32\x1f.luminary.proto.upload.MeshType\x12\"\n\x1a\x64o_not_read_zones_openfoam\x18\x07 \x01(\x08\"h\n\x12UploadMeshResponse\x12<\n\x04mesh\x18\x01 \x01(\x0b\x32..luminary.proto.api.v0.luminarycloud.mesh.Mesh\x12\x14\n\x0cupload_token\x18\x02 \x01(\t\"\x1f\n\x11\x44\x65leteMeshRequest\x12\n\n\x02id\x18\x01 \x01(\t\"t\n\x14MeshAdaptationParams\x12\x1c\n\x14source_simulation_id\x18\x01 \x01(\t\x12\x17\n\x0ftarget_cv_count\x18\x02 \x01(\x04\x12\x0f\n\x07h_ratio\x18\x03 \x01(\x01\x12\x14\n\x0c\x61spect_ratio\x18\x04 \x01(\x01\"\
|
|
25
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*proto/api/v0/luminarycloud/mesh/mesh.proto\x12(luminary.proto.api.v0.luminarycloud.mesh\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x15proto/base/base.proto\x1a\x15proto/cad/shape.proto\x1a\x1bproto/hexmesh/hexmesh.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a.proto/api/v0/luminarycloud/common/common.proto\x1a\x19proto/upload/upload.proto\"\xe2\x02\n\x04Mesh\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12I\n\x06status\x18\x04 \x01(\x0e\x32\x39.luminary.proto.api.v0.luminarycloud.mesh.Mesh.MeshStatus\x12 \n\x13geometry_version_id\x18\x05 \x01(\tH\x00\x88\x01\x01\x12\x12\n\nproject_id\x18\x06 \x01(\t\"v\n\nMeshStatus\x12\x1b\n\x17MESH_STATUS_UNSPECIFIED\x10\x00\x12\x18\n\x14MESH_STATUS_CREATING\x10\x01\x12\x19\n\x15MESH_STATUS_COMPLETED\x10\x02\x12\x16\n\x12MESH_STATUS_FAILED\x10\x03\x42\x16\n\x14_geometry_version_id\"\x1c\n\x0eGetMeshRequest\x12\n\n\x02id\x18\x01 \x01(\t\"O\n\x0fGetMeshResponse\x12<\n\x04mesh\x18\x01 \x01(\x0b\x32..luminary.proto.api.v0.luminarycloud.mesh.Mesh\"$\n\x16GetMeshMetadataRequest\x12\n\n\x02id\x18\x01 \x01(\t\"h\n\x17GetMeshMetadataResponse\x12M\n\rmesh_metadata\x18\x01 \x01(\x0b\x32\x36.luminary.proto.api.v0.luminarycloud.mesh.MeshMetadata\"\xd2\x04\n\x0cMeshMetadata\x12J\n\x05zones\x18\x01 \x03(\x0b\x32;.luminary.proto.api.v0.luminarycloud.mesh.MeshMetadata.Zone\x1a\xcd\x01\n\tMeshStats\x12\x10\n\x08n_points\x18\x01 \x01(\x03\x12\x0f\n\x07n_faces\x18\x02 \x01(\x03\x12\r\n\x05n_cvs\x18\x03 \x01(\x03\x12\x46\n\tmin_coord\x18\x05 \x01(\x0b\x32\x33.luminary.proto.api.v0.luminarycloud.common.Vector3\x12\x46\n\tmax_coord\x18\x06 \x01(\x0b\x32\x33.luminary.proto.api.v0.luminarycloud.common.Vector3\x1ai\n\x08\x42oundary\x12\x0c\n\x04name\x18\x01 \x01(\t\x12O\n\x05stats\x18\x02 \x01(\x0b\x32@.luminary.proto.api.v0.luminarycloud.mesh.MeshMetadata.MeshStats\x1a\xba\x01\n\x04Zone\x12S\n\nboundaries\x18\x01 \x03(\x0b\x32?.luminary.proto.api.v0.luminarycloud.mesh.MeshMetadata.Boundary\x12O\n\x05stats\x18\x02 \x01(\x0b\x32@.luminary.proto.api.v0.luminarycloud.mesh.MeshMetadata.MeshStats\x12\x0c\n\x04name\x18\x03 \x01(\t\"\'\n\x11ListMeshesRequest\x12\x12\n\nproject_id\x18\x01 \x01(\t\"T\n\x12ListMeshesResponse\x12>\n\x06meshes\x18\x01 \x03(\x0b\x32..luminary.proto.api.v0.luminarycloud.mesh.Mesh\"-\n\x11UpdateMeshRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\"R\n\x12UpdateMeshResponse\x12<\n\x04mesh\x18\x01 \x01(\x0b\x32..luminary.proto.api.v0.luminarycloud.mesh.Mesh\"\xab\x02\n\x11\x43reateMeshRequest\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12`\n\x16mesh_adaptation_params\x18\x03 \x01(\x0b\x32>.luminary.proto.api.v0.luminarycloud.mesh.MeshAdaptationParamsH\x00\x12`\n\x16mesh_generation_params\x18\x04 \x01(\x0b\x32>.luminary.proto.api.v0.luminarycloud.mesh.MeshGenerationParamsH\x00\x12\x17\n\nrequest_id\x18\x05 \x01(\tH\x01\x88\x01\x01\x42\x08\n\x06paramsB\r\n\x0b_request_id\"R\n\x12\x43reateMeshResponse\x12<\n\x04mesh\x18\x01 \x01(\x0b\x32..luminary.proto.api.v0.luminarycloud.mesh.Mesh\"\xff\x01\n\x11UploadMeshRequest\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0f\n\x07scaling\x18\x03 \x01(\x01\x12\x14\n\x0cupload_token\x18\x04 \x01(\t\x12I\n\nfile_chunk\x18\x05 \x01(\x0b\x32\x35.luminary.proto.api.v0.luminarycloud.common.FileChunk\x12\x32\n\tmesh_type\x18\x06 \x01(\x0e\x32\x1f.luminary.proto.upload.MeshType\x12\"\n\x1a\x64o_not_read_zones_openfoam\x18\x07 \x01(\x08\"h\n\x12UploadMeshResponse\x12<\n\x04mesh\x18\x01 \x01(\x0b\x32..luminary.proto.api.v0.luminarycloud.mesh.Mesh\x12\x14\n\x0cupload_token\x18\x02 \x01(\t\"\x1f\n\x11\x44\x65leteMeshRequest\x12\n\n\x02id\x18\x01 \x01(\t\"t\n\x14MeshAdaptationParams\x12\x1c\n\x14source_simulation_id\x18\x01 \x01(\t\x12\x17\n\x0ftarget_cv_count\x18\x02 \x01(\x04\x12\x0f\n\x07h_ratio\x18\x03 \x01(\x01\x12\x14\n\x0c\x61spect_ratio\x18\x04 \x01(\x01\"\xcd\x10\n\x14MeshGenerationParams\x12\x33\n\x0b\x62ody_x_axis\x18\x01 \x01(\x0b\x32\x1e.luminary.proto.base.AdVector3\x12\x33\n\x0b\x62ody_y_axis\x18\x02 \x01(\x0b\x32\x1e.luminary.proto.base.AdVector3\x12\x16\n\x0e\x61\x64\x64_refinement\x18\x03 \x01(\x08\x12\x18\n\x10proximity_layers\x18\x04 \x01(\r\x12\x62\n\rvolume_params\x18\x05 \x03(\x0b\x32K.luminary.proto.api.v0.luminarycloud.mesh.MeshGenerationParams.VolumeParams\x12`\n\x0cmodel_params\x18\x06 \x03(\x0b\x32J.luminary.proto.api.v0.luminarycloud.mesh.MeshGenerationParams.ModelParams\x12\x65\n\tbl_params\x18\x07 \x03(\x0b\x32R.luminary.proto.api.v0.luminarycloud.mesh.MeshGenerationParams.BoundaryLayerParams\x12l\n\rrefine_params\x18\x08 \x03(\x0b\x32U.luminary.proto.api.v0.luminarycloud.mesh.MeshGenerationParams.RefinementRegionParams\x12\x13\n\x0bgeometry_id\x18\t \x01(\t\x12s\n\x16mesh_complexity_params\x18\n \x01(\x0b\x32S.luminary.proto.api.v0.luminarycloud.mesh.MeshGenerationParams.MeshComplexityParams\x12\x64\n\x0eoverset_params\x18\x0b \x01(\x0b\x32L.luminary.proto.api.v0.luminarycloud.mesh.MeshGenerationParams.OversetParams\x12`\n\x0cmeshing_mode\x18\x0c \x01(\x0b\x32J.luminary.proto.api.v0.luminarycloud.mesh.MeshGenerationParams.MeshingMode\x12\x10\n\x08use_wrap\x18\r \x01(\x08\x1a`\n\x0cVolumeParams\x12\x10\n\x08min_size\x18\x01 \x01(\x01\x12\x10\n\x08max_size\x18\x02 \x01(\x01\x12\x13\n\x07volumes\x18\x03 \x03(\x03\x42\x02\x18\x01\x12\x17\n\x0fvolume_entities\x18\x04 \x03(\t\x1a\x44\n\x0bModelParams\x12\x11\n\tcurvature\x18\x01 \x01(\x01\x12\x10\n\x08max_size\x18\x02 \x01(\x01\x12\x10\n\x08surfaces\x18\x03 \x03(\t\x1a\x64\n\x13\x42oundaryLayerParams\x12\x10\n\x08n_layers\x18\x01 \x01(\r\x12\x14\n\x0cinitial_size\x18\x02 \x01(\x01\x12\x13\n\x0bgrowth_rate\x18\x03 \x01(\x01\x12\x10\n\x08surfaces\x18\x04 \x03(\t\x1a\x8b\x03\n\x16RefinementRegionParams\x12\x0f\n\x07h_limit\x18\x01 \x01(\x01\x12,\n\x06sphere\x18\x02 \x01(\x0b\x32\x1a.luminary.proto.cad.SphereH\x00\x12\x37\n\x0csphere_shell\x18\x03 \x01(\x0b\x32\x1f.luminary.proto.cad.SphereShellH\x00\x12(\n\x04\x63ube\x18\x04 \x01(\x0b\x32\x18.luminary.proto.cad.CubeH\x00\x12\x39\n\roriented_cube\x18\x05 \x01(\x0b\x32 .luminary.proto.cad.OrientedCubeH\x00\x12\x30\n\x08\x63ylinder\x18\x06 \x01(\x0b\x32\x1c.luminary.proto.cad.CylinderH\x00\x12?\n\x10\x61nnular_cylinder\x18\x07 \x01(\x0b\x32#.luminary.proto.cad.AnnularCylinderH\x00\x12\n\n\x02id\x18\x08 \x01(\t\x12\x0c\n\x04name\x18\t \x01(\tB\x07\n\x05shape\x1a\xe7\x01\n\x14MeshComplexityParams\x12\x14\n\x0ctarget_cells\x18\x01 \x01(\x04\x12\x17\n\x0flimit_max_cells\x18\x02 \x01(\x04\x12p\n\x04type\x18\x03 \x01(\x0e\x32\x62.luminary.proto.api.v0.luminarycloud.mesh.MeshGenerationParams.MeshComplexityParams.ComplexityType\".\n\x0e\x43omplexityType\x12\x07\n\x03MAX\x10\x00\x12\n\n\x06TARGET\x10\x01\x12\x07\n\x03MIN\x10\x02\x1a!\n\rOversetParams\x12\x10\n\x08surfaces\x18\x01 \x03(\t\x1a\xf0\x01\n\x0bMeshingMode\x12\x65\n\x07\x64\x65\x66\x61ult\x18\x01 \x01(\x0b\x32R.luminary.proto.api.v0.luminarycloud.mesh.MeshGenerationParams.MeshingMode.DefaultH\x00\x12_\n\x04\x62\x61se\x18\x02 \x01(\x0b\x32O.luminary.proto.api.v0.luminarycloud.mesh.MeshGenerationParams.MeshingMode.BaseH\x00\x1a\t\n\x07\x44\x65\x66\x61ult\x1a\x06\n\x04\x42\x61seB\x06\n\x04mode\"h\n\x14\x43reateHexMeshRequest\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12<\n\x0fhex_mesh_config\x18\x02 \x01(\x0b\x32#.luminary.proto.hexmesh.HexMeshSpec\"(\n\x15\x43reateHexMeshResponse\x12\x0f\n\x07mesh_id\x18\x01 \x01(\t2\xac\n\n\x0bMeshService\x12\x97\x01\n\x07GetMesh\x12\x38.luminary.proto.api.v0.luminarycloud.mesh.GetMeshRequest\x1a\x39.luminary.proto.api.v0.luminarycloud.mesh.GetMeshResponse\"\x17\x82\xd3\xe4\x93\x02\x11\x12\x0f/v0/meshes/{id}\x12\xba\x01\n\x0fGetMeshMetadata\x12@.luminary.proto.api.v0.luminarycloud.mesh.GetMeshMetadataRequest\x1a\x41.luminary.proto.api.v0.luminarycloud.mesh.GetMeshMetadataResponse\"\"\x82\xd3\xe4\x93\x02\x1c\x12\x1a/v0/meshes:getmeshmetadata\x12\xb1\x01\n\nListMeshes\x12;.luminary.proto.api.v0.luminarycloud.mesh.ListMeshesRequest\x1a<.luminary.proto.api.v0.luminarycloud.mesh.ListMeshesResponse\"(\x82\xd3\xe4\x93\x02\"\x12 /v0/projects/{project_id}/meshes\x12\xa3\x01\n\nUpdateMesh\x12;.luminary.proto.api.v0.luminarycloud.mesh.UpdateMeshRequest\x1a<.luminary.proto.api.v0.luminarycloud.mesh.UpdateMeshResponse\"\x1a\x82\xd3\xe4\x93\x02\x14\x32\x0f/v0/meshes/{id}:\x01*\x12\xbb\x01\n\nUploadMesh\x12;.luminary.proto.api.v0.luminarycloud.mesh.UploadMeshRequest\x1a<.luminary.proto.api.v0.luminarycloud.mesh.UploadMeshResponse\"2\x82\xd3\xe4\x93\x02,\"\'/v0/projects/{project_id}/meshes:upload:\x01*\x12z\n\nDeleteMesh\x12;.luminary.proto.api.v0.luminarycloud.mesh.DeleteMeshRequest\x1a\x16.google.protobuf.Empty\"\x17\x82\xd3\xe4\x93\x02\x11*\x0f/v0/meshes/{id}\x12\x9e\x01\n\nCreateMesh\x12;.luminary.proto.api.v0.luminarycloud.mesh.CreateMeshRequest\x1a<.luminary.proto.api.v0.luminarycloud.mesh.CreateMeshResponse\"\x15\x82\xd3\xe4\x93\x02\x0f\"\n/v0/meshes:\x01*\x12\x90\x01\n\rCreateHexMesh\x12>.luminary.proto.api.v0.luminarycloud.mesh.CreateHexMeshRequest\x1a?.luminary.proto.api.v0.luminarycloud.mesh.CreateHexMeshResponseB8Z6luminarycloud.com/core/proto/api/v0/luminarycloud/meshb\x06proto3')
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
|
|
@@ -293,6 +293,8 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
293
293
|
|
|
294
294
|
DESCRIPTOR._options = None
|
|
295
295
|
DESCRIPTOR._serialized_options = b'Z6luminarycloud.com/core/proto/api/v0/luminarycloud/mesh'
|
|
296
|
+
_MESHGENERATIONPARAMS_VOLUMEPARAMS.fields_by_name['volumes']._options = None
|
|
297
|
+
_MESHGENERATIONPARAMS_VOLUMEPARAMS.fields_by_name['volumes']._serialized_options = b'\030\001'
|
|
296
298
|
_MESHSERVICE.methods_by_name['GetMesh']._options = None
|
|
297
299
|
_MESHSERVICE.methods_by_name['GetMesh']._serialized_options = b'\202\323\344\223\002\021\022\017/v0/meshes/{id}'
|
|
298
300
|
_MESHSERVICE.methods_by_name['GetMeshMetadata']._options = None
|
|
@@ -348,31 +350,31 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
348
350
|
_MESHADAPTATIONPARAMS._serialized_start=2580
|
|
349
351
|
_MESHADAPTATIONPARAMS._serialized_end=2696
|
|
350
352
|
_MESHGENERATIONPARAMS._serialized_start=2699
|
|
351
|
-
_MESHGENERATIONPARAMS._serialized_end=
|
|
353
|
+
_MESHGENERATIONPARAMS._serialized_end=4824
|
|
352
354
|
_MESHGENERATIONPARAMS_VOLUMEPARAMS._serialized_start=3646
|
|
353
|
-
_MESHGENERATIONPARAMS_VOLUMEPARAMS._serialized_end=
|
|
354
|
-
_MESHGENERATIONPARAMS_MODELPARAMS._serialized_start=
|
|
355
|
-
_MESHGENERATIONPARAMS_MODELPARAMS._serialized_end=
|
|
356
|
-
_MESHGENERATIONPARAMS_BOUNDARYLAYERPARAMS._serialized_start=
|
|
357
|
-
_MESHGENERATIONPARAMS_BOUNDARYLAYERPARAMS._serialized_end=
|
|
358
|
-
_MESHGENERATIONPARAMS_REFINEMENTREGIONPARAMS._serialized_start=
|
|
359
|
-
_MESHGENERATIONPARAMS_REFINEMENTREGIONPARAMS._serialized_end=
|
|
360
|
-
_MESHGENERATIONPARAMS_MESHCOMPLEXITYPARAMS._serialized_start=
|
|
361
|
-
_MESHGENERATIONPARAMS_MESHCOMPLEXITYPARAMS._serialized_end=
|
|
362
|
-
_MESHGENERATIONPARAMS_MESHCOMPLEXITYPARAMS_COMPLEXITYTYPE._serialized_start=
|
|
363
|
-
_MESHGENERATIONPARAMS_MESHCOMPLEXITYPARAMS_COMPLEXITYTYPE._serialized_end=
|
|
364
|
-
_MESHGENERATIONPARAMS_OVERSETPARAMS._serialized_start=
|
|
365
|
-
_MESHGENERATIONPARAMS_OVERSETPARAMS._serialized_end=
|
|
366
|
-
_MESHGENERATIONPARAMS_MESHINGMODE._serialized_start=
|
|
367
|
-
_MESHGENERATIONPARAMS_MESHINGMODE._serialized_end=
|
|
368
|
-
_MESHGENERATIONPARAMS_MESHINGMODE_DEFAULT._serialized_start=
|
|
369
|
-
_MESHGENERATIONPARAMS_MESHINGMODE_DEFAULT._serialized_end=
|
|
370
|
-
_MESHGENERATIONPARAMS_MESHINGMODE_BASE._serialized_start=
|
|
371
|
-
_MESHGENERATIONPARAMS_MESHINGMODE_BASE._serialized_end=
|
|
372
|
-
_CREATEHEXMESHREQUEST._serialized_start=
|
|
373
|
-
_CREATEHEXMESHREQUEST._serialized_end=
|
|
374
|
-
_CREATEHEXMESHRESPONSE._serialized_start=
|
|
375
|
-
_CREATEHEXMESHRESPONSE._serialized_end=
|
|
376
|
-
_MESHSERVICE._serialized_start=
|
|
377
|
-
_MESHSERVICE._serialized_end=
|
|
355
|
+
_MESHGENERATIONPARAMS_VOLUMEPARAMS._serialized_end=3742
|
|
356
|
+
_MESHGENERATIONPARAMS_MODELPARAMS._serialized_start=3744
|
|
357
|
+
_MESHGENERATIONPARAMS_MODELPARAMS._serialized_end=3812
|
|
358
|
+
_MESHGENERATIONPARAMS_BOUNDARYLAYERPARAMS._serialized_start=3814
|
|
359
|
+
_MESHGENERATIONPARAMS_BOUNDARYLAYERPARAMS._serialized_end=3914
|
|
360
|
+
_MESHGENERATIONPARAMS_REFINEMENTREGIONPARAMS._serialized_start=3917
|
|
361
|
+
_MESHGENERATIONPARAMS_REFINEMENTREGIONPARAMS._serialized_end=4312
|
|
362
|
+
_MESHGENERATIONPARAMS_MESHCOMPLEXITYPARAMS._serialized_start=4315
|
|
363
|
+
_MESHGENERATIONPARAMS_MESHCOMPLEXITYPARAMS._serialized_end=4546
|
|
364
|
+
_MESHGENERATIONPARAMS_MESHCOMPLEXITYPARAMS_COMPLEXITYTYPE._serialized_start=4500
|
|
365
|
+
_MESHGENERATIONPARAMS_MESHCOMPLEXITYPARAMS_COMPLEXITYTYPE._serialized_end=4546
|
|
366
|
+
_MESHGENERATIONPARAMS_OVERSETPARAMS._serialized_start=4548
|
|
367
|
+
_MESHGENERATIONPARAMS_OVERSETPARAMS._serialized_end=4581
|
|
368
|
+
_MESHGENERATIONPARAMS_MESHINGMODE._serialized_start=4584
|
|
369
|
+
_MESHGENERATIONPARAMS_MESHINGMODE._serialized_end=4824
|
|
370
|
+
_MESHGENERATIONPARAMS_MESHINGMODE_DEFAULT._serialized_start=4799
|
|
371
|
+
_MESHGENERATIONPARAMS_MESHINGMODE_DEFAULT._serialized_end=4808
|
|
372
|
+
_MESHGENERATIONPARAMS_MESHINGMODE_BASE._serialized_start=4810
|
|
373
|
+
_MESHGENERATIONPARAMS_MESHINGMODE_BASE._serialized_end=4816
|
|
374
|
+
_CREATEHEXMESHREQUEST._serialized_start=4826
|
|
375
|
+
_CREATEHEXMESHREQUEST._serialized_end=4930
|
|
376
|
+
_CREATEHEXMESHRESPONSE._serialized_start=4932
|
|
377
|
+
_CREATEHEXMESHRESPONSE._serialized_end=4972
|
|
378
|
+
_MESHSERVICE._serialized_start=4975
|
|
379
|
+
_MESHSERVICE._serialized_end=6299
|
|
378
380
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -528,6 +528,7 @@ class MeshGenerationParams(google.protobuf.message.Message):
|
|
|
528
528
|
MIN_SIZE_FIELD_NUMBER: builtins.int
|
|
529
529
|
MAX_SIZE_FIELD_NUMBER: builtins.int
|
|
530
530
|
VOLUMES_FIELD_NUMBER: builtins.int
|
|
531
|
+
VOLUME_ENTITIES_FIELD_NUMBER: builtins.int
|
|
531
532
|
min_size: builtins.float
|
|
532
533
|
"""The minimum mesh element size in meters; should be > 0.0"""
|
|
533
534
|
max_size: builtins.float
|
|
@@ -537,14 +538,17 @@ class MeshGenerationParams(google.protobuf.message.Message):
|
|
|
537
538
|
"""Volumes this set of parameters applies to
|
|
538
539
|
Each volume should belong to one and only one instance of VolumeParams
|
|
539
540
|
"""
|
|
541
|
+
@property
|
|
542
|
+
def volume_entities(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
|
540
543
|
def __init__(
|
|
541
544
|
self,
|
|
542
545
|
*,
|
|
543
546
|
min_size: builtins.float = ...,
|
|
544
547
|
max_size: builtins.float = ...,
|
|
545
548
|
volumes: collections.abc.Iterable[builtins.int] | None = ...,
|
|
549
|
+
volume_entities: collections.abc.Iterable[builtins.str] | None = ...,
|
|
546
550
|
) -> None: ...
|
|
547
|
-
def ClearField(self, field_name: typing_extensions.Literal["max_size", b"max_size", "min_size", b"min_size", "volumes", b"volumes"]) -> None: ...
|
|
551
|
+
def ClearField(self, field_name: typing_extensions.Literal["max_size", b"max_size", "min_size", b"min_size", "volume_entities", b"volume_entities", "volumes", b"volumes"]) -> None: ...
|
|
548
552
|
|
|
549
553
|
class ModelParams(google.protobuf.message.Message):
|
|
550
554
|
"""Model meshing parameters"""
|
|
@@ -23,7 +23,7 @@ from luminarycloud._proto.client import simulation_pb2 as proto_dot_client_dot_s
|
|
|
23
23
|
from luminarycloud._proto.api.v0.luminarycloud.common import common_pb2 as proto_dot_api_dot_v0_dot_luminarycloud_dot_common_dot_common__pb2
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n6proto/api/v0/luminarycloud/simulation/simulation.proto\x12.luminary.proto.api.v0.luminarycloud.simulation\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x15proto/base/base.proto\x1a\x1dproto/quantity/quantity.proto\x1a#proto/output/reference_values.proto\x1a\x1dproto/client/simulation.proto\x1a.proto/api/v0/luminarycloud/common/common.proto\"\xf4\x03\n\nSimulation\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12[\n\x06status\x18\x05 \x01(\x0e\x32K.luminary.proto.api.v0.luminarycloud.simulation.Simulation.SimulationStatus\x12\x0f\n\x07mesh_id\x18\x06 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x07 \x01(\t\x12\x12\n\nproject_id\x18\x08 \x01(\t\"\xd2\x01\n\x10SimulationStatus\x12!\n\x1dSIMULATION_STATUS_UNSPECIFIED\x10\x00\x12\x1d\n\x19SIMULATION_STATUS_PENDING\x10\x01\x12\x1c\n\x18SIMULATION_STATUS_ACTIVE\x10\x02\x12\x1f\n\x1bSIMULATION_STATUS_COMPLETED\x10\x03\x12\x1c\n\x18SIMULATION_STATUS_FAILED\x10\x04\x12\x1f\n\x1bSIMULATION_STATUS_SUSPENDED\x10\x05\"\xe8\x01\n\x11SimulationOptions\x12\x18\n\x10\x62\x61tch_processing\x18\x01 \x01(\x08\x12[\n\x08gpu_type\x18\x08 \x01(\x0e\x32I.luminary.proto.api.v0.luminarycloud.simulation.SimulationOptions.GPUType\x12\x11\n\tgpu_count\x18\t \x01(\r\"I\n\x07GPUType\x12\x18\n\x14GPU_TYPE_UNSPECIFIED\x10\x00\x12\x11\n\rGPU_TYPE_V100\x10\x01\x12\x11\n\rGPU_TYPE_A100\x10\x02\"\
|
|
26
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n6proto/api/v0/luminarycloud/simulation/simulation.proto\x12.luminary.proto.api.v0.luminarycloud.simulation\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x15proto/base/base.proto\x1a\x1dproto/quantity/quantity.proto\x1a#proto/output/reference_values.proto\x1a\x1dproto/client/simulation.proto\x1a.proto/api/v0/luminarycloud/common/common.proto\"\xf4\x03\n\nSimulation\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12[\n\x06status\x18\x05 \x01(\x0e\x32K.luminary.proto.api.v0.luminarycloud.simulation.Simulation.SimulationStatus\x12\x0f\n\x07mesh_id\x18\x06 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x07 \x01(\t\x12\x12\n\nproject_id\x18\x08 \x01(\t\"\xd2\x01\n\x10SimulationStatus\x12!\n\x1dSIMULATION_STATUS_UNSPECIFIED\x10\x00\x12\x1d\n\x19SIMULATION_STATUS_PENDING\x10\x01\x12\x1c\n\x18SIMULATION_STATUS_ACTIVE\x10\x02\x12\x1f\n\x1bSIMULATION_STATUS_COMPLETED\x10\x03\x12\x1c\n\x18SIMULATION_STATUS_FAILED\x10\x04\x12\x1f\n\x1bSIMULATION_STATUS_SUSPENDED\x10\x05\"\xe8\x01\n\x11SimulationOptions\x12\x18\n\x10\x62\x61tch_processing\x18\x01 \x01(\x08\x12[\n\x08gpu_type\x18\x08 \x01(\x0e\x32I.luminary.proto.api.v0.luminarycloud.simulation.SimulationOptions.GPUType\x12\x11\n\tgpu_count\x18\t \x01(\r\"I\n\x07GPUType\x12\x18\n\x14GPU_TYPE_UNSPECIFIED\x10\x00\x12\x11\n\rGPU_TYPE_V100\x10\x01\x12\x11\n\rGPU_TYPE_A100\x10\x02\"\xf0\x02\n\x17\x43reateSimulationRequest\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x0f\n\x07mesh_id\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x1e\n\x16simulation_template_id\x18\x04 \x01(\t\x12]\n\x12simulation_options\x18\x05 \x01(\x0b\x32\x41.luminary.proto.api.v0.luminarycloud.simulation.SimulationOptions\x12\x44\n\x10simulation_param\x18\x06 \x01(\x0b\x32&.luminary.proto.client.SimulationParamB\x02\x18\x01\x12!\n\x15simulation_param_json\x18\x07 \x01(\x0c\x42\x02\x18\x01\x12\x13\n\x0b\x64\x65scription\x18\x08 \x01(\t\x12%\n\x1dnamed_variable_set_version_id\x18\t \x01(\t\"j\n\x18\x43reateSimulationResponse\x12N\n\nsimulation\x18\x01 \x01(\x0b\x32:.luminary.proto.api.v0.luminarycloud.simulation.Simulation\"\"\n\x14GetSimulationRequest\x12\n\n\x02id\x18\x01 \x01(\t\"g\n\x15GetSimulationResponse\x12N\n\nsimulation\x18\x01 \x01(\x0b\x32:.luminary.proto.api.v0.luminarycloud.simulation.Simulation\"k\n\x17UpdateSimulationRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\x04name\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tH\x01\x88\x01\x01\x42\x07\n\x05_nameB\x0e\n\x0c_description\"j\n\x18UpdateSimulationResponse\x12N\n\nsimulation\x18\x01 \x01(\x0b\x32:.luminary.proto.api.v0.luminarycloud.simulation.Simulation\",\n\x16ListSimulationsRequest\x12\x12\n\nproject_id\x18\x01 \x01(\t\"j\n\x17ListSimulationsResponse\x12O\n\x0bsimulations\x18\x01 \x03(\x0b\x32:.luminary.proto.api.v0.luminarycloud.simulation.Simulation\"%\n\x17\x44\x65leteSimulationRequest\x12\n\n\x02id\x18\x01 \x01(\t\"&\n\x18SuspendSimulationRequest\x12\n\n\x02id\x18\x01 \x01(\t\"\xcf\x02\n#GetSimulationGlobalResidualsRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x89\x01\n\x16residual_normalization\x18\x03 \x01(\x0e\x32i.luminary.proto.api.v0.luminarycloud.simulation.GetSimulationGlobalResidualsRequest.ResidualNormalization\"\x89\x01\n\x15ResidualNormalization\x12&\n\"RESIDUAL_NORMALIZATION_UNSPECIFIED\x10\x00\x12#\n\x1fRESIDUAL_NORMALIZATION_RELATIVE\x10\x01\x12#\n\x1fRESIDUAL_NORMALIZATION_ABSOLUTE\x10\x02J\x04\x08\x04\x10\x05\"j\n$GetSimulationGlobalResidualsResponse\x12\x42\n\x08\x63sv_file\x18\x01 \x01(\x0b\x32\x30.luminary.proto.api.v0.luminarycloud.common.File\"\xf1\x04\n)GetSimulationSurfaceQuantityOutputRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12<\n\rquantity_type\x18\x02 \x01(\x0e\x32%.luminary.proto.quantity.QuantityType\x12\x13\n\x0bsurface_ids\x18\x03 \x03(\t\x12Y\n\x10\x63\x61lculation_type\x18\x04 \x01(\x0e\x32?.luminary.proto.api.v0.luminarycloud.simulation.CalculationType\x12\x10\n\x08\x66rame_id\x18\x06 \x01(\t\x12L\n\x0f\x66orce_direction\x18\x11 \x01(\x0b\x32\x33.luminary.proto.api.v0.luminarycloud.common.Vector3\x12J\n\rmoment_center\x18\x12 \x01(\x0b\x32\x33.luminary.proto.api.v0.luminarycloud.common.Vector3\x12U\n\x0e\x61veraging_type\x18\x13 \x01(\x0e\x32=.luminary.proto.api.v0.luminarycloud.simulation.AveragingType\x12@\n\x10reference_values\x18\x14 \x01(\x0b\x32&.luminary.proto.output.ReferenceValues\x12?\n\x10vector_component\x18\x15 \x01(\x0e\x32%.luminary.proto.base.Vector3ComponentJ\x04\x08\x05\x10\x06\"p\n*GetSimulationSurfaceQuantityOutputResponse\x12\x42\n\x08\x63sv_file\x18\x01 \x01(\x0b\x32\x30.luminary.proto.api.v0.luminarycloud.common.File\"J\n#GetSimulationSurfaceSolutionRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\ttime_step\x18\x03 \x01(\rJ\x04\x08\x02\x10\x03\"l\n$GetSimulationSurfaceSolutionResponse\x12>\n\x04\x66ile\x18\x02 \x01(\x0b\x32\x30.luminary.proto.api.v0.luminarycloud.common.FileJ\x04\x08\x01\x10\x02\"c\n\"GetSimulationVolumeSolutionRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\ttime_step\x18\x03 \x01(\r\x12\x18\n\x10single_precision\x18\x04 \x01(\x08J\x04\x08\x02\x10\x03\"k\n#GetSimulationVolumeSolutionResponse\x12>\n\x04\x66ile\x18\x02 \x01(\x0b\x32\x30.luminary.proto.api.v0.luminarycloud.common.FileJ\x04\x08\x01\x10\x02\",\n\x1eGetSimulationParametersRequest\x12\n\n\x02id\x18\x01 \x01(\t*\x96\x01\n\x0f\x43\x61lculationType\x12 \n\x1c\x43\x41LCULATION_TYPE_UNSPECIFIED\x10\x00\x12\x1e\n\x1a\x43\x41LCULATION_TYPE_AGGREGATE\x10\x01\x12 \n\x1c\x43\x41LCULATION_TYPE_PER_SURFACE\x10\x02\x12\x1f\n\x1b\x43\x41LCULATION_TYPE_DIFFERENCE\x10\x03*f\n\rAveragingType\x12\x1e\n\x1a\x41VERAGING_TYPE_UNSPECIFIED\x10\x00\x12\x1c\n\x18\x41VERAGING_TYPE_MASS_FLOW\x10\x01\x12\x17\n\x13\x41VERAGING_TYPE_AREA\x10\x02\x32\xb2\x12\n\x11SimulationService\x12\xd7\x01\n\x10\x43reateSimulation\x12G.luminary.proto.api.v0.luminarycloud.simulation.CreateSimulationRequest\x1aH.luminary.proto.api.v0.luminarycloud.simulation.CreateSimulationResponse\"0\x82\xd3\xe4\x93\x02*\"%/v0/projects/{project_id}/simulations:\x01*\x12\xba\x01\n\rGetSimulation\x12\x44.luminary.proto.api.v0.luminarycloud.simulation.GetSimulationRequest\x1a\x45.luminary.proto.api.v0.luminarycloud.simulation.GetSimulationResponse\"\x1c\x82\xd3\xe4\x93\x02\x16\x12\x14/v0/simulations/{id}\x12\xc6\x01\n\x10UpdateSimulation\x12G.luminary.proto.api.v0.luminarycloud.simulation.UpdateSimulationRequest\x1aH.luminary.proto.api.v0.luminarycloud.simulation.UpdateSimulationResponse\"\x1f\x82\xd3\xe4\x93\x02\x19\x32\x14/v0/simulations/{id}:\x01*\x12\xd1\x01\n\x0fListSimulations\x12\x46.luminary.proto.api.v0.luminarycloud.simulation.ListSimulationsRequest\x1aG.luminary.proto.api.v0.luminarycloud.simulation.ListSimulationsResponse\"-\x82\xd3\xe4\x93\x02\'\x12%/v0/projects/{project_id}/simulations\x12\x91\x01\n\x10\x44\x65leteSimulation\x12G.luminary.proto.api.v0.luminarycloud.simulation.DeleteSimulationRequest\x1a\x16.google.protobuf.Empty\"\x1c\x82\xd3\xe4\x93\x02\x16*\x14/v0/simulations/{id}\x12\x9b\x01\n\x11SuspendSimulation\x12H.luminary.proto.api.v0.luminarycloud.simulation.SuspendSimulationRequest\x1a\x16.google.protobuf.Empty\"$\x82\xd3\xe4\x93\x02\x1e\"\x1c/v0/simulations/{id}:suspend\x12\xf7\x01\n\x1cGetSimulationGlobalResiduals\x12S.luminary.proto.api.v0.luminarycloud.simulation.GetSimulationGlobalResidualsRequest\x1aT.luminary.proto.api.v0.luminarycloud.simulation.GetSimulationGlobalResidualsResponse\",\x82\xd3\xe4\x93\x02&\x12$/v0/simulations/{id}:globalresiduals\x12\x8f\x02\n\"GetSimulationSurfaceQuantityOutput\x12Y.luminary.proto.api.v0.luminarycloud.simulation.GetSimulationSurfaceQuantityOutputRequest\x1aZ.luminary.proto.api.v0.luminarycloud.simulation.GetSimulationSurfaceQuantityOutputResponse\"2\x82\xd3\xe4\x93\x02,\x12*/v0/simulations/{id}:surfacequantityoutput\x12\xf7\x01\n\x1cGetSimulationSurfaceSolution\x12S.luminary.proto.api.v0.luminarycloud.simulation.GetSimulationSurfaceSolutionRequest\x1aT.luminary.proto.api.v0.luminarycloud.simulation.GetSimulationSurfaceSolutionResponse\",\x82\xd3\xe4\x93\x02&\x12$/v0/simulations/{id}:surfacesolution\x12\xf3\x01\n\x1bGetSimulationVolumeSolution\x12R.luminary.proto.api.v0.luminarycloud.simulation.GetSimulationVolumeSolutionRequest\x1aS.luminary.proto.api.v0.luminarycloud.simulation.GetSimulationVolumeSolutionResponse\"+\x82\xd3\xe4\x93\x02%\x12#/v0/simulations/{id}:volumesolution\x12\xba\x01\n\x17GetSimulationParameters\x12N.luminary.proto.api.v0.luminarycloud.simulation.GetSimulationParametersRequest\x1a&.luminary.proto.client.SimulationParam\"\'\x82\xd3\xe4\x93\x02!\x12\x1f/v0/simulations/{id}/parametersB>Z<luminarycloud.com/core/proto/api/v0/luminarycloud/simulationb\x06proto3')
|
|
27
27
|
|
|
28
28
|
_CALCULATIONTYPE = DESCRIPTOR.enum_types_by_name['CalculationType']
|
|
29
29
|
CalculationType = enum_type_wrapper.EnumTypeWrapper(_CALCULATIONTYPE)
|
|
@@ -240,10 +240,10 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
240
240
|
_SIMULATIONSERVICE.methods_by_name['GetSimulationVolumeSolution']._serialized_options = b'\202\323\344\223\002%\022#/v0/simulations/{id}:volumesolution'
|
|
241
241
|
_SIMULATIONSERVICE.methods_by_name['GetSimulationParameters']._options = None
|
|
242
242
|
_SIMULATIONSERVICE.methods_by_name['GetSimulationParameters']._serialized_options = b'\202\323\344\223\002!\022\037/v0/simulations/{id}/parameters'
|
|
243
|
-
_CALCULATIONTYPE._serialized_start=
|
|
244
|
-
_CALCULATIONTYPE._serialized_end=
|
|
245
|
-
_AVERAGINGTYPE._serialized_start=
|
|
246
|
-
_AVERAGINGTYPE._serialized_end=
|
|
243
|
+
_CALCULATIONTYPE._serialized_start=3807
|
|
244
|
+
_CALCULATIONTYPE._serialized_end=3957
|
|
245
|
+
_AVERAGINGTYPE._serialized_start=3959
|
|
246
|
+
_AVERAGINGTYPE._serialized_end=4061
|
|
247
247
|
_SIMULATION._serialized_start=369
|
|
248
248
|
_SIMULATION._serialized_end=869
|
|
249
249
|
_SIMULATION_SIMULATIONSTATUS._serialized_start=659
|
|
@@ -253,45 +253,45 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
253
253
|
_SIMULATIONOPTIONS_GPUTYPE._serialized_start=1031
|
|
254
254
|
_SIMULATIONOPTIONS_GPUTYPE._serialized_end=1104
|
|
255
255
|
_CREATESIMULATIONREQUEST._serialized_start=1107
|
|
256
|
-
_CREATESIMULATIONREQUEST._serialized_end=
|
|
257
|
-
_CREATESIMULATIONRESPONSE._serialized_start=
|
|
258
|
-
_CREATESIMULATIONRESPONSE._serialized_end=
|
|
259
|
-
_GETSIMULATIONREQUEST._serialized_start=
|
|
260
|
-
_GETSIMULATIONREQUEST._serialized_end=
|
|
261
|
-
_GETSIMULATIONRESPONSE._serialized_start=
|
|
262
|
-
_GETSIMULATIONRESPONSE._serialized_end=
|
|
263
|
-
_UPDATESIMULATIONREQUEST._serialized_start=
|
|
264
|
-
_UPDATESIMULATIONREQUEST._serialized_end=
|
|
265
|
-
_UPDATESIMULATIONRESPONSE._serialized_start=
|
|
266
|
-
_UPDATESIMULATIONRESPONSE._serialized_end=
|
|
267
|
-
_LISTSIMULATIONSREQUEST._serialized_start=
|
|
268
|
-
_LISTSIMULATIONSREQUEST._serialized_end=
|
|
269
|
-
_LISTSIMULATIONSRESPONSE._serialized_start=
|
|
270
|
-
_LISTSIMULATIONSRESPONSE._serialized_end=
|
|
271
|
-
_DELETESIMULATIONREQUEST._serialized_start=
|
|
272
|
-
_DELETESIMULATIONREQUEST._serialized_end=
|
|
273
|
-
_SUSPENDSIMULATIONREQUEST._serialized_start=
|
|
274
|
-
_SUSPENDSIMULATIONREQUEST._serialized_end=
|
|
275
|
-
_GETSIMULATIONGLOBALRESIDUALSREQUEST._serialized_start=
|
|
276
|
-
_GETSIMULATIONGLOBALRESIDUALSREQUEST._serialized_end=
|
|
277
|
-
_GETSIMULATIONGLOBALRESIDUALSREQUEST_RESIDUALNORMALIZATION._serialized_start=
|
|
278
|
-
_GETSIMULATIONGLOBALRESIDUALSREQUEST_RESIDUALNORMALIZATION._serialized_end=
|
|
279
|
-
_GETSIMULATIONGLOBALRESIDUALSRESPONSE._serialized_start=
|
|
280
|
-
_GETSIMULATIONGLOBALRESIDUALSRESPONSE._serialized_end=
|
|
281
|
-
_GETSIMULATIONSURFACEQUANTITYOUTPUTREQUEST._serialized_start=
|
|
282
|
-
_GETSIMULATIONSURFACEQUANTITYOUTPUTREQUEST._serialized_end=
|
|
283
|
-
_GETSIMULATIONSURFACEQUANTITYOUTPUTRESPONSE._serialized_start=
|
|
284
|
-
_GETSIMULATIONSURFACEQUANTITYOUTPUTRESPONSE._serialized_end=
|
|
285
|
-
_GETSIMULATIONSURFACESOLUTIONREQUEST._serialized_start=
|
|
286
|
-
_GETSIMULATIONSURFACESOLUTIONREQUEST._serialized_end=
|
|
287
|
-
_GETSIMULATIONSURFACESOLUTIONRESPONSE._serialized_start=
|
|
288
|
-
_GETSIMULATIONSURFACESOLUTIONRESPONSE._serialized_end=
|
|
289
|
-
_GETSIMULATIONVOLUMESOLUTIONREQUEST._serialized_start=
|
|
290
|
-
_GETSIMULATIONVOLUMESOLUTIONREQUEST._serialized_end=
|
|
291
|
-
_GETSIMULATIONVOLUMESOLUTIONRESPONSE._serialized_start=
|
|
292
|
-
_GETSIMULATIONVOLUMESOLUTIONRESPONSE._serialized_end=
|
|
293
|
-
_GETSIMULATIONPARAMETERSREQUEST._serialized_start=
|
|
294
|
-
_GETSIMULATIONPARAMETERSREQUEST._serialized_end=
|
|
295
|
-
_SIMULATIONSERVICE._serialized_start=
|
|
296
|
-
_SIMULATIONSERVICE._serialized_end=
|
|
256
|
+
_CREATESIMULATIONREQUEST._serialized_end=1475
|
|
257
|
+
_CREATESIMULATIONRESPONSE._serialized_start=1477
|
|
258
|
+
_CREATESIMULATIONRESPONSE._serialized_end=1583
|
|
259
|
+
_GETSIMULATIONREQUEST._serialized_start=1585
|
|
260
|
+
_GETSIMULATIONREQUEST._serialized_end=1619
|
|
261
|
+
_GETSIMULATIONRESPONSE._serialized_start=1621
|
|
262
|
+
_GETSIMULATIONRESPONSE._serialized_end=1724
|
|
263
|
+
_UPDATESIMULATIONREQUEST._serialized_start=1726
|
|
264
|
+
_UPDATESIMULATIONREQUEST._serialized_end=1833
|
|
265
|
+
_UPDATESIMULATIONRESPONSE._serialized_start=1835
|
|
266
|
+
_UPDATESIMULATIONRESPONSE._serialized_end=1941
|
|
267
|
+
_LISTSIMULATIONSREQUEST._serialized_start=1943
|
|
268
|
+
_LISTSIMULATIONSREQUEST._serialized_end=1987
|
|
269
|
+
_LISTSIMULATIONSRESPONSE._serialized_start=1989
|
|
270
|
+
_LISTSIMULATIONSRESPONSE._serialized_end=2095
|
|
271
|
+
_DELETESIMULATIONREQUEST._serialized_start=2097
|
|
272
|
+
_DELETESIMULATIONREQUEST._serialized_end=2134
|
|
273
|
+
_SUSPENDSIMULATIONREQUEST._serialized_start=2136
|
|
274
|
+
_SUSPENDSIMULATIONREQUEST._serialized_end=2174
|
|
275
|
+
_GETSIMULATIONGLOBALRESIDUALSREQUEST._serialized_start=2177
|
|
276
|
+
_GETSIMULATIONGLOBALRESIDUALSREQUEST._serialized_end=2512
|
|
277
|
+
_GETSIMULATIONGLOBALRESIDUALSREQUEST_RESIDUALNORMALIZATION._serialized_start=2369
|
|
278
|
+
_GETSIMULATIONGLOBALRESIDUALSREQUEST_RESIDUALNORMALIZATION._serialized_end=2506
|
|
279
|
+
_GETSIMULATIONGLOBALRESIDUALSRESPONSE._serialized_start=2514
|
|
280
|
+
_GETSIMULATIONGLOBALRESIDUALSRESPONSE._serialized_end=2620
|
|
281
|
+
_GETSIMULATIONSURFACEQUANTITYOUTPUTREQUEST._serialized_start=2623
|
|
282
|
+
_GETSIMULATIONSURFACEQUANTITYOUTPUTREQUEST._serialized_end=3248
|
|
283
|
+
_GETSIMULATIONSURFACEQUANTITYOUTPUTRESPONSE._serialized_start=3250
|
|
284
|
+
_GETSIMULATIONSURFACEQUANTITYOUTPUTRESPONSE._serialized_end=3362
|
|
285
|
+
_GETSIMULATIONSURFACESOLUTIONREQUEST._serialized_start=3364
|
|
286
|
+
_GETSIMULATIONSURFACESOLUTIONREQUEST._serialized_end=3438
|
|
287
|
+
_GETSIMULATIONSURFACESOLUTIONRESPONSE._serialized_start=3440
|
|
288
|
+
_GETSIMULATIONSURFACESOLUTIONRESPONSE._serialized_end=3548
|
|
289
|
+
_GETSIMULATIONVOLUMESOLUTIONREQUEST._serialized_start=3550
|
|
290
|
+
_GETSIMULATIONVOLUMESOLUTIONREQUEST._serialized_end=3649
|
|
291
|
+
_GETSIMULATIONVOLUMESOLUTIONRESPONSE._serialized_start=3651
|
|
292
|
+
_GETSIMULATIONVOLUMESOLUTIONRESPONSE._serialized_end=3758
|
|
293
|
+
_GETSIMULATIONPARAMETERSREQUEST._serialized_start=3760
|
|
294
|
+
_GETSIMULATIONPARAMETERSREQUEST._serialized_end=3804
|
|
295
|
+
_SIMULATIONSERVICE._serialized_start=4064
|
|
296
|
+
_SIMULATIONSERVICE._serialized_end=6418
|
|
297
297
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -220,6 +220,7 @@ class CreateSimulationRequest(google.protobuf.message.Message):
|
|
|
220
220
|
SIMULATION_PARAM_FIELD_NUMBER: builtins.int
|
|
221
221
|
SIMULATION_PARAM_JSON_FIELD_NUMBER: builtins.int
|
|
222
222
|
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
223
|
+
NAMED_VARIABLE_SET_VERSION_ID_FIELD_NUMBER: builtins.int
|
|
223
224
|
project_id: builtins.str
|
|
224
225
|
"""Required. Project ID associated with this simulation."""
|
|
225
226
|
mesh_id: builtins.str
|
|
@@ -247,6 +248,10 @@ class CreateSimulationRequest(google.protobuf.message.Message):
|
|
|
247
248
|
"""
|
|
248
249
|
description: builtins.str
|
|
249
250
|
"""Optional. User specified description for this simulation."""
|
|
251
|
+
named_variable_set_version_id: builtins.str
|
|
252
|
+
"""Named Variable Set Version ID.
|
|
253
|
+
Used to resolve Named variables in the simulation template.
|
|
254
|
+
"""
|
|
250
255
|
def __init__(
|
|
251
256
|
self,
|
|
252
257
|
*,
|
|
@@ -258,9 +263,10 @@ class CreateSimulationRequest(google.protobuf.message.Message):
|
|
|
258
263
|
simulation_param: luminarycloud._proto.client.simulation_pb2.SimulationParam | None = ...,
|
|
259
264
|
simulation_param_json: builtins.bytes = ...,
|
|
260
265
|
description: builtins.str = ...,
|
|
266
|
+
named_variable_set_version_id: builtins.str = ...,
|
|
261
267
|
) -> None: ...
|
|
262
268
|
def HasField(self, field_name: typing_extensions.Literal["simulation_options", b"simulation_options", "simulation_param", b"simulation_param"]) -> builtins.bool: ...
|
|
263
|
-
def ClearField(self, field_name: typing_extensions.Literal["description", b"description", "mesh_id", b"mesh_id", "name", b"name", "project_id", b"project_id", "simulation_options", b"simulation_options", "simulation_param", b"simulation_param", "simulation_param_json", b"simulation_param_json", "simulation_template_id", b"simulation_template_id"]) -> None: ...
|
|
269
|
+
def ClearField(self, field_name: typing_extensions.Literal["description", b"description", "mesh_id", b"mesh_id", "name", b"name", "named_variable_set_version_id", b"named_variable_set_version_id", "project_id", b"project_id", "simulation_options", b"simulation_options", "simulation_param", b"simulation_param", "simulation_param_json", b"simulation_param_json", "simulation_template_id", b"simulation_template_id"]) -> None: ...
|
|
264
270
|
|
|
265
271
|
global___CreateSimulationRequest = CreateSimulationRequest
|
|
266
272
|
|
|
@@ -17,7 +17,7 @@ from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
|
|
|
17
17
|
from luminarycloud._proto.client import simulation_pb2 as proto_dot_client_dot_simulation__pb2
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fproto/assistant/assistant.proto\x12\x18luminary.proto.assistant\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1dproto/client/simulation.proto\"9\n\x16GetChatSessionsRequest\x12\r\n\x05scope\x18\x02 \x01(\tJ\x04\x08\x01\x10\x02R\nproject_id\".\n\x17GetChatSessionsResponse\x12\x13\n\x0bsession_ids\x18\x01 \x03(\t\"8\n\x15NewChatSessionRequest\x12\r\n\x05scope\x18\x02 \x01(\tJ\x04\x08\x01\x10\x02R\nproject_id\",\n\x16NewChatSessionResponse\x12\x12\n\nsession_id\x18\x01 \x01(\t\"\x9a\x02\n\x12NotebookOutputItem\x12\x38\n\x06stream\x18\x01 \x01(\x0b\x32&.luminary.proto.assistant.StreamOutputH\x00\x12=\n\x0c\x64isplay_data\x18\x02 \x01(\x0b\x32%.luminary.proto.assistant.DisplayDataH\x00\x12\x41\n\x0e\x65xecute_result\x18\x03 \x01(\x0b\x32\'.luminary.proto.assistant.ExecuteResultH\x00\x12\x36\n\x05\x65rror\x18\x04 \x01(\x0b\x32%.luminary.proto.assistant.ErrorOutputH\x00\x42\x10\n\x0eoutput_content\"V\n\x0cStreamOutput\x12\x38\n\x04name\x18\x01 \x01(\x0e\x32*.luminary.proto.assistant.StreamOutputType\x12\x0c\n\x04text\x18\x02 \x01(\t\"?\n\x0b\x45rrorOutput\x12\r\n\x05\x65name\x18\x01 \x01(\t\x12\x0e\n\x06\x65value\x18\x02 \x01(\t\x12\x11\n\ttraceback\x18\x03 \x03(\t\"}\n\rExecuteResult\x12?\n\x04\x64\x61ta\x18\x01 \x03(\x0b\x32\x31.luminary.proto.assistant.ExecuteResult.DataEntry\x1a+\n\tDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"y\n\x0b\x44isplayData\x12=\n\x04\x64\x61ta\x18\x01 \x03(\x0b\x32/.luminary.proto.assistant.DisplayData.DataEntry\x1a+\n\tDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xa6\x01\n\x0cNotebookCell\x12\x0f\n\x07\x63\x65ll_id\x18\x01 \x01(\t\x12\x35\n\tcell_type\x18\x02 \x01(\x0e\x32\".luminary.proto.assistant.CellType\x12\x0f\n\x07\x63ontent\x18\x03 \x01(\t\x12=\n\x07outputs\x18\x04 \x03(\x0b\x32,.luminary.proto.assistant.NotebookOutputItem\"b\n\x0fNotebookContext\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x35\n\x05\x63\x65lls\x18\x03 \x03(\x0b\x32&.luminary.proto.assistant.NotebookCell\"=\n\nSourceCode\x12\x10\n\x08language\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x0f\n\x07\x63ontent\x18\x03 \x01(\t\"G\n\x05Image\x12\x14\n\x0cimage_base64\x18\x01 \x01(\t\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_description\"\xdb\x01\n\x0b\x43ontextItem\x12\x45\n\x10notebook_context\x18\x01 \x01(\x0b\x32).luminary.proto.assistant.NotebookContextH\x00\x12;\n\x0bsource_code\x18\x02 \x01(\x0b\x32$.luminary.proto.assistant.SourceCodeH\x00\x12\x0e\n\x04text\x18\x03 \x01(\tH\x00\x12\x30\n\x05image\x18\x04 \x01(\x0b\x32\x1f.luminary.proto.assistant.ImageH\x00\x42\x06\n\x04item\"J\n\x10\x41ssistantContext\x12\x36\n\x07\x63ontext\x18\x01 \x03(\x0b\x32%.luminary.proto.assistant.ContextItem\"\xf6\x01\n\x07Request\x12\x0f\n\x07session\x18\x01 \x01(\t\x12\x0f\n\x07request\x18\x02 \x01(\t\x12\x0b\n\x03\x63md\x18\x03 \x01(\t\x12\x0e\n\x06\x61\x63\x63\x65ss\x18\x04 \x01(\t\x12\r\n\x05scope\x18\x06 \x01(\t\x12=\n\x06source\x18\x07 \x01(\x0e\x32-.luminary.proto.assistant.AssistRequestSource\x12@\n\x07\x63ontext\x18\x08 \x01(\x0b\x32*.luminary.proto.assistant.AssistantContextH\x00\x88\x01\x01\x42\n\n\x08_contextJ\x04\x08\x05\x10\x06R\nproject_id\"\x9e\x01\n\x05Reply\x12\x0f\n\x07session\x18\x01 \x01(\t\x12\x0f\n\x07request\x18\x02 \x01(\t\x12\x0c\n\x04last\x18\x03 \x01(\x08\x12\x32\n\x06\x61\x63tion\x18\x04 \x01(\x0b\x32 .luminary.proto.assistant.ActionH\x00\x12\x12\n\x08response\x18\x05 \x01(\tH\x00\x12\x15\n\x0bplotly_plot\x18\x06 \x01(\tH\x00\x42\x06\n\x04step\"&\n\x06\x41\x63tion\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06params\x18\x02 \x03(\t\"S\n\x07Outcome\x12\x0f\n\x07session\x18\x01 \x01(\t\x12\x0f\n\x07request\x18\x02 \x01(\t\x12\r\n\x03val\x18\x03 \x01(\tH\x00\x12\r\n\x03\x65rr\x18\x04 \x01(\tH\x00\x42\x08\n\x06result\"I\n\x15GetChatHistoryRequest\x12\x0f\n\x07session\x18\x01 \x01(\t\x12\r\n\x05scope\x18\x03 \x01(\tJ\x04\x08\x02\x10\x03R\nproject_id\"1\n\x10\x43hatHistoryEntry\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x0f\n\x07\x63ontent\x18\x02 \x01(\t\"U\n\x16GetChatHistoryResponse\x12;\n\x07\x65ntries\x18\x01 \x03(\x0b\x32*.luminary.proto.assistant.ChatHistoryEntry\"
|
|
20
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fproto/assistant/assistant.proto\x12\x18luminary.proto.assistant\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1dproto/client/simulation.proto\"9\n\x16GetChatSessionsRequest\x12\r\n\x05scope\x18\x02 \x01(\tJ\x04\x08\x01\x10\x02R\nproject_id\".\n\x17GetChatSessionsResponse\x12\x13\n\x0bsession_ids\x18\x01 \x03(\t\"8\n\x15NewChatSessionRequest\x12\r\n\x05scope\x18\x02 \x01(\tJ\x04\x08\x01\x10\x02R\nproject_id\",\n\x16NewChatSessionResponse\x12\x12\n\nsession_id\x18\x01 \x01(\t\"\x9a\x02\n\x12NotebookOutputItem\x12\x38\n\x06stream\x18\x01 \x01(\x0b\x32&.luminary.proto.assistant.StreamOutputH\x00\x12=\n\x0c\x64isplay_data\x18\x02 \x01(\x0b\x32%.luminary.proto.assistant.DisplayDataH\x00\x12\x41\n\x0e\x65xecute_result\x18\x03 \x01(\x0b\x32\'.luminary.proto.assistant.ExecuteResultH\x00\x12\x36\n\x05\x65rror\x18\x04 \x01(\x0b\x32%.luminary.proto.assistant.ErrorOutputH\x00\x42\x10\n\x0eoutput_content\"V\n\x0cStreamOutput\x12\x38\n\x04name\x18\x01 \x01(\x0e\x32*.luminary.proto.assistant.StreamOutputType\x12\x0c\n\x04text\x18\x02 \x01(\t\"?\n\x0b\x45rrorOutput\x12\r\n\x05\x65name\x18\x01 \x01(\t\x12\x0e\n\x06\x65value\x18\x02 \x01(\t\x12\x11\n\ttraceback\x18\x03 \x03(\t\"}\n\rExecuteResult\x12?\n\x04\x64\x61ta\x18\x01 \x03(\x0b\x32\x31.luminary.proto.assistant.ExecuteResult.DataEntry\x1a+\n\tDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"y\n\x0b\x44isplayData\x12=\n\x04\x64\x61ta\x18\x01 \x03(\x0b\x32/.luminary.proto.assistant.DisplayData.DataEntry\x1a+\n\tDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xa6\x01\n\x0cNotebookCell\x12\x0f\n\x07\x63\x65ll_id\x18\x01 \x01(\t\x12\x35\n\tcell_type\x18\x02 \x01(\x0e\x32\".luminary.proto.assistant.CellType\x12\x0f\n\x07\x63ontent\x18\x03 \x01(\t\x12=\n\x07outputs\x18\x04 \x03(\x0b\x32,.luminary.proto.assistant.NotebookOutputItem\"b\n\x0fNotebookContext\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x35\n\x05\x63\x65lls\x18\x03 \x03(\x0b\x32&.luminary.proto.assistant.NotebookCell\"=\n\nSourceCode\x12\x10\n\x08language\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x0f\n\x07\x63ontent\x18\x03 \x01(\t\"G\n\x05Image\x12\x14\n\x0cimage_base64\x18\x01 \x01(\t\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_description\"\xdb\x01\n\x0b\x43ontextItem\x12\x45\n\x10notebook_context\x18\x01 \x01(\x0b\x32).luminary.proto.assistant.NotebookContextH\x00\x12;\n\x0bsource_code\x18\x02 \x01(\x0b\x32$.luminary.proto.assistant.SourceCodeH\x00\x12\x0e\n\x04text\x18\x03 \x01(\tH\x00\x12\x30\n\x05image\x18\x04 \x01(\x0b\x32\x1f.luminary.proto.assistant.ImageH\x00\x42\x06\n\x04item\"J\n\x10\x41ssistantContext\x12\x36\n\x07\x63ontext\x18\x01 \x03(\x0b\x32%.luminary.proto.assistant.ContextItem\"\xf6\x01\n\x07Request\x12\x0f\n\x07session\x18\x01 \x01(\t\x12\x0f\n\x07request\x18\x02 \x01(\t\x12\x0b\n\x03\x63md\x18\x03 \x01(\t\x12\x0e\n\x06\x61\x63\x63\x65ss\x18\x04 \x01(\t\x12\r\n\x05scope\x18\x06 \x01(\t\x12=\n\x06source\x18\x07 \x01(\x0e\x32-.luminary.proto.assistant.AssistRequestSource\x12@\n\x07\x63ontext\x18\x08 \x01(\x0b\x32*.luminary.proto.assistant.AssistantContextH\x00\x88\x01\x01\x42\n\n\x08_contextJ\x04\x08\x05\x10\x06R\nproject_id\"\x9e\x01\n\x05Reply\x12\x0f\n\x07session\x18\x01 \x01(\t\x12\x0f\n\x07request\x18\x02 \x01(\t\x12\x0c\n\x04last\x18\x03 \x01(\x08\x12\x32\n\x06\x61\x63tion\x18\x04 \x01(\x0b\x32 .luminary.proto.assistant.ActionH\x00\x12\x12\n\x08response\x18\x05 \x01(\tH\x00\x12\x15\n\x0bplotly_plot\x18\x06 \x01(\tH\x00\x42\x06\n\x04step\"&\n\x06\x41\x63tion\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06params\x18\x02 \x03(\t\"S\n\x07Outcome\x12\x0f\n\x07session\x18\x01 \x01(\t\x12\x0f\n\x07request\x18\x02 \x01(\t\x12\r\n\x03val\x18\x03 \x01(\tH\x00\x12\r\n\x03\x65rr\x18\x04 \x01(\tH\x00\x42\x08\n\x06result\"I\n\x15GetChatHistoryRequest\x12\x0f\n\x07session\x18\x01 \x01(\t\x12\r\n\x05scope\x18\x03 \x01(\tJ\x04\x08\x02\x10\x03R\nproject_id\"1\n\x10\x43hatHistoryEntry\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x0f\n\x07\x63ontent\x18\x02 \x01(\t\"U\n\x16GetChatHistoryResponse\x12;\n\x07\x65ntries\x18\x01 \x03(\x0b\x32*.luminary.proto.assistant.ChatHistoryEntry\"g\n\x1aSimulationToSdkCodeRequest\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x0f\n\x07session\x18\x02 \x01(\t\x12\r\n\x05token\x18\x03 \x01(\t\x12\x15\n\rsimulation_id\x18\x04 \x01(\t\"/\n\x1bSimulationToSdkCodeResponse\x12\x10\n\x08sdk_code\x18\x01 \x01(\t*5\n\x13\x41ssistRequestSource\x12\r\n\tWEBAPP_UI\x10\x00\x12\x0f\n\x0bNOTEBOOK_UI\x10\x01*+\n\x08\x43\x65llType\x12\x08\n\x04\x43ODE\x10\x00\x12\x0c\n\x08MARKDOWN\x10\x01\x12\x07\n\x03RAW\x10\x02**\n\x10StreamOutputType\x12\n\n\x06STDOUT\x10\x00\x12\n\n\x06STDERR\x10\x01\x32\x9b\x05\n\tAssistant\x12x\n\x0fGetChatSessions\x12\x30.luminary.proto.assistant.GetChatSessionsRequest\x1a\x31.luminary.proto.assistant.GetChatSessionsResponse\"\x00\x12u\n\x0eNewChatSession\x12/.luminary.proto.assistant.NewChatSessionRequest\x1a\x30.luminary.proto.assistant.NewChatSessionResponse\"\x00\x12u\n\x0eGetChatHistory\x12/.luminary.proto.assistant.GetChatHistoryRequest\x1a\x30.luminary.proto.assistant.GetChatHistoryResponse\"\x00\x12P\n\x06\x41ssist\x12!.luminary.proto.assistant.Request\x1a\x1f.luminary.proto.assistant.Reply\"\x00\x30\x01\x12M\n\x0e\x41ssistCallback\x12!.luminary.proto.assistant.Outcome\x1a\x16.google.protobuf.Empty\"\x00\x12\x84\x01\n\x13SimulationToSdkCode\x12\x34.luminary.proto.assistant.SimulationToSdkCodeRequest\x1a\x35.luminary.proto.assistant.SimulationToSdkCodeResponse\"\x00\x42(Z&luminarycloud.com/core/proto/assistantb\x06proto3')
|
|
21
21
|
|
|
22
22
|
_ASSISTREQUESTSOURCE = DESCRIPTOR.enum_types_by_name['AssistRequestSource']
|
|
23
23
|
AssistRequestSource = enum_type_wrapper.EnumTypeWrapper(_ASSISTREQUESTSOURCE)
|
|
@@ -58,8 +58,8 @@ _OUTCOME = DESCRIPTOR.message_types_by_name['Outcome']
|
|
|
58
58
|
_GETCHATHISTORYREQUEST = DESCRIPTOR.message_types_by_name['GetChatHistoryRequest']
|
|
59
59
|
_CHATHISTORYENTRY = DESCRIPTOR.message_types_by_name['ChatHistoryEntry']
|
|
60
60
|
_GETCHATHISTORYRESPONSE = DESCRIPTOR.message_types_by_name['GetChatHistoryResponse']
|
|
61
|
-
|
|
62
|
-
|
|
61
|
+
_SIMULATIONTOSDKCODEREQUEST = DESCRIPTOR.message_types_by_name['SimulationToSdkCodeRequest']
|
|
62
|
+
_SIMULATIONTOSDKCODERESPONSE = DESCRIPTOR.message_types_by_name['SimulationToSdkCodeResponse']
|
|
63
63
|
GetChatSessionsRequest = _reflection.GeneratedProtocolMessageType('GetChatSessionsRequest', (_message.Message,), {
|
|
64
64
|
'DESCRIPTOR' : _GETCHATSESSIONSREQUEST,
|
|
65
65
|
'__module__' : 'proto.assistant.assistant_pb2'
|
|
@@ -230,19 +230,19 @@ GetChatHistoryResponse = _reflection.GeneratedProtocolMessageType('GetChatHistor
|
|
|
230
230
|
})
|
|
231
231
|
_sym_db.RegisterMessage(GetChatHistoryResponse)
|
|
232
232
|
|
|
233
|
-
|
|
234
|
-
'DESCRIPTOR' :
|
|
233
|
+
SimulationToSdkCodeRequest = _reflection.GeneratedProtocolMessageType('SimulationToSdkCodeRequest', (_message.Message,), {
|
|
234
|
+
'DESCRIPTOR' : _SIMULATIONTOSDKCODEREQUEST,
|
|
235
235
|
'__module__' : 'proto.assistant.assistant_pb2'
|
|
236
|
-
# @@protoc_insertion_point(class_scope:luminary.proto.assistant.
|
|
236
|
+
# @@protoc_insertion_point(class_scope:luminary.proto.assistant.SimulationToSdkCodeRequest)
|
|
237
237
|
})
|
|
238
|
-
_sym_db.RegisterMessage(
|
|
238
|
+
_sym_db.RegisterMessage(SimulationToSdkCodeRequest)
|
|
239
239
|
|
|
240
|
-
|
|
241
|
-
'DESCRIPTOR' :
|
|
240
|
+
SimulationToSdkCodeResponse = _reflection.GeneratedProtocolMessageType('SimulationToSdkCodeResponse', (_message.Message,), {
|
|
241
|
+
'DESCRIPTOR' : _SIMULATIONTOSDKCODERESPONSE,
|
|
242
242
|
'__module__' : 'proto.assistant.assistant_pb2'
|
|
243
|
-
# @@protoc_insertion_point(class_scope:luminary.proto.assistant.
|
|
243
|
+
# @@protoc_insertion_point(class_scope:luminary.proto.assistant.SimulationToSdkCodeResponse)
|
|
244
244
|
})
|
|
245
|
-
_sym_db.RegisterMessage(
|
|
245
|
+
_sym_db.RegisterMessage(SimulationToSdkCodeResponse)
|
|
246
246
|
|
|
247
247
|
_ASSISTANT = DESCRIPTOR.services_by_name['Assistant']
|
|
248
248
|
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
@@ -253,12 +253,12 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
253
253
|
_EXECUTERESULT_DATAENTRY._serialized_options = b'8\001'
|
|
254
254
|
_DISPLAYDATA_DATAENTRY._options = None
|
|
255
255
|
_DISPLAYDATA_DATAENTRY._serialized_options = b'8\001'
|
|
256
|
-
_ASSISTREQUESTSOURCE._serialized_start=
|
|
257
|
-
_ASSISTREQUESTSOURCE._serialized_end=
|
|
258
|
-
_CELLTYPE._serialized_start=
|
|
259
|
-
_CELLTYPE._serialized_end=
|
|
260
|
-
_STREAMOUTPUTTYPE._serialized_start=
|
|
261
|
-
_STREAMOUTPUTTYPE._serialized_end=
|
|
256
|
+
_ASSISTREQUESTSOURCE._serialized_start=2625
|
|
257
|
+
_ASSISTREQUESTSOURCE._serialized_end=2678
|
|
258
|
+
_CELLTYPE._serialized_start=2680
|
|
259
|
+
_CELLTYPE._serialized_end=2723
|
|
260
|
+
_STREAMOUTPUTTYPE._serialized_start=2725
|
|
261
|
+
_STREAMOUTPUTTYPE._serialized_end=2767
|
|
262
262
|
_GETCHATSESSIONSREQUEST._serialized_start=121
|
|
263
263
|
_GETCHATSESSIONSREQUEST._serialized_end=178
|
|
264
264
|
_GETCHATSESSIONSRESPONSE._serialized_start=180
|
|
@@ -307,10 +307,10 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
307
307
|
_CHATHISTORYENTRY._serialized_end=2382
|
|
308
308
|
_GETCHATHISTORYRESPONSE._serialized_start=2384
|
|
309
309
|
_GETCHATHISTORYRESPONSE._serialized_end=2469
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
_ASSISTANT._serialized_start=
|
|
315
|
-
_ASSISTANT._serialized_end=
|
|
310
|
+
_SIMULATIONTOSDKCODEREQUEST._serialized_start=2471
|
|
311
|
+
_SIMULATIONTOSDKCODEREQUEST._serialized_end=2574
|
|
312
|
+
_SIMULATIONTOSDKCODERESPONSE._serialized_start=2576
|
|
313
|
+
_SIMULATIONTOSDKCODERESPONSE._serialized_end=2623
|
|
314
|
+
_ASSISTANT._serialized_start=2770
|
|
315
|
+
_ASSISTANT._serialized_end=3437
|
|
316
316
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -8,7 +8,6 @@ import google.protobuf.descriptor
|
|
|
8
8
|
import google.protobuf.internal.containers
|
|
9
9
|
import google.protobuf.internal.enum_type_wrapper
|
|
10
10
|
import google.protobuf.message
|
|
11
|
-
import luminarycloud._proto.client.simulation_pb2
|
|
12
11
|
import sys
|
|
13
12
|
import typing
|
|
14
13
|
|
|
@@ -620,23 +619,34 @@ class GetChatHistoryResponse(google.protobuf.message.Message):
|
|
|
620
619
|
|
|
621
620
|
global___GetChatHistoryResponse = GetChatHistoryResponse
|
|
622
621
|
|
|
623
|
-
class
|
|
622
|
+
class SimulationToSdkCodeRequest(google.protobuf.message.Message):
|
|
624
623
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
625
624
|
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
625
|
+
PROJECT_ID_FIELD_NUMBER: builtins.int
|
|
626
|
+
SESSION_FIELD_NUMBER: builtins.int
|
|
627
|
+
TOKEN_FIELD_NUMBER: builtins.int
|
|
628
|
+
SIMULATION_ID_FIELD_NUMBER: builtins.int
|
|
629
|
+
project_id: builtins.str
|
|
630
|
+
"""Project ID for which to generate setup code"""
|
|
631
|
+
session: builtins.str
|
|
632
|
+
"""Id of the long lived session, an opaque string set by initiator"""
|
|
633
|
+
token: builtins.str
|
|
634
|
+
"""The session token for assistant to act on behalf of the user"""
|
|
635
|
+
simulation_id: builtins.str
|
|
636
|
+
"""If specified, generate "simulation code" instead of "setup code" """
|
|
629
637
|
def __init__(
|
|
630
638
|
self,
|
|
631
639
|
*,
|
|
632
|
-
|
|
640
|
+
project_id: builtins.str = ...,
|
|
641
|
+
session: builtins.str = ...,
|
|
642
|
+
token: builtins.str = ...,
|
|
643
|
+
simulation_id: builtins.str = ...,
|
|
633
644
|
) -> None: ...
|
|
634
|
-
def
|
|
635
|
-
def ClearField(self, field_name: typing_extensions.Literal["simulation_param", b"simulation_param"]) -> None: ...
|
|
645
|
+
def ClearField(self, field_name: typing_extensions.Literal["project_id", b"project_id", "session", b"session", "simulation_id", b"simulation_id", "token", b"token"]) -> None: ...
|
|
636
646
|
|
|
637
|
-
|
|
647
|
+
global___SimulationToSdkCodeRequest = SimulationToSdkCodeRequest
|
|
638
648
|
|
|
639
|
-
class
|
|
649
|
+
class SimulationToSdkCodeResponse(google.protobuf.message.Message):
|
|
640
650
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
641
651
|
|
|
642
652
|
SDK_CODE_FIELD_NUMBER: builtins.int
|
|
@@ -648,4 +658,4 @@ class SimulationParamToSdkCodeResponse(google.protobuf.message.Message):
|
|
|
648
658
|
) -> None: ...
|
|
649
659
|
def ClearField(self, field_name: typing_extensions.Literal["sdk_code", b"sdk_code"]) -> None: ...
|
|
650
660
|
|
|
651
|
-
|
|
661
|
+
global___SimulationToSdkCodeResponse = SimulationToSdkCodeResponse
|
|
@@ -41,10 +41,10 @@ class AssistantStub(object):
|
|
|
41
41
|
request_serializer=proto_dot_assistant_dot_assistant__pb2.Outcome.SerializeToString,
|
|
42
42
|
response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
43
43
|
)
|
|
44
|
-
self.
|
|
45
|
-
'/luminary.proto.assistant.Assistant/
|
|
46
|
-
request_serializer=proto_dot_assistant_dot_assistant__pb2.
|
|
47
|
-
response_deserializer=proto_dot_assistant_dot_assistant__pb2.
|
|
44
|
+
self.SimulationToSdkCode = channel.unary_unary(
|
|
45
|
+
'/luminary.proto.assistant.Assistant/SimulationToSdkCode',
|
|
46
|
+
request_serializer=proto_dot_assistant_dot_assistant__pb2.SimulationToSdkCodeRequest.SerializeToString,
|
|
47
|
+
response_deserializer=proto_dot_assistant_dot_assistant__pb2.SimulationToSdkCodeResponse.FromString,
|
|
48
48
|
)
|
|
49
49
|
|
|
50
50
|
|
|
@@ -82,7 +82,7 @@ class AssistantServicer(object):
|
|
|
82
82
|
context.set_details('Method not implemented!')
|
|
83
83
|
raise NotImplementedError('Method not implemented!')
|
|
84
84
|
|
|
85
|
-
def
|
|
85
|
+
def SimulationToSdkCode(self, request, context):
|
|
86
86
|
"""Converts a given SimulationParam proto into the equivalent SDK code.
|
|
87
87
|
"""
|
|
88
88
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
@@ -117,10 +117,10 @@ def add_AssistantServicer_to_server(servicer, server):
|
|
|
117
117
|
request_deserializer=proto_dot_assistant_dot_assistant__pb2.Outcome.FromString,
|
|
118
118
|
response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
119
119
|
),
|
|
120
|
-
'
|
|
121
|
-
servicer.
|
|
122
|
-
request_deserializer=proto_dot_assistant_dot_assistant__pb2.
|
|
123
|
-
response_serializer=proto_dot_assistant_dot_assistant__pb2.
|
|
120
|
+
'SimulationToSdkCode': grpc.unary_unary_rpc_method_handler(
|
|
121
|
+
servicer.SimulationToSdkCode,
|
|
122
|
+
request_deserializer=proto_dot_assistant_dot_assistant__pb2.SimulationToSdkCodeRequest.FromString,
|
|
123
|
+
response_serializer=proto_dot_assistant_dot_assistant__pb2.SimulationToSdkCodeResponse.SerializeToString,
|
|
124
124
|
),
|
|
125
125
|
}
|
|
126
126
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
@@ -219,7 +219,7 @@ class Assistant(object):
|
|
|
219
219
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
220
220
|
|
|
221
221
|
@staticmethod
|
|
222
|
-
def
|
|
222
|
+
def SimulationToSdkCode(request,
|
|
223
223
|
target,
|
|
224
224
|
options=(),
|
|
225
225
|
channel_credentials=None,
|
|
@@ -229,8 +229,8 @@ class Assistant(object):
|
|
|
229
229
|
wait_for_ready=None,
|
|
230
230
|
timeout=None,
|
|
231
231
|
metadata=None):
|
|
232
|
-
return grpc.experimental.unary_unary(request, target, '/luminary.proto.assistant.Assistant/
|
|
233
|
-
proto_dot_assistant_dot_assistant__pb2.
|
|
234
|
-
proto_dot_assistant_dot_assistant__pb2.
|
|
232
|
+
return grpc.experimental.unary_unary(request, target, '/luminary.proto.assistant.Assistant/SimulationToSdkCode',
|
|
233
|
+
proto_dot_assistant_dot_assistant__pb2.SimulationToSdkCodeRequest.SerializeToString,
|
|
234
|
+
proto_dot_assistant_dot_assistant__pb2.SimulationToSdkCodeResponse.FromString,
|
|
235
235
|
options, channel_credentials,
|
|
236
236
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
@@ -32,9 +32,9 @@ class AssistantStub:
|
|
|
32
32
|
luminarycloud._proto.assistant.assistant_pb2.Outcome,
|
|
33
33
|
google.protobuf.empty_pb2.Empty,
|
|
34
34
|
]
|
|
35
|
-
|
|
36
|
-
luminarycloud._proto.assistant.assistant_pb2.
|
|
37
|
-
luminarycloud._proto.assistant.assistant_pb2.
|
|
35
|
+
SimulationToSdkCode: grpc.UnaryUnaryMultiCallable[
|
|
36
|
+
luminarycloud._proto.assistant.assistant_pb2.SimulationToSdkCodeRequest,
|
|
37
|
+
luminarycloud._proto.assistant.assistant_pb2.SimulationToSdkCodeResponse,
|
|
38
38
|
]
|
|
39
39
|
"""Converts a given SimulationParam proto into the equivalent SDK code."""
|
|
40
40
|
|
|
@@ -72,11 +72,11 @@ class AssistantServicer(metaclass=abc.ABCMeta):
|
|
|
72
72
|
context: grpc.ServicerContext,
|
|
73
73
|
) -> google.protobuf.empty_pb2.Empty: ...
|
|
74
74
|
@abc.abstractmethod
|
|
75
|
-
def
|
|
75
|
+
def SimulationToSdkCode(
|
|
76
76
|
self,
|
|
77
|
-
request: luminarycloud._proto.assistant.assistant_pb2.
|
|
77
|
+
request: luminarycloud._proto.assistant.assistant_pb2.SimulationToSdkCodeRequest,
|
|
78
78
|
context: grpc.ServicerContext,
|
|
79
|
-
) -> luminarycloud._proto.assistant.assistant_pb2.
|
|
79
|
+
) -> luminarycloud._proto.assistant.assistant_pb2.SimulationToSdkCodeResponse:
|
|
80
80
|
"""Converts a given SimulationParam proto into the equivalent SDK code."""
|
|
81
81
|
|
|
82
82
|
def add_AssistantServicer_to_server(servicer: AssistantServicer, server: grpc.Server) -> None: ...
|