luminarycloud 0.17.0__py3-none-any.whl → 0.18.1__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/__init__.py +4 -0
- luminarycloud/_client/client.py +3 -0
- luminarycloud/_helpers/_create_geometry.py +134 -32
- luminarycloud/_helpers/cond.py +0 -1
- luminarycloud/_proto/api/v0/luminarycloud/geometry/geometry_pb2.py +146 -123
- luminarycloud/_proto/api/v0/luminarycloud/geometry/geometry_pb2.pyi +81 -8
- luminarycloud/_proto/api/v0/luminarycloud/geometry/geometry_pb2_grpc.py +34 -0
- luminarycloud/_proto/api/v0/luminarycloud/geometry/geometry_pb2_grpc.pyi +12 -0
- luminarycloud/_proto/api/v0/luminarycloud/inference/inference_pb2.py +8 -8
- luminarycloud/_proto/api/v0/luminarycloud/inference/inference_pb2.pyi +12 -7
- luminarycloud/_proto/api/v0/luminarycloud/pipelines/pipelines_pb2.py +246 -0
- luminarycloud/_proto/api/v0/luminarycloud/pipelines/pipelines_pb2.pyi +420 -0
- luminarycloud/_proto/api/v0/luminarycloud/pipelines/pipelines_pb2_grpc.py +240 -0
- luminarycloud/_proto/api/v0/luminarycloud/pipelines/pipelines_pb2_grpc.pyi +90 -0
- luminarycloud/_proto/api/v0/luminarycloud/project/project_pb2.py +54 -3
- luminarycloud/_proto/api/v0/luminarycloud/project/project_pb2.pyi +92 -1
- luminarycloud/_proto/api/v0/luminarycloud/project/project_pb2_grpc.py +132 -0
- luminarycloud/_proto/api/v0/luminarycloud/project/project_pb2_grpc.pyi +40 -0
- luminarycloud/_proto/api/v0/luminarycloud/simulation/simulation_pb2.py +88 -55
- luminarycloud/_proto/api/v0/luminarycloud/simulation/simulation_pb2.pyi +108 -1
- luminarycloud/_proto/api/v0/luminarycloud/simulation/simulation_pb2_grpc.py +35 -0
- luminarycloud/_proto/api/v0/luminarycloud/simulation/simulation_pb2_grpc.pyi +16 -0
- luminarycloud/_proto/api/v0/luminarycloud/simulation_template/simulation_template_pb2.py +48 -26
- luminarycloud/_proto/api/v0/luminarycloud/simulation_template/simulation_template_pb2.pyi +30 -2
- luminarycloud/_proto/api/v0/luminarycloud/simulation_template/simulation_template_pb2_grpc.py +36 -0
- luminarycloud/_proto/api/v0/luminarycloud/simulation_template/simulation_template_pb2_grpc.pyi +18 -0
- luminarycloud/_proto/client/simulation_pb2.py +261 -251
- luminarycloud/_proto/client/simulation_pb2.pyi +40 -3
- luminarycloud/_proto/frontend/output/output_pb2.py +24 -24
- luminarycloud/_proto/frontend/output/output_pb2.pyi +6 -3
- luminarycloud/_proto/geometry/geometry_pb2.py +63 -63
- luminarycloud/_proto/geometry/geometry_pb2.pyi +14 -4
- luminarycloud/_proto/inferenceservice/inferenceservice_pb2.py +10 -10
- luminarycloud/_proto/inferenceservice/inferenceservice_pb2.pyi +12 -7
- luminarycloud/_proto/output/output_pb2.py +43 -36
- luminarycloud/_proto/output/output_pb2.pyi +28 -1
- luminarycloud/_proto/quantity/quantity_options_pb2.py +5 -4
- luminarycloud/_proto/quantity/quantity_options_pb2.pyi +4 -0
- luminarycloud/_proto/quantity/quantity_pb2.py +8 -8
- luminarycloud/enum/__init__.py +1 -0
- luminarycloud/enum/geometry_status.py +15 -8
- luminarycloud/enum/moment_convention_type.py +19 -0
- luminarycloud/enum/pipeline_job_status.py +23 -0
- luminarycloud/feature_modification.py +3 -1
- luminarycloud/geometry.py +12 -0
- luminarycloud/geometry_version.py +23 -0
- luminarycloud/outputs/output_definitions.py +5 -0
- luminarycloud/params/enum/_enum_wrappers.py +29 -0
- luminarycloud/params/simulation/monitor_plane_.py +1 -1
- luminarycloud/params/simulation/physics/fluid/boundary_conditions/inlet/fan_curve_inlet_.py +1 -1
- luminarycloud/params/simulation/physics/fluid/boundary_conditions/inlet/mach_inlet_.py +5 -1
- luminarycloud/params/simulation/physics/fluid/boundary_conditions/inlet/mass_flow_inlet_.py +5 -1
- luminarycloud/params/simulation/physics/fluid/boundary_conditions/inlet/total_pressure_inlet_.py +5 -1
- luminarycloud/params/simulation/physics/fluid/boundary_conditions/inlet/velocity_magnitude_inlet_.py +5 -1
- luminarycloud/physics_ai/inference.py +57 -30
- luminarycloud/pipelines/__init__.py +7 -0
- luminarycloud/pipelines/api.py +213 -0
- luminarycloud/pipelines/operators.py +4 -4
- luminarycloud/project.py +66 -6
- luminarycloud/simulation.py +6 -0
- luminarycloud/simulation_param.py +4 -2
- luminarycloud/simulation_queue.py +130 -0
- luminarycloud/simulation_template.py +21 -7
- luminarycloud/types/adfloat.py +3 -0
- luminarycloud/vis/__init__.py +4 -0
- luminarycloud/vis/interactive_inference.py +153 -0
- luminarycloud/vis/interactive_scene.py +49 -17
- luminarycloud/vis/primitives.py +9 -0
- luminarycloud/vis/visualization.py +22 -0
- luminarycloud/volume_selection.py +3 -2
- {luminarycloud-0.17.0.dist-info → luminarycloud-0.18.1.dist-info}/METADATA +18 -18
- {luminarycloud-0.17.0.dist-info → luminarycloud-0.18.1.dist-info}/RECORD +73 -64
- {luminarycloud-0.17.0.dist-info → luminarycloud-0.18.1.dist-info}/WHEEL +0 -0
|
@@ -0,0 +1,90 @@
|
|
|
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.pipelines.pipelines_pb2
|
|
8
|
+
|
|
9
|
+
class PipelineServiceStub:
|
|
10
|
+
"""Manages Pipelines"""
|
|
11
|
+
|
|
12
|
+
def __init__(self, channel: grpc.Channel) -> None: ...
|
|
13
|
+
CreatePipeline: grpc.UnaryUnaryMultiCallable[
|
|
14
|
+
luminarycloud._proto.api.v0.luminarycloud.pipelines.pipelines_pb2.CreatePipelineRequest,
|
|
15
|
+
luminarycloud._proto.api.v0.luminarycloud.pipelines.pipelines_pb2.CreatePipelineResponse,
|
|
16
|
+
]
|
|
17
|
+
"""Creates a new pipeline."""
|
|
18
|
+
GetPipeline: grpc.UnaryUnaryMultiCallable[
|
|
19
|
+
luminarycloud._proto.api.v0.luminarycloud.pipelines.pipelines_pb2.GetPipelineRequest,
|
|
20
|
+
luminarycloud._proto.api.v0.luminarycloud.pipelines.pipelines_pb2.GetPipelineResponse,
|
|
21
|
+
]
|
|
22
|
+
"""Retrieves a pipeline."""
|
|
23
|
+
ListPipelines: grpc.UnaryUnaryMultiCallable[
|
|
24
|
+
luminarycloud._proto.api.v0.luminarycloud.pipelines.pipelines_pb2.ListPipelinesRequest,
|
|
25
|
+
luminarycloud._proto.api.v0.luminarycloud.pipelines.pipelines_pb2.ListPipelinesResponse,
|
|
26
|
+
]
|
|
27
|
+
"""Lists all pipelines."""
|
|
28
|
+
CreatePipelineJob: grpc.UnaryUnaryMultiCallable[
|
|
29
|
+
luminarycloud._proto.api.v0.luminarycloud.pipelines.pipelines_pb2.CreatePipelineJobRequest,
|
|
30
|
+
luminarycloud._proto.api.v0.luminarycloud.pipelines.pipelines_pb2.CreatePipelineJobResponse,
|
|
31
|
+
]
|
|
32
|
+
"""Creates a new pipeline job."""
|
|
33
|
+
GetPipelineJob: grpc.UnaryUnaryMultiCallable[
|
|
34
|
+
luminarycloud._proto.api.v0.luminarycloud.pipelines.pipelines_pb2.GetPipelineJobRequest,
|
|
35
|
+
luminarycloud._proto.api.v0.luminarycloud.pipelines.pipelines_pb2.GetPipelineJobResponse,
|
|
36
|
+
]
|
|
37
|
+
"""Retrieves a pipeline job."""
|
|
38
|
+
ListPipelineJobs: grpc.UnaryUnaryMultiCallable[
|
|
39
|
+
luminarycloud._proto.api.v0.luminarycloud.pipelines.pipelines_pb2.ListPipelineJobsRequest,
|
|
40
|
+
luminarycloud._proto.api.v0.luminarycloud.pipelines.pipelines_pb2.ListPipelineJobsResponse,
|
|
41
|
+
]
|
|
42
|
+
"""Lists all pipeline jobs."""
|
|
43
|
+
|
|
44
|
+
class PipelineServiceServicer(metaclass=abc.ABCMeta):
|
|
45
|
+
"""Manages Pipelines"""
|
|
46
|
+
|
|
47
|
+
@abc.abstractmethod
|
|
48
|
+
def CreatePipeline(
|
|
49
|
+
self,
|
|
50
|
+
request: luminarycloud._proto.api.v0.luminarycloud.pipelines.pipelines_pb2.CreatePipelineRequest,
|
|
51
|
+
context: grpc.ServicerContext,
|
|
52
|
+
) -> luminarycloud._proto.api.v0.luminarycloud.pipelines.pipelines_pb2.CreatePipelineResponse:
|
|
53
|
+
"""Creates a new pipeline."""
|
|
54
|
+
@abc.abstractmethod
|
|
55
|
+
def GetPipeline(
|
|
56
|
+
self,
|
|
57
|
+
request: luminarycloud._proto.api.v0.luminarycloud.pipelines.pipelines_pb2.GetPipelineRequest,
|
|
58
|
+
context: grpc.ServicerContext,
|
|
59
|
+
) -> luminarycloud._proto.api.v0.luminarycloud.pipelines.pipelines_pb2.GetPipelineResponse:
|
|
60
|
+
"""Retrieves a pipeline."""
|
|
61
|
+
@abc.abstractmethod
|
|
62
|
+
def ListPipelines(
|
|
63
|
+
self,
|
|
64
|
+
request: luminarycloud._proto.api.v0.luminarycloud.pipelines.pipelines_pb2.ListPipelinesRequest,
|
|
65
|
+
context: grpc.ServicerContext,
|
|
66
|
+
) -> luminarycloud._proto.api.v0.luminarycloud.pipelines.pipelines_pb2.ListPipelinesResponse:
|
|
67
|
+
"""Lists all pipelines."""
|
|
68
|
+
@abc.abstractmethod
|
|
69
|
+
def CreatePipelineJob(
|
|
70
|
+
self,
|
|
71
|
+
request: luminarycloud._proto.api.v0.luminarycloud.pipelines.pipelines_pb2.CreatePipelineJobRequest,
|
|
72
|
+
context: grpc.ServicerContext,
|
|
73
|
+
) -> luminarycloud._proto.api.v0.luminarycloud.pipelines.pipelines_pb2.CreatePipelineJobResponse:
|
|
74
|
+
"""Creates a new pipeline job."""
|
|
75
|
+
@abc.abstractmethod
|
|
76
|
+
def GetPipelineJob(
|
|
77
|
+
self,
|
|
78
|
+
request: luminarycloud._proto.api.v0.luminarycloud.pipelines.pipelines_pb2.GetPipelineJobRequest,
|
|
79
|
+
context: grpc.ServicerContext,
|
|
80
|
+
) -> luminarycloud._proto.api.v0.luminarycloud.pipelines.pipelines_pb2.GetPipelineJobResponse:
|
|
81
|
+
"""Retrieves a pipeline job."""
|
|
82
|
+
@abc.abstractmethod
|
|
83
|
+
def ListPipelineJobs(
|
|
84
|
+
self,
|
|
85
|
+
request: luminarycloud._proto.api.v0.luminarycloud.pipelines.pipelines_pb2.ListPipelineJobsRequest,
|
|
86
|
+
context: grpc.ServicerContext,
|
|
87
|
+
) -> luminarycloud._proto.api.v0.luminarycloud.pipelines.pipelines_pb2.ListPipelineJobsResponse:
|
|
88
|
+
"""Lists all pipeline jobs."""
|
|
89
|
+
|
|
90
|
+
def add_PipelineServiceServicer_to_server(servicer: PipelineServiceServicer, server: grpc.Server) -> None: ...
|
|
@@ -17,7 +17,7 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__
|
|
|
17
17
|
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0proto/api/v0/luminarycloud/project/project.proto\x12+luminary.proto.api.v0.luminarycloud.project\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1cgoogle/api/annotations.proto\"\xdc\x01\n\x07Project\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12/\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0e\n\x06meshes\x18\x06 \x03(\t\x12\x13\n\x0bsimulations\x18\x07 \x03(\t\x12\x1b\n\x13storage_usage_bytes\x18\x08 \x01(\x04\"9\n\x14\x43reateProjectRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\"^\n\x15\x43reateProjectResponse\x12\x45\n\x07project\x18\x01 \x01(\x0b\x32\x34.luminary.proto.api.v0.luminarycloud.project.Project\"\x1f\n\x11GetProjectRequest\x12\n\n\x02id\x18\x01 \x01(\t\"[\n\x12GetProjectResponse\x12\x45\n\x07project\x18\x01 \x01(\x0b\x32\x34.luminary.proto.api.v0.luminarycloud.project.Project\"c\n\x13ListProjectsRequest\x12\x16\n\tpage_size\x18\x01 \x01(\x05H\x00\x88\x01\x01\x12\x17\n\npage_token\x18\x02 \x01(\tH\x01\x88\x01\x01\x42\x0c\n\n_page_sizeB\r\n\x0b_page_token\"\x8c\x01\n\x14ListProjectsResponse\x12\x46\n\x08projects\x18\x01 \x03(\x0b\x32\x34.luminary.proto.api.v0.luminarycloud.project.Project\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0btotal_count\x18\x03 \x01(\x05\"E\n\x14UpdateProjectRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\"^\n\x15UpdateProjectResponse\x12\x45\n\x07project\x18\x01 \x01(\x0b\x32\x34.luminary.proto.api.v0.luminarycloud.project.Project\"\"\n\x14\x44\x65leteProjectRequest\x12\n\n\x02id\x18\x01 \x01(\t\"=\n\x1aLoadGeometryToSetupRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x13\n\x0bgeometry_id\x18\x02 \x01(\t\"\x1d\n\
|
|
20
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0proto/api/v0/luminarycloud/project/project.proto\x12+luminary.proto.api.v0.luminarycloud.project\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1cgoogle/api/annotations.proto\"\xdc\x01\n\x07Project\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12/\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0e\n\x06meshes\x18\x06 \x03(\t\x12\x13\n\x0bsimulations\x18\x07 \x03(\t\x12\x1b\n\x13storage_usage_bytes\x18\x08 \x01(\x04\"9\n\x14\x43reateProjectRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\"^\n\x15\x43reateProjectResponse\x12\x45\n\x07project\x18\x01 \x01(\x0b\x32\x34.luminary.proto.api.v0.luminarycloud.project.Project\"\x1f\n\x11GetProjectRequest\x12\n\n\x02id\x18\x01 \x01(\t\"[\n\x12GetProjectResponse\x12\x45\n\x07project\x18\x01 \x01(\x0b\x32\x34.luminary.proto.api.v0.luminarycloud.project.Project\"c\n\x13ListProjectsRequest\x12\x16\n\tpage_size\x18\x01 \x01(\x05H\x00\x88\x01\x01\x12\x17\n\npage_token\x18\x02 \x01(\tH\x01\x88\x01\x01\x42\x0c\n\n_page_sizeB\r\n\x0b_page_token\"\x8c\x01\n\x14ListProjectsResponse\x12\x46\n\x08projects\x18\x01 \x03(\x0b\x32\x34.luminary.proto.api.v0.luminarycloud.project.Project\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0btotal_count\x18\x03 \x01(\x05\"E\n\x14UpdateProjectRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\"^\n\x15UpdateProjectResponse\x12\x45\n\x07project\x18\x01 \x01(\x0b\x32\x34.luminary.proto.api.v0.luminarycloud.project.Project\"\"\n\x14\x44\x65leteProjectRequest\x12\n\n\x02id\x18\x01 \x01(\t\"=\n\x1aLoadGeometryToSetupRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x13\n\x0bgeometry_id\x18\x02 \x01(\t\"\x1d\n\x1bLoadGeometryToSetupResponse\"\xdc\x01\n\x13ShareProjectRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\r\n\x05\x65mail\x18\x02 \x01(\t\x12W\n\x04role\x18\x03 \x01(\x0e\x32I.luminary.proto.api.v0.luminarycloud.project.ShareProjectRequest.UserRole\"Q\n\x08UserRole\x12\x19\n\x15USER_ROLE_UNSPECIFIED\x10\x00\x12\x14\n\x10USER_ROLE_VIEWER\x10\x01\x12\x14\n\x10USER_ROLE_EDITOR\x10\x02\"=\n\x1eShareProjectWithSupportRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0f\n\x07message\x18\x02 \x01(\t\"2\n\x15UnshareProjectRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\r\n\x05\x65mail\x18\x02 \x01(\t\".\n UnshareProjectWithSupportRequest\x12\n\n\x02id\x18\x01 \x01(\t2\xbd\r\n\x0eProjectService\x12\xaf\x01\n\rCreateProject\x12\x41.luminary.proto.api.v0.luminarycloud.project.CreateProjectRequest\x1a\x42.luminary.proto.api.v0.luminarycloud.project.CreateProjectResponse\"\x17\x82\xd3\xe4\x93\x02\x11\"\x0c/v0/projects:\x01*\x12\xa8\x01\n\nGetProject\x12>.luminary.proto.api.v0.luminarycloud.project.GetProjectRequest\x1a?.luminary.proto.api.v0.luminarycloud.project.GetProjectResponse\"\x19\x82\xd3\xe4\x93\x02\x13\x12\x11/v0/projects/{id}\x12\xa9\x01\n\x0cListProjects\x12@.luminary.proto.api.v0.luminarycloud.project.ListProjectsRequest\x1a\x41.luminary.proto.api.v0.luminarycloud.project.ListProjectsResponse\"\x14\x82\xd3\xe4\x93\x02\x0e\x12\x0c/v0/projects\x12\xb4\x01\n\rUpdateProject\x12\x41.luminary.proto.api.v0.luminarycloud.project.UpdateProjectRequest\x1a\x42.luminary.proto.api.v0.luminarycloud.project.UpdateProjectResponse\"\x1c\x82\xd3\xe4\x93\x02\x16\x32\x11/v0/projects/{id}:\x01*\x12\x85\x01\n\rDeleteProject\x12\x41.luminary.proto.api.v0.luminarycloud.project.DeleteProjectRequest\x1a\x16.google.protobuf.Empty\"\x19\x82\xd3\xe4\x93\x02\x13*\x11/v0/projects/{id}\x12\xd4\x01\n\x13LoadGeometryToSetup\x12G.luminary.proto.api.v0.luminarycloud.project.LoadGeometryToSetupRequest\x1aH.luminary.proto.api.v0.luminarycloud.project.LoadGeometryToSetupResponse\"*\x82\xd3\xe4\x93\x02$\"\x1f/v0/projects/{id}/load-geometry:\x01*\x12\x8c\x01\n\x0cShareProject\x12@.luminary.proto.api.v0.luminarycloud.project.ShareProjectRequest\x1a\x16.google.protobuf.Empty\"\"\x82\xd3\xe4\x93\x02\x1c\"\x17/v0/projects/{id}/share:\x01*\x12\xaf\x01\n\x17ShareProjectWithSupport\x12K.luminary.proto.api.v0.luminarycloud.project.ShareProjectWithSupportRequest\x1a\x16.google.protobuf.Empty\"/\x82\xd3\xe4\x93\x02)\"$/v0/projects/{id}/share-with-support:\x01*\x12\x92\x01\n\x0eUnshareProject\x12\x42.luminary.proto.api.v0.luminarycloud.project.UnshareProjectRequest\x1a\x16.google.protobuf.Empty\"$\x82\xd3\xe4\x93\x02\x1e\"\x19/v0/projects/{id}/unshare:\x01*\x12\xb5\x01\n\x19UnshareProjectWithSupport\x12M.luminary.proto.api.v0.luminarycloud.project.UnshareProjectWithSupportRequest\x1a\x16.google.protobuf.Empty\"1\x82\xd3\xe4\x93\x02+\"&/v0/projects/{id}/unshare-with-support:\x01*B;Z9luminarycloud.com/core/proto/api/v0/luminarycloud/projectb\x06proto3')
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
@@ -33,6 +33,11 @@ _UPDATEPROJECTRESPONSE = DESCRIPTOR.message_types_by_name['UpdateProjectResponse
|
|
|
33
33
|
_DELETEPROJECTREQUEST = DESCRIPTOR.message_types_by_name['DeleteProjectRequest']
|
|
34
34
|
_LOADGEOMETRYTOSETUPREQUEST = DESCRIPTOR.message_types_by_name['LoadGeometryToSetupRequest']
|
|
35
35
|
_LOADGEOMETRYTOSETUPRESPONSE = DESCRIPTOR.message_types_by_name['LoadGeometryToSetupResponse']
|
|
36
|
+
_SHAREPROJECTREQUEST = DESCRIPTOR.message_types_by_name['ShareProjectRequest']
|
|
37
|
+
_SHAREPROJECTWITHSUPPORTREQUEST = DESCRIPTOR.message_types_by_name['ShareProjectWithSupportRequest']
|
|
38
|
+
_UNSHAREPROJECTREQUEST = DESCRIPTOR.message_types_by_name['UnshareProjectRequest']
|
|
39
|
+
_UNSHAREPROJECTWITHSUPPORTREQUEST = DESCRIPTOR.message_types_by_name['UnshareProjectWithSupportRequest']
|
|
40
|
+
_SHAREPROJECTREQUEST_USERROLE = _SHAREPROJECTREQUEST.enum_types_by_name['UserRole']
|
|
36
41
|
Project = _reflection.GeneratedProtocolMessageType('Project', (_message.Message,), {
|
|
37
42
|
'DESCRIPTOR' : _PROJECT,
|
|
38
43
|
'__module__' : 'proto.api.v0.luminarycloud.project.project_pb2'
|
|
@@ -117,6 +122,34 @@ LoadGeometryToSetupResponse = _reflection.GeneratedProtocolMessageType('LoadGeom
|
|
|
117
122
|
})
|
|
118
123
|
_sym_db.RegisterMessage(LoadGeometryToSetupResponse)
|
|
119
124
|
|
|
125
|
+
ShareProjectRequest = _reflection.GeneratedProtocolMessageType('ShareProjectRequest', (_message.Message,), {
|
|
126
|
+
'DESCRIPTOR' : _SHAREPROJECTREQUEST,
|
|
127
|
+
'__module__' : 'proto.api.v0.luminarycloud.project.project_pb2'
|
|
128
|
+
# @@protoc_insertion_point(class_scope:luminary.proto.api.v0.luminarycloud.project.ShareProjectRequest)
|
|
129
|
+
})
|
|
130
|
+
_sym_db.RegisterMessage(ShareProjectRequest)
|
|
131
|
+
|
|
132
|
+
ShareProjectWithSupportRequest = _reflection.GeneratedProtocolMessageType('ShareProjectWithSupportRequest', (_message.Message,), {
|
|
133
|
+
'DESCRIPTOR' : _SHAREPROJECTWITHSUPPORTREQUEST,
|
|
134
|
+
'__module__' : 'proto.api.v0.luminarycloud.project.project_pb2'
|
|
135
|
+
# @@protoc_insertion_point(class_scope:luminary.proto.api.v0.luminarycloud.project.ShareProjectWithSupportRequest)
|
|
136
|
+
})
|
|
137
|
+
_sym_db.RegisterMessage(ShareProjectWithSupportRequest)
|
|
138
|
+
|
|
139
|
+
UnshareProjectRequest = _reflection.GeneratedProtocolMessageType('UnshareProjectRequest', (_message.Message,), {
|
|
140
|
+
'DESCRIPTOR' : _UNSHAREPROJECTREQUEST,
|
|
141
|
+
'__module__' : 'proto.api.v0.luminarycloud.project.project_pb2'
|
|
142
|
+
# @@protoc_insertion_point(class_scope:luminary.proto.api.v0.luminarycloud.project.UnshareProjectRequest)
|
|
143
|
+
})
|
|
144
|
+
_sym_db.RegisterMessage(UnshareProjectRequest)
|
|
145
|
+
|
|
146
|
+
UnshareProjectWithSupportRequest = _reflection.GeneratedProtocolMessageType('UnshareProjectWithSupportRequest', (_message.Message,), {
|
|
147
|
+
'DESCRIPTOR' : _UNSHAREPROJECTWITHSUPPORTREQUEST,
|
|
148
|
+
'__module__' : 'proto.api.v0.luminarycloud.project.project_pb2'
|
|
149
|
+
# @@protoc_insertion_point(class_scope:luminary.proto.api.v0.luminarycloud.project.UnshareProjectWithSupportRequest)
|
|
150
|
+
})
|
|
151
|
+
_sym_db.RegisterMessage(UnshareProjectWithSupportRequest)
|
|
152
|
+
|
|
120
153
|
_PROJECTSERVICE = DESCRIPTOR.services_by_name['ProjectService']
|
|
121
154
|
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
122
155
|
|
|
@@ -134,6 +167,14 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
134
167
|
_PROJECTSERVICE.methods_by_name['DeleteProject']._serialized_options = b'\202\323\344\223\002\023*\021/v0/projects/{id}'
|
|
135
168
|
_PROJECTSERVICE.methods_by_name['LoadGeometryToSetup']._options = None
|
|
136
169
|
_PROJECTSERVICE.methods_by_name['LoadGeometryToSetup']._serialized_options = b'\202\323\344\223\002$\"\037/v0/projects/{id}/load-geometry:\001*'
|
|
170
|
+
_PROJECTSERVICE.methods_by_name['ShareProject']._options = None
|
|
171
|
+
_PROJECTSERVICE.methods_by_name['ShareProject']._serialized_options = b'\202\323\344\223\002\034\"\027/v0/projects/{id}/share:\001*'
|
|
172
|
+
_PROJECTSERVICE.methods_by_name['ShareProjectWithSupport']._options = None
|
|
173
|
+
_PROJECTSERVICE.methods_by_name['ShareProjectWithSupport']._serialized_options = b'\202\323\344\223\002)\"$/v0/projects/{id}/share-with-support:\001*'
|
|
174
|
+
_PROJECTSERVICE.methods_by_name['UnshareProject']._options = None
|
|
175
|
+
_PROJECTSERVICE.methods_by_name['UnshareProject']._serialized_options = b'\202\323\344\223\002\036\"\031/v0/projects/{id}/unshare:\001*'
|
|
176
|
+
_PROJECTSERVICE.methods_by_name['UnshareProjectWithSupport']._options = None
|
|
177
|
+
_PROJECTSERVICE.methods_by_name['UnshareProjectWithSupport']._serialized_options = b'\202\323\344\223\002+\"&/v0/projects/{id}/unshare-with-support:\001*'
|
|
137
178
|
_PROJECT._serialized_start=190
|
|
138
179
|
_PROJECT._serialized_end=410
|
|
139
180
|
_CREATEPROJECTREQUEST._serialized_start=412
|
|
@@ -158,6 +199,16 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
158
199
|
_LOADGEOMETRYTOSETUPREQUEST._serialized_end=1201
|
|
159
200
|
_LOADGEOMETRYTOSETUPRESPONSE._serialized_start=1203
|
|
160
201
|
_LOADGEOMETRYTOSETUPRESPONSE._serialized_end=1232
|
|
161
|
-
|
|
162
|
-
|
|
202
|
+
_SHAREPROJECTREQUEST._serialized_start=1235
|
|
203
|
+
_SHAREPROJECTREQUEST._serialized_end=1455
|
|
204
|
+
_SHAREPROJECTREQUEST_USERROLE._serialized_start=1374
|
|
205
|
+
_SHAREPROJECTREQUEST_USERROLE._serialized_end=1455
|
|
206
|
+
_SHAREPROJECTWITHSUPPORTREQUEST._serialized_start=1457
|
|
207
|
+
_SHAREPROJECTWITHSUPPORTREQUEST._serialized_end=1518
|
|
208
|
+
_UNSHAREPROJECTREQUEST._serialized_start=1520
|
|
209
|
+
_UNSHAREPROJECTREQUEST._serialized_end=1570
|
|
210
|
+
_UNSHAREPROJECTWITHSUPPORTREQUEST._serialized_start=1572
|
|
211
|
+
_UNSHAREPROJECTWITHSUPPORTREQUEST._serialized_end=1618
|
|
212
|
+
_PROJECTSERVICE._serialized_start=1621
|
|
213
|
+
_PROJECTSERVICE._serialized_end=3346
|
|
163
214
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -6,12 +6,13 @@ import builtins
|
|
|
6
6
|
import collections.abc
|
|
7
7
|
import google.protobuf.descriptor
|
|
8
8
|
import google.protobuf.internal.containers
|
|
9
|
+
import google.protobuf.internal.enum_type_wrapper
|
|
9
10
|
import google.protobuf.message
|
|
10
11
|
import google.protobuf.timestamp_pb2
|
|
11
12
|
import sys
|
|
12
13
|
import typing
|
|
13
14
|
|
|
14
|
-
if sys.version_info >= (3,
|
|
15
|
+
if sys.version_info >= (3, 10):
|
|
15
16
|
import typing as typing_extensions
|
|
16
17
|
else:
|
|
17
18
|
import typing_extensions
|
|
@@ -289,3 +290,93 @@ class LoadGeometryToSetupResponse(google.protobuf.message.Message):
|
|
|
289
290
|
) -> None: ...
|
|
290
291
|
|
|
291
292
|
global___LoadGeometryToSetupResponse = LoadGeometryToSetupResponse
|
|
293
|
+
|
|
294
|
+
class ShareProjectRequest(google.protobuf.message.Message):
|
|
295
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
296
|
+
|
|
297
|
+
class _UserRole:
|
|
298
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
299
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
300
|
+
|
|
301
|
+
class _UserRoleEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ShareProjectRequest._UserRole.ValueType], builtins.type): # noqa: F821
|
|
302
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
303
|
+
USER_ROLE_UNSPECIFIED: ShareProjectRequest._UserRole.ValueType # 0
|
|
304
|
+
USER_ROLE_VIEWER: ShareProjectRequest._UserRole.ValueType # 1
|
|
305
|
+
USER_ROLE_EDITOR: ShareProjectRequest._UserRole.ValueType # 2
|
|
306
|
+
|
|
307
|
+
class UserRole(_UserRole, metaclass=_UserRoleEnumTypeWrapper): ...
|
|
308
|
+
USER_ROLE_UNSPECIFIED: ShareProjectRequest.UserRole.ValueType # 0
|
|
309
|
+
USER_ROLE_VIEWER: ShareProjectRequest.UserRole.ValueType # 1
|
|
310
|
+
USER_ROLE_EDITOR: ShareProjectRequest.UserRole.ValueType # 2
|
|
311
|
+
|
|
312
|
+
ID_FIELD_NUMBER: builtins.int
|
|
313
|
+
EMAIL_FIELD_NUMBER: builtins.int
|
|
314
|
+
ROLE_FIELD_NUMBER: builtins.int
|
|
315
|
+
id: builtins.str
|
|
316
|
+
"""Required. Identifies the project to share."""
|
|
317
|
+
email: builtins.str
|
|
318
|
+
"""Required. The email address of the user to share the project with."""
|
|
319
|
+
role: global___ShareProjectRequest.UserRole.ValueType
|
|
320
|
+
def __init__(
|
|
321
|
+
self,
|
|
322
|
+
*,
|
|
323
|
+
id: builtins.str = ...,
|
|
324
|
+
email: builtins.str = ...,
|
|
325
|
+
role: global___ShareProjectRequest.UserRole.ValueType = ...,
|
|
326
|
+
) -> None: ...
|
|
327
|
+
def ClearField(self, field_name: typing_extensions.Literal["email", b"email", "id", b"id", "role", b"role"]) -> None: ...
|
|
328
|
+
|
|
329
|
+
global___ShareProjectRequest = ShareProjectRequest
|
|
330
|
+
|
|
331
|
+
class ShareProjectWithSupportRequest(google.protobuf.message.Message):
|
|
332
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
333
|
+
|
|
334
|
+
ID_FIELD_NUMBER: builtins.int
|
|
335
|
+
MESSAGE_FIELD_NUMBER: builtins.int
|
|
336
|
+
id: builtins.str
|
|
337
|
+
"""Required. Identifies the project to share with support."""
|
|
338
|
+
message: builtins.str
|
|
339
|
+
"""Optional. A message to include with the support share request."""
|
|
340
|
+
def __init__(
|
|
341
|
+
self,
|
|
342
|
+
*,
|
|
343
|
+
id: builtins.str = ...,
|
|
344
|
+
message: builtins.str = ...,
|
|
345
|
+
) -> None: ...
|
|
346
|
+
def ClearField(self, field_name: typing_extensions.Literal["id", b"id", "message", b"message"]) -> None: ...
|
|
347
|
+
|
|
348
|
+
global___ShareProjectWithSupportRequest = ShareProjectWithSupportRequest
|
|
349
|
+
|
|
350
|
+
class UnshareProjectRequest(google.protobuf.message.Message):
|
|
351
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
352
|
+
|
|
353
|
+
ID_FIELD_NUMBER: builtins.int
|
|
354
|
+
EMAIL_FIELD_NUMBER: builtins.int
|
|
355
|
+
id: builtins.str
|
|
356
|
+
"""Required. Identifies the project to unshare."""
|
|
357
|
+
email: builtins.str
|
|
358
|
+
"""Required. The email address of the user to unshare the project with."""
|
|
359
|
+
def __init__(
|
|
360
|
+
self,
|
|
361
|
+
*,
|
|
362
|
+
id: builtins.str = ...,
|
|
363
|
+
email: builtins.str = ...,
|
|
364
|
+
) -> None: ...
|
|
365
|
+
def ClearField(self, field_name: typing_extensions.Literal["email", b"email", "id", b"id"]) -> None: ...
|
|
366
|
+
|
|
367
|
+
global___UnshareProjectRequest = UnshareProjectRequest
|
|
368
|
+
|
|
369
|
+
class UnshareProjectWithSupportRequest(google.protobuf.message.Message):
|
|
370
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
371
|
+
|
|
372
|
+
ID_FIELD_NUMBER: builtins.int
|
|
373
|
+
id: builtins.str
|
|
374
|
+
"""Required. Identifies the project to unshare with support."""
|
|
375
|
+
def __init__(
|
|
376
|
+
self,
|
|
377
|
+
*,
|
|
378
|
+
id: builtins.str = ...,
|
|
379
|
+
) -> None: ...
|
|
380
|
+
def ClearField(self, field_name: typing_extensions.Literal["id", b"id"]) -> None: ...
|
|
381
|
+
|
|
382
|
+
global___UnshareProjectWithSupportRequest = UnshareProjectWithSupportRequest
|
|
@@ -46,6 +46,26 @@ class ProjectServiceStub(object):
|
|
|
46
46
|
request_serializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_project_dot_project__pb2.LoadGeometryToSetupRequest.SerializeToString,
|
|
47
47
|
response_deserializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_project_dot_project__pb2.LoadGeometryToSetupResponse.FromString,
|
|
48
48
|
)
|
|
49
|
+
self.ShareProject = channel.unary_unary(
|
|
50
|
+
'/luminary.proto.api.v0.luminarycloud.project.ProjectService/ShareProject',
|
|
51
|
+
request_serializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_project_dot_project__pb2.ShareProjectRequest.SerializeToString,
|
|
52
|
+
response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
53
|
+
)
|
|
54
|
+
self.ShareProjectWithSupport = channel.unary_unary(
|
|
55
|
+
'/luminary.proto.api.v0.luminarycloud.project.ProjectService/ShareProjectWithSupport',
|
|
56
|
+
request_serializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_project_dot_project__pb2.ShareProjectWithSupportRequest.SerializeToString,
|
|
57
|
+
response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
58
|
+
)
|
|
59
|
+
self.UnshareProject = channel.unary_unary(
|
|
60
|
+
'/luminary.proto.api.v0.luminarycloud.project.ProjectService/UnshareProject',
|
|
61
|
+
request_serializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_project_dot_project__pb2.UnshareProjectRequest.SerializeToString,
|
|
62
|
+
response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
63
|
+
)
|
|
64
|
+
self.UnshareProjectWithSupport = channel.unary_unary(
|
|
65
|
+
'/luminary.proto.api.v0.luminarycloud.project.ProjectService/UnshareProjectWithSupport',
|
|
66
|
+
request_serializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_project_dot_project__pb2.UnshareProjectWithSupportRequest.SerializeToString,
|
|
67
|
+
response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
68
|
+
)
|
|
49
69
|
|
|
50
70
|
|
|
51
71
|
class ProjectServiceServicer(object):
|
|
@@ -96,6 +116,30 @@ class ProjectServiceServicer(object):
|
|
|
96
116
|
context.set_details('Method not implemented!')
|
|
97
117
|
raise NotImplementedError('Method not implemented!')
|
|
98
118
|
|
|
119
|
+
def ShareProject(self, request, context):
|
|
120
|
+
"""Missing associated documentation comment in .proto file."""
|
|
121
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
122
|
+
context.set_details('Method not implemented!')
|
|
123
|
+
raise NotImplementedError('Method not implemented!')
|
|
124
|
+
|
|
125
|
+
def ShareProjectWithSupport(self, request, context):
|
|
126
|
+
"""Missing associated documentation comment in .proto file."""
|
|
127
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
128
|
+
context.set_details('Method not implemented!')
|
|
129
|
+
raise NotImplementedError('Method not implemented!')
|
|
130
|
+
|
|
131
|
+
def UnshareProject(self, request, context):
|
|
132
|
+
"""Missing associated documentation comment in .proto file."""
|
|
133
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
134
|
+
context.set_details('Method not implemented!')
|
|
135
|
+
raise NotImplementedError('Method not implemented!')
|
|
136
|
+
|
|
137
|
+
def UnshareProjectWithSupport(self, request, context):
|
|
138
|
+
"""Missing associated documentation comment in .proto file."""
|
|
139
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
140
|
+
context.set_details('Method not implemented!')
|
|
141
|
+
raise NotImplementedError('Method not implemented!')
|
|
142
|
+
|
|
99
143
|
|
|
100
144
|
def add_ProjectServiceServicer_to_server(servicer, server):
|
|
101
145
|
rpc_method_handlers = {
|
|
@@ -129,6 +173,26 @@ def add_ProjectServiceServicer_to_server(servicer, server):
|
|
|
129
173
|
request_deserializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_project_dot_project__pb2.LoadGeometryToSetupRequest.FromString,
|
|
130
174
|
response_serializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_project_dot_project__pb2.LoadGeometryToSetupResponse.SerializeToString,
|
|
131
175
|
),
|
|
176
|
+
'ShareProject': grpc.unary_unary_rpc_method_handler(
|
|
177
|
+
servicer.ShareProject,
|
|
178
|
+
request_deserializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_project_dot_project__pb2.ShareProjectRequest.FromString,
|
|
179
|
+
response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
180
|
+
),
|
|
181
|
+
'ShareProjectWithSupport': grpc.unary_unary_rpc_method_handler(
|
|
182
|
+
servicer.ShareProjectWithSupport,
|
|
183
|
+
request_deserializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_project_dot_project__pb2.ShareProjectWithSupportRequest.FromString,
|
|
184
|
+
response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
185
|
+
),
|
|
186
|
+
'UnshareProject': grpc.unary_unary_rpc_method_handler(
|
|
187
|
+
servicer.UnshareProject,
|
|
188
|
+
request_deserializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_project_dot_project__pb2.UnshareProjectRequest.FromString,
|
|
189
|
+
response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
190
|
+
),
|
|
191
|
+
'UnshareProjectWithSupport': grpc.unary_unary_rpc_method_handler(
|
|
192
|
+
servicer.UnshareProjectWithSupport,
|
|
193
|
+
request_deserializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_project_dot_project__pb2.UnshareProjectWithSupportRequest.FromString,
|
|
194
|
+
response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
195
|
+
),
|
|
132
196
|
}
|
|
133
197
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
134
198
|
'luminary.proto.api.v0.luminarycloud.project.ProjectService', rpc_method_handlers)
|
|
@@ -241,3 +305,71 @@ class ProjectService(object):
|
|
|
241
305
|
proto_dot_api_dot_v0_dot_luminarycloud_dot_project_dot_project__pb2.LoadGeometryToSetupResponse.FromString,
|
|
242
306
|
options, channel_credentials,
|
|
243
307
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
308
|
+
|
|
309
|
+
@staticmethod
|
|
310
|
+
def ShareProject(request,
|
|
311
|
+
target,
|
|
312
|
+
options=(),
|
|
313
|
+
channel_credentials=None,
|
|
314
|
+
call_credentials=None,
|
|
315
|
+
insecure=False,
|
|
316
|
+
compression=None,
|
|
317
|
+
wait_for_ready=None,
|
|
318
|
+
timeout=None,
|
|
319
|
+
metadata=None):
|
|
320
|
+
return grpc.experimental.unary_unary(request, target, '/luminary.proto.api.v0.luminarycloud.project.ProjectService/ShareProject',
|
|
321
|
+
proto_dot_api_dot_v0_dot_luminarycloud_dot_project_dot_project__pb2.ShareProjectRequest.SerializeToString,
|
|
322
|
+
google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
323
|
+
options, channel_credentials,
|
|
324
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
325
|
+
|
|
326
|
+
@staticmethod
|
|
327
|
+
def ShareProjectWithSupport(request,
|
|
328
|
+
target,
|
|
329
|
+
options=(),
|
|
330
|
+
channel_credentials=None,
|
|
331
|
+
call_credentials=None,
|
|
332
|
+
insecure=False,
|
|
333
|
+
compression=None,
|
|
334
|
+
wait_for_ready=None,
|
|
335
|
+
timeout=None,
|
|
336
|
+
metadata=None):
|
|
337
|
+
return grpc.experimental.unary_unary(request, target, '/luminary.proto.api.v0.luminarycloud.project.ProjectService/ShareProjectWithSupport',
|
|
338
|
+
proto_dot_api_dot_v0_dot_luminarycloud_dot_project_dot_project__pb2.ShareProjectWithSupportRequest.SerializeToString,
|
|
339
|
+
google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
340
|
+
options, channel_credentials,
|
|
341
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
342
|
+
|
|
343
|
+
@staticmethod
|
|
344
|
+
def UnshareProject(request,
|
|
345
|
+
target,
|
|
346
|
+
options=(),
|
|
347
|
+
channel_credentials=None,
|
|
348
|
+
call_credentials=None,
|
|
349
|
+
insecure=False,
|
|
350
|
+
compression=None,
|
|
351
|
+
wait_for_ready=None,
|
|
352
|
+
timeout=None,
|
|
353
|
+
metadata=None):
|
|
354
|
+
return grpc.experimental.unary_unary(request, target, '/luminary.proto.api.v0.luminarycloud.project.ProjectService/UnshareProject',
|
|
355
|
+
proto_dot_api_dot_v0_dot_luminarycloud_dot_project_dot_project__pb2.UnshareProjectRequest.SerializeToString,
|
|
356
|
+
google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
357
|
+
options, channel_credentials,
|
|
358
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
359
|
+
|
|
360
|
+
@staticmethod
|
|
361
|
+
def UnshareProjectWithSupport(request,
|
|
362
|
+
target,
|
|
363
|
+
options=(),
|
|
364
|
+
channel_credentials=None,
|
|
365
|
+
call_credentials=None,
|
|
366
|
+
insecure=False,
|
|
367
|
+
compression=None,
|
|
368
|
+
wait_for_ready=None,
|
|
369
|
+
timeout=None,
|
|
370
|
+
metadata=None):
|
|
371
|
+
return grpc.experimental.unary_unary(request, target, '/luminary.proto.api.v0.luminarycloud.project.ProjectService/UnshareProjectWithSupport',
|
|
372
|
+
proto_dot_api_dot_v0_dot_luminarycloud_dot_project_dot_project__pb2.UnshareProjectWithSupportRequest.SerializeToString,
|
|
373
|
+
google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
374
|
+
options, channel_credentials,
|
|
375
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
@@ -44,6 +44,22 @@ class ProjectServiceStub:
|
|
|
44
44
|
NOTE: this operation will delete any existing meshes or simulations in the
|
|
45
45
|
project.
|
|
46
46
|
"""
|
|
47
|
+
ShareProject: grpc.UnaryUnaryMultiCallable[
|
|
48
|
+
luminarycloud._proto.api.v0.luminarycloud.project.project_pb2.ShareProjectRequest,
|
|
49
|
+
google.protobuf.empty_pb2.Empty,
|
|
50
|
+
]
|
|
51
|
+
ShareProjectWithSupport: grpc.UnaryUnaryMultiCallable[
|
|
52
|
+
luminarycloud._proto.api.v0.luminarycloud.project.project_pb2.ShareProjectWithSupportRequest,
|
|
53
|
+
google.protobuf.empty_pb2.Empty,
|
|
54
|
+
]
|
|
55
|
+
UnshareProject: grpc.UnaryUnaryMultiCallable[
|
|
56
|
+
luminarycloud._proto.api.v0.luminarycloud.project.project_pb2.UnshareProjectRequest,
|
|
57
|
+
google.protobuf.empty_pb2.Empty,
|
|
58
|
+
]
|
|
59
|
+
UnshareProjectWithSupport: grpc.UnaryUnaryMultiCallable[
|
|
60
|
+
luminarycloud._proto.api.v0.luminarycloud.project.project_pb2.UnshareProjectWithSupportRequest,
|
|
61
|
+
google.protobuf.empty_pb2.Empty,
|
|
62
|
+
]
|
|
47
63
|
|
|
48
64
|
class ProjectServiceServicer(metaclass=abc.ABCMeta):
|
|
49
65
|
"""Manages a user's projects."""
|
|
@@ -93,5 +109,29 @@ class ProjectServiceServicer(metaclass=abc.ABCMeta):
|
|
|
93
109
|
NOTE: this operation will delete any existing meshes or simulations in the
|
|
94
110
|
project.
|
|
95
111
|
"""
|
|
112
|
+
@abc.abstractmethod
|
|
113
|
+
def ShareProject(
|
|
114
|
+
self,
|
|
115
|
+
request: luminarycloud._proto.api.v0.luminarycloud.project.project_pb2.ShareProjectRequest,
|
|
116
|
+
context: grpc.ServicerContext,
|
|
117
|
+
) -> google.protobuf.empty_pb2.Empty: ...
|
|
118
|
+
@abc.abstractmethod
|
|
119
|
+
def ShareProjectWithSupport(
|
|
120
|
+
self,
|
|
121
|
+
request: luminarycloud._proto.api.v0.luminarycloud.project.project_pb2.ShareProjectWithSupportRequest,
|
|
122
|
+
context: grpc.ServicerContext,
|
|
123
|
+
) -> google.protobuf.empty_pb2.Empty: ...
|
|
124
|
+
@abc.abstractmethod
|
|
125
|
+
def UnshareProject(
|
|
126
|
+
self,
|
|
127
|
+
request: luminarycloud._proto.api.v0.luminarycloud.project.project_pb2.UnshareProjectRequest,
|
|
128
|
+
context: grpc.ServicerContext,
|
|
129
|
+
) -> google.protobuf.empty_pb2.Empty: ...
|
|
130
|
+
@abc.abstractmethod
|
|
131
|
+
def UnshareProjectWithSupport(
|
|
132
|
+
self,
|
|
133
|
+
request: luminarycloud._proto.api.v0.luminarycloud.project.project_pb2.UnshareProjectWithSupportRequest,
|
|
134
|
+
context: grpc.ServicerContext,
|
|
135
|
+
) -> google.protobuf.empty_pb2.Empty: ...
|
|
96
136
|
|
|
97
137
|
def add_ProjectServiceServicer_to_server(servicer: ProjectServiceServicer, server: grpc.Server) -> None: ...
|