luminarycloud 0.15.5__py3-none-any.whl → 0.16.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- luminarycloud/_helpers/__init__.py +1 -0
- luminarycloud/_helpers/_code_representation.py +18 -3
- luminarycloud/_helpers/download.py +67 -1
- luminarycloud/_proto/api/v0/luminarycloud/inference/inference_pb2.py +9 -9
- luminarycloud/_proto/api/v0/luminarycloud/inference/inference_pb2.pyi +7 -4
- luminarycloud/_proto/api/v0/luminarycloud/physics_ai/physics_ai_pb2.py +45 -21
- luminarycloud/_proto/api/v0/luminarycloud/physics_ai/physics_ai_pb2.pyi +65 -0
- luminarycloud/_proto/api/v0/luminarycloud/physics_ai/physics_ai_pb2_grpc.py +34 -0
- luminarycloud/_proto/api/v0/luminarycloud/physics_ai/physics_ai_pb2_grpc.pyi +12 -0
- luminarycloud/_proto/api/v0/luminarycloud/thirdpartyintegration/onshape/onshape_pb2.py +194 -7
- luminarycloud/_proto/api/v0/luminarycloud/thirdpartyintegration/onshape/onshape_pb2.pyi +403 -1
- luminarycloud/_proto/api/v0/luminarycloud/thirdpartyintegration/onshape/onshape_pb2_grpc.py +171 -0
- luminarycloud/_proto/api/v0/luminarycloud/thirdpartyintegration/onshape/onshape_pb2_grpc.pyi +64 -0
- luminarycloud/_proto/api/v0/luminarycloud/upload/upload_pb2.py +4 -2
- luminarycloud/_proto/api/v0/luminarycloud/upload/upload_pb2_grpc.py +34 -0
- luminarycloud/_proto/api/v0/luminarycloud/upload/upload_pb2_grpc.pyi +12 -0
- luminarycloud/_proto/assistant/assistant_pb2.py +82 -61
- luminarycloud/_proto/assistant/assistant_pb2.pyi +40 -0
- luminarycloud/_proto/assistant/assistant_pb2_grpc.py +34 -0
- luminarycloud/_proto/assistant/assistant_pb2_grpc.pyi +12 -0
- luminarycloud/_proto/base/base_pb2.py +7 -6
- luminarycloud/_proto/base/base_pb2.pyi +4 -0
- luminarycloud/_proto/client/simulation_pb2.py +188 -186
- luminarycloud/_proto/client/simulation_pb2.pyi +10 -2
- luminarycloud/_proto/geometry/geometry_pb2.py +62 -62
- luminarycloud/_proto/geometry/geometry_pb2.pyi +5 -1
- luminarycloud/_proto/inferenceservice/inferenceservice_pb2.py +11 -11
- luminarycloud/_proto/inferenceservice/inferenceservice_pb2.pyi +12 -4
- luminarycloud/_proto/quantity/quantity_pb2.py +11 -2
- luminarycloud/_proto/quantity/quantity_pb2.pyi +6 -0
- luminarycloud/_proto/table/table_pb2.pyi +4 -2
- luminarycloud/_proto/upload/upload_pb2.py +27 -7
- luminarycloud/_proto/upload/upload_pb2.pyi +31 -0
- luminarycloud/enum/quantity_type.py +15 -0
- luminarycloud/mesh.py +8 -1
- luminarycloud/params/simulation/physics/fluid/solution_controls/fluid_relaxation_method/fluid_implicit_relaxation/robust_startup/__init__.py +1 -0
- luminarycloud/params/simulation/physics/fluid/solution_controls/fluid_relaxation_method/fluid_implicit_relaxation/robust_startup/robust_startup_auto_.py +30 -0
- luminarycloud/params/simulation/physics/fluid/solution_controls/fluid_relaxation_method/fluid_implicit_relaxation/robust_startup/robust_startup_on_.py +1 -1
- luminarycloud/params/simulation/physics/fluid/solution_controls/fluid_relaxation_method/fluid_implicit_relaxation_.py +6 -2
- luminarycloud/params/simulation/physics/fluid/solution_controls_fluid_.py +4 -0
- luminarycloud/physics_ai/__init__.py +4 -0
- luminarycloud/physics_ai/inference.py +140 -4
- luminarycloud/physics_ai/solution.py +60 -0
- luminarycloud/tables.py +6 -8
- luminarycloud/vis/data_extraction.py +4 -5
- luminarycloud/vis/display.py +26 -11
- luminarycloud/vis/filters.py +98 -65
- luminarycloud/vis/primitives.py +3 -2
- luminarycloud/vis/visualization.py +197 -40
- {luminarycloud-0.15.5.dist-info → luminarycloud-0.16.0.dist-info}/METADATA +1 -1
- {luminarycloud-0.15.5.dist-info → luminarycloud-0.16.0.dist-info}/RECORD +52 -50
- {luminarycloud-0.15.5.dist-info → luminarycloud-0.16.0.dist-info}/WHEEL +0 -0
luminarycloud/_proto/api/v0/luminarycloud/thirdpartyintegration/onshape/onshape_pb2_grpc.pyi
CHANGED
|
@@ -22,6 +22,33 @@ class OnshapeServiceStub:
|
|
|
22
22
|
luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.FetchVariablesReply,
|
|
23
23
|
]
|
|
24
24
|
"""Fetches the list of variable names available in the specified Onshape element."""
|
|
25
|
+
ListDocumentsWithWorkspaceAndVersions: grpc.UnaryUnaryMultiCallable[
|
|
26
|
+
luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.ListDocumentsWithWorkspaceAndVersionsRequest,
|
|
27
|
+
luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.ListDocumentsWithWorkspaceAndVersionsReply,
|
|
28
|
+
]
|
|
29
|
+
"""Lists the documents of the user and the associated workspaces and versions.
|
|
30
|
+
A thumbnail is included for each document (not workspace or version)
|
|
31
|
+
"""
|
|
32
|
+
ListDocuments: grpc.UnaryUnaryMultiCallable[
|
|
33
|
+
luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.ListDocumentsRequest,
|
|
34
|
+
luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.ListDocumentsReply,
|
|
35
|
+
]
|
|
36
|
+
"""Lists only the documents of the user. A thumbnail is included for each document."""
|
|
37
|
+
ListWorkspacesAndVersions: grpc.UnaryUnaryMultiCallable[
|
|
38
|
+
luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.ListWorkspacesAndVersionsRequest,
|
|
39
|
+
luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.ListWorkspacesAndVersionsReply,
|
|
40
|
+
]
|
|
41
|
+
"""Lists the workspaces and versions for a given document."""
|
|
42
|
+
ListImportablesForSelection: grpc.UnaryUnaryMultiCallable[
|
|
43
|
+
luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.ListImportablesForSelectionRequest,
|
|
44
|
+
luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.ListImportablesForSelectionReply,
|
|
45
|
+
]
|
|
46
|
+
"""Given a request specifying a document and a workspace or version, lists the importable elements."""
|
|
47
|
+
GetCompanyPrefixes: grpc.UnaryUnaryMultiCallable[
|
|
48
|
+
luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.GetCompanyPrefixesRequest,
|
|
49
|
+
luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.GetCompanyPrefixesReply,
|
|
50
|
+
]
|
|
51
|
+
"""Returns information about the companies the user is associated with."""
|
|
25
52
|
|
|
26
53
|
class OnshapeServiceServicer(metaclass=abc.ABCMeta):
|
|
27
54
|
"""Public API service for Onshape third-party integration functionality.
|
|
@@ -42,5 +69,42 @@ class OnshapeServiceServicer(metaclass=abc.ABCMeta):
|
|
|
42
69
|
context: grpc.ServicerContext,
|
|
43
70
|
) -> luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.FetchVariablesReply:
|
|
44
71
|
"""Fetches the list of variable names available in the specified Onshape element."""
|
|
72
|
+
@abc.abstractmethod
|
|
73
|
+
def ListDocumentsWithWorkspaceAndVersions(
|
|
74
|
+
self,
|
|
75
|
+
request: luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.ListDocumentsWithWorkspaceAndVersionsRequest,
|
|
76
|
+
context: grpc.ServicerContext,
|
|
77
|
+
) -> luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.ListDocumentsWithWorkspaceAndVersionsReply:
|
|
78
|
+
"""Lists the documents of the user and the associated workspaces and versions.
|
|
79
|
+
A thumbnail is included for each document (not workspace or version)
|
|
80
|
+
"""
|
|
81
|
+
@abc.abstractmethod
|
|
82
|
+
def ListDocuments(
|
|
83
|
+
self,
|
|
84
|
+
request: luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.ListDocumentsRequest,
|
|
85
|
+
context: grpc.ServicerContext,
|
|
86
|
+
) -> luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.ListDocumentsReply:
|
|
87
|
+
"""Lists only the documents of the user. A thumbnail is included for each document."""
|
|
88
|
+
@abc.abstractmethod
|
|
89
|
+
def ListWorkspacesAndVersions(
|
|
90
|
+
self,
|
|
91
|
+
request: luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.ListWorkspacesAndVersionsRequest,
|
|
92
|
+
context: grpc.ServicerContext,
|
|
93
|
+
) -> luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.ListWorkspacesAndVersionsReply:
|
|
94
|
+
"""Lists the workspaces and versions for a given document."""
|
|
95
|
+
@abc.abstractmethod
|
|
96
|
+
def ListImportablesForSelection(
|
|
97
|
+
self,
|
|
98
|
+
request: luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.ListImportablesForSelectionRequest,
|
|
99
|
+
context: grpc.ServicerContext,
|
|
100
|
+
) -> luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.ListImportablesForSelectionReply:
|
|
101
|
+
"""Given a request specifying a document and a workspace or version, lists the importable elements."""
|
|
102
|
+
@abc.abstractmethod
|
|
103
|
+
def GetCompanyPrefixes(
|
|
104
|
+
self,
|
|
105
|
+
request: luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.GetCompanyPrefixesRequest,
|
|
106
|
+
context: grpc.ServicerContext,
|
|
107
|
+
) -> luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.GetCompanyPrefixesReply:
|
|
108
|
+
"""Returns information about the companies the user is associated with."""
|
|
45
109
|
|
|
46
110
|
def add_OnshapeServiceServicer_to_server(servicer: OnshapeServiceServicer, server: grpc.Server) -> None: ...
|
|
@@ -16,7 +16,7 @@ from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
|
16
16
|
from luminarycloud._proto.upload import upload_pb2 as proto_dot_upload_dot_upload__pb2
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n.proto/api/v0/luminarycloud/upload/upload.proto\x12*luminary.proto.api.v0.luminarycloud.upload\x1a\x1cgoogle/api/annotations.proto\x1a\x19proto/upload/upload.proto2\
|
|
19
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n.proto/api/v0/luminarycloud/upload/upload.proto\x12*luminary.proto.api.v0.luminarycloud.upload\x1a\x1cgoogle/api/annotations.proto\x1a\x19proto/upload/upload.proto2\xc9\x07\n\rUploadService\x12\x92\x01\n\x0c\x43reateUpload\x12*.luminary.proto.upload.CreateUploadRequest\x1a(.luminary.proto.upload.CreateUploadReply\",\x82\xd3\xe4\x93\x02&\"!/v0/projects/{project_id}/uploads:\x01*\x12\x8b\x01\n\x0bStartUpload\x12).luminary.proto.upload.StartUploadRequest\x1a\'.luminary.proto.upload.StartUploadReply\"(\x82\xd3\xe4\x93\x02\"\"\x1d/v0/uploads/{upload_id}:start:\x01*\x12\x89\x01\n\nUploadData\x12(.luminary.proto.upload.UploadDataRequest\x1a&.luminary.proto.upload.UploadDataReply\")\x82\xd3\xe4\x93\x02#\"\x1e/v0/uploads/{upload_id}:upload:\x01*\x12\x8f\x01\n\x0c\x46inishUpload\x12*.luminary.proto.upload.FinishUploadRequest\x1a(.luminary.proto.upload.FinishUploadReply\")\x82\xd3\xe4\x93\x02#\"\x1e/v0/uploads/{upload_id}:finish:\x01*\x12\xae\x01\n\x11UploadWebGeometry\x12/.luminary.proto.upload.UploadWebGeometryRequest\x1a-.luminary.proto.upload.UploadWebGeometryReply\"9\x82\xd3\xe4\x93\x02\x33\"./v0/projects/{project_id}/uploads:web_geometry:\x01*\x12\xc5\x01\n\x15GetWebGeometryBaseUrl\x12\x33.luminary.proto.upload.GetWebGeometryBaseUrlRequest\x1a\x31.luminary.proto.upload.GetWebGeometryBaseUrlReply\"D\x82\xd3\xe4\x93\x02>\x12</v0/projects/{project_id}/uploads/{web_geometry_id}:base_urlB:Z8luminarycloud.com/core/proto/api/v0/luminarycloud/uploadb\x06proto3')
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
|
|
@@ -35,6 +35,8 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
35
35
|
_UPLOADSERVICE.methods_by_name['FinishUpload']._serialized_options = b'\202\323\344\223\002#\"\036/v0/uploads/{upload_id}:finish:\001*'
|
|
36
36
|
_UPLOADSERVICE.methods_by_name['UploadWebGeometry']._options = None
|
|
37
37
|
_UPLOADSERVICE.methods_by_name['UploadWebGeometry']._serialized_options = b'\202\323\344\223\0023\"./v0/projects/{project_id}/uploads:web_geometry:\001*'
|
|
38
|
+
_UPLOADSERVICE.methods_by_name['GetWebGeometryBaseUrl']._options = None
|
|
39
|
+
_UPLOADSERVICE.methods_by_name['GetWebGeometryBaseUrl']._serialized_options = b'\202\323\344\223\002>\022</v0/projects/{project_id}/uploads/{web_geometry_id}:base_url'
|
|
38
40
|
_UPLOADSERVICE._serialized_start=152
|
|
39
|
-
_UPLOADSERVICE._serialized_end=
|
|
41
|
+
_UPLOADSERVICE._serialized_end=1121
|
|
40
42
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -40,6 +40,11 @@ class UploadServiceStub(object):
|
|
|
40
40
|
request_serializer=proto_dot_upload_dot_upload__pb2.UploadWebGeometryRequest.SerializeToString,
|
|
41
41
|
response_deserializer=proto_dot_upload_dot_upload__pb2.UploadWebGeometryReply.FromString,
|
|
42
42
|
)
|
|
43
|
+
self.GetWebGeometryBaseUrl = channel.unary_unary(
|
|
44
|
+
'/luminary.proto.api.v0.luminarycloud.upload.UploadService/GetWebGeometryBaseUrl',
|
|
45
|
+
request_serializer=proto_dot_upload_dot_upload__pb2.GetWebGeometryBaseUrlRequest.SerializeToString,
|
|
46
|
+
response_deserializer=proto_dot_upload_dot_upload__pb2.GetWebGeometryBaseUrlReply.FromString,
|
|
47
|
+
)
|
|
43
48
|
|
|
44
49
|
|
|
45
50
|
class UploadServiceServicer(object):
|
|
@@ -101,6 +106,13 @@ class UploadServiceServicer(object):
|
|
|
101
106
|
context.set_details('Method not implemented!')
|
|
102
107
|
raise NotImplementedError('Method not implemented!')
|
|
103
108
|
|
|
109
|
+
def GetWebGeometryBaseUrl(self, request, context):
|
|
110
|
+
"""Get the originally associated URL for a given web geometry ID.
|
|
111
|
+
"""
|
|
112
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
113
|
+
context.set_details('Method not implemented!')
|
|
114
|
+
raise NotImplementedError('Method not implemented!')
|
|
115
|
+
|
|
104
116
|
|
|
105
117
|
def add_UploadServiceServicer_to_server(servicer, server):
|
|
106
118
|
rpc_method_handlers = {
|
|
@@ -129,6 +141,11 @@ def add_UploadServiceServicer_to_server(servicer, server):
|
|
|
129
141
|
request_deserializer=proto_dot_upload_dot_upload__pb2.UploadWebGeometryRequest.FromString,
|
|
130
142
|
response_serializer=proto_dot_upload_dot_upload__pb2.UploadWebGeometryReply.SerializeToString,
|
|
131
143
|
),
|
|
144
|
+
'GetWebGeometryBaseUrl': grpc.unary_unary_rpc_method_handler(
|
|
145
|
+
servicer.GetWebGeometryBaseUrl,
|
|
146
|
+
request_deserializer=proto_dot_upload_dot_upload__pb2.GetWebGeometryBaseUrlRequest.FromString,
|
|
147
|
+
response_serializer=proto_dot_upload_dot_upload__pb2.GetWebGeometryBaseUrlReply.SerializeToString,
|
|
148
|
+
),
|
|
132
149
|
}
|
|
133
150
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
134
151
|
'luminary.proto.api.v0.luminarycloud.upload.UploadService', rpc_method_handlers)
|
|
@@ -224,3 +241,20 @@ class UploadService(object):
|
|
|
224
241
|
proto_dot_upload_dot_upload__pb2.UploadWebGeometryReply.FromString,
|
|
225
242
|
options, channel_credentials,
|
|
226
243
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
244
|
+
|
|
245
|
+
@staticmethod
|
|
246
|
+
def GetWebGeometryBaseUrl(request,
|
|
247
|
+
target,
|
|
248
|
+
options=(),
|
|
249
|
+
channel_credentials=None,
|
|
250
|
+
call_credentials=None,
|
|
251
|
+
insecure=False,
|
|
252
|
+
compression=None,
|
|
253
|
+
wait_for_ready=None,
|
|
254
|
+
timeout=None,
|
|
255
|
+
metadata=None):
|
|
256
|
+
return grpc.experimental.unary_unary(request, target, '/luminary.proto.api.v0.luminarycloud.upload.UploadService/GetWebGeometryBaseUrl',
|
|
257
|
+
proto_dot_upload_dot_upload__pb2.GetWebGeometryBaseUrlRequest.SerializeToString,
|
|
258
|
+
proto_dot_upload_dot_upload__pb2.GetWebGeometryBaseUrlReply.FromString,
|
|
259
|
+
options, channel_credentials,
|
|
260
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
@@ -58,6 +58,11 @@ class UploadServiceStub:
|
|
|
58
58
|
transfer until use of the Onshape asset. It is merely for tracking references
|
|
59
59
|
to the object.
|
|
60
60
|
"""
|
|
61
|
+
GetWebGeometryBaseUrl: grpc.UnaryUnaryMultiCallable[
|
|
62
|
+
luminarycloud._proto.upload.upload_pb2.GetWebGeometryBaseUrlRequest,
|
|
63
|
+
luminarycloud._proto.upload.upload_pb2.GetWebGeometryBaseUrlReply,
|
|
64
|
+
]
|
|
65
|
+
"""Get the originally associated URL for a given web geometry ID."""
|
|
61
66
|
|
|
62
67
|
class UploadServiceServicer(metaclass=abc.ABCMeta):
|
|
63
68
|
"""Provides APIs for managing uploads."""
|
|
@@ -120,5 +125,12 @@ class UploadServiceServicer(metaclass=abc.ABCMeta):
|
|
|
120
125
|
transfer until use of the Onshape asset. It is merely for tracking references
|
|
121
126
|
to the object.
|
|
122
127
|
"""
|
|
128
|
+
@abc.abstractmethod
|
|
129
|
+
def GetWebGeometryBaseUrl(
|
|
130
|
+
self,
|
|
131
|
+
request: luminarycloud._proto.upload.upload_pb2.GetWebGeometryBaseUrlRequest,
|
|
132
|
+
context: grpc.ServicerContext,
|
|
133
|
+
) -> luminarycloud._proto.upload.upload_pb2.GetWebGeometryBaseUrlReply:
|
|
134
|
+
"""Get the originally associated URL for a given web geometry ID."""
|
|
123
135
|
|
|
124
136
|
def add_UploadServiceServicer_to_server(servicer: UploadServiceServicer, server: grpc.Server) -> None: ...
|
|
@@ -16,9 +16,10 @@ _sym_db = _symbol_database.Default()
|
|
|
16
16
|
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
|
|
17
17
|
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
|
|
18
18
|
from luminarycloud._proto.client import simulation_pb2 as proto_dot_client_dot_simulation__pb2
|
|
19
|
+
from luminarycloud._proto.api.v0.luminarycloud.vis import vis_pb2 as proto_dot_api_dot_v0_dot_luminarycloud_dot_vis_dot_vis__pb2
|
|
19
20
|
|
|
20
21
|
|
|
21
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fproto/assistant/assistant.proto\x12\x18luminary.proto.assistant\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/protobuf/struct.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\
|
|
22
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fproto/assistant/assistant.proto\x12\x18luminary.proto.assistant\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1dproto/client/simulation.proto\x1a(proto/api/v0/luminarycloud/vis/vis.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\"y\n\x13VisToSdkCodeRequest\x12\x42\n\x04spec\x18\x01 \x01(\x0b\x32\x34.luminary.proto.api.v0.luminarycloud.vis.ExtractSpec\x12\x0f\n\x07session\x18\x02 \x01(\t\x12\r\n\x05token\x18\x03 \x01(\t\"(\n\x14VisToSdkCodeResponse\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\x8c\x06\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\x12o\n\x0cVisToSdkCode\x12-.luminary.proto.assistant.VisToSdkCodeRequest\x1a..luminary.proto.assistant.VisToSdkCodeResponse\"\x00\x42(Z&luminarycloud.com/core/proto/assistantb\x06proto3')
|
|
22
23
|
|
|
23
24
|
_ASSISTREQUESTSOURCE = DESCRIPTOR.enum_types_by_name['AssistRequestSource']
|
|
24
25
|
AssistRequestSource = enum_type_wrapper.EnumTypeWrapper(_ASSISTREQUESTSOURCE)
|
|
@@ -61,6 +62,8 @@ _CHATHISTORYENTRY = DESCRIPTOR.message_types_by_name['ChatHistoryEntry']
|
|
|
61
62
|
_GETCHATHISTORYRESPONSE = DESCRIPTOR.message_types_by_name['GetChatHistoryResponse']
|
|
62
63
|
_SIMULATIONTOSDKCODEREQUEST = DESCRIPTOR.message_types_by_name['SimulationToSdkCodeRequest']
|
|
63
64
|
_SIMULATIONTOSDKCODERESPONSE = DESCRIPTOR.message_types_by_name['SimulationToSdkCodeResponse']
|
|
65
|
+
_VISTOSDKCODEREQUEST = DESCRIPTOR.message_types_by_name['VisToSdkCodeRequest']
|
|
66
|
+
_VISTOSDKCODERESPONSE = DESCRIPTOR.message_types_by_name['VisToSdkCodeResponse']
|
|
64
67
|
GetChatSessionsRequest = _reflection.GeneratedProtocolMessageType('GetChatSessionsRequest', (_message.Message,), {
|
|
65
68
|
'DESCRIPTOR' : _GETCHATSESSIONSREQUEST,
|
|
66
69
|
'__module__' : 'proto.assistant.assistant_pb2'
|
|
@@ -245,6 +248,20 @@ SimulationToSdkCodeResponse = _reflection.GeneratedProtocolMessageType('Simulati
|
|
|
245
248
|
})
|
|
246
249
|
_sym_db.RegisterMessage(SimulationToSdkCodeResponse)
|
|
247
250
|
|
|
251
|
+
VisToSdkCodeRequest = _reflection.GeneratedProtocolMessageType('VisToSdkCodeRequest', (_message.Message,), {
|
|
252
|
+
'DESCRIPTOR' : _VISTOSDKCODEREQUEST,
|
|
253
|
+
'__module__' : 'proto.assistant.assistant_pb2'
|
|
254
|
+
# @@protoc_insertion_point(class_scope:luminary.proto.assistant.VisToSdkCodeRequest)
|
|
255
|
+
})
|
|
256
|
+
_sym_db.RegisterMessage(VisToSdkCodeRequest)
|
|
257
|
+
|
|
258
|
+
VisToSdkCodeResponse = _reflection.GeneratedProtocolMessageType('VisToSdkCodeResponse', (_message.Message,), {
|
|
259
|
+
'DESCRIPTOR' : _VISTOSDKCODERESPONSE,
|
|
260
|
+
'__module__' : 'proto.assistant.assistant_pb2'
|
|
261
|
+
# @@protoc_insertion_point(class_scope:luminary.proto.assistant.VisToSdkCodeResponse)
|
|
262
|
+
})
|
|
263
|
+
_sym_db.RegisterMessage(VisToSdkCodeResponse)
|
|
264
|
+
|
|
248
265
|
_ASSISTANT = DESCRIPTOR.services_by_name['Assistant']
|
|
249
266
|
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
250
267
|
|
|
@@ -254,64 +271,68 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
254
271
|
_EXECUTERESULT_DATAENTRY._serialized_options = b'8\001'
|
|
255
272
|
_DISPLAYDATA_DATAENTRY._options = None
|
|
256
273
|
_DISPLAYDATA_DATAENTRY._serialized_options = b'8\001'
|
|
257
|
-
_ASSISTREQUESTSOURCE._serialized_start=
|
|
258
|
-
_ASSISTREQUESTSOURCE._serialized_end=
|
|
259
|
-
_CELLTYPE._serialized_start=
|
|
260
|
-
_CELLTYPE._serialized_end=
|
|
261
|
-
_STREAMOUTPUTTYPE._serialized_start=
|
|
262
|
-
_STREAMOUTPUTTYPE._serialized_end=
|
|
263
|
-
_GETCHATSESSIONSREQUEST._serialized_start=
|
|
264
|
-
_GETCHATSESSIONSREQUEST._serialized_end=
|
|
265
|
-
_GETCHATSESSIONSRESPONSE._serialized_start=
|
|
266
|
-
_GETCHATSESSIONSRESPONSE._serialized_end=
|
|
267
|
-
_NEWCHATSESSIONREQUEST._serialized_start=
|
|
268
|
-
_NEWCHATSESSIONREQUEST._serialized_end=
|
|
269
|
-
_NEWCHATSESSIONRESPONSE._serialized_start=
|
|
270
|
-
_NEWCHATSESSIONRESPONSE._serialized_end=
|
|
271
|
-
_NOTEBOOKOUTPUTITEM._serialized_start=
|
|
272
|
-
_NOTEBOOKOUTPUTITEM._serialized_end=
|
|
273
|
-
_STREAMOUTPUT._serialized_start=
|
|
274
|
-
_STREAMOUTPUT._serialized_end=
|
|
275
|
-
_ERROROUTPUT._serialized_start=
|
|
276
|
-
_ERROROUTPUT._serialized_end=
|
|
277
|
-
_EXECUTERESULT._serialized_start=
|
|
278
|
-
_EXECUTERESULT._serialized_end=
|
|
279
|
-
_EXECUTERESULT_DATAENTRY._serialized_start=
|
|
280
|
-
_EXECUTERESULT_DATAENTRY._serialized_end=
|
|
281
|
-
_DISPLAYDATA._serialized_start=
|
|
282
|
-
_DISPLAYDATA._serialized_end=
|
|
283
|
-
_DISPLAYDATA_DATAENTRY._serialized_start=
|
|
284
|
-
_DISPLAYDATA_DATAENTRY._serialized_end=
|
|
285
|
-
_NOTEBOOKCELL._serialized_start=
|
|
286
|
-
_NOTEBOOKCELL._serialized_end=
|
|
287
|
-
_NOTEBOOKCONTEXT._serialized_start=
|
|
288
|
-
_NOTEBOOKCONTEXT._serialized_end=
|
|
289
|
-
_SOURCECODE._serialized_start=
|
|
290
|
-
_SOURCECODE._serialized_end=
|
|
291
|
-
_IMAGE._serialized_start=
|
|
292
|
-
_IMAGE._serialized_end=
|
|
293
|
-
_CONTEXTITEM._serialized_start=
|
|
294
|
-
_CONTEXTITEM._serialized_end=
|
|
295
|
-
_ASSISTANTCONTEXT._serialized_start=
|
|
296
|
-
_ASSISTANTCONTEXT._serialized_end=
|
|
297
|
-
_REQUEST._serialized_start=
|
|
298
|
-
_REQUEST._serialized_end=
|
|
299
|
-
_REPLY._serialized_start=
|
|
300
|
-
_REPLY._serialized_end=
|
|
301
|
-
_ACTION._serialized_start=
|
|
302
|
-
_ACTION._serialized_end=
|
|
303
|
-
_OUTCOME._serialized_start=
|
|
304
|
-
_OUTCOME._serialized_end=
|
|
305
|
-
_GETCHATHISTORYREQUEST._serialized_start=
|
|
306
|
-
_GETCHATHISTORYREQUEST._serialized_end=
|
|
307
|
-
_CHATHISTORYENTRY._serialized_start=
|
|
308
|
-
_CHATHISTORYENTRY._serialized_end=
|
|
309
|
-
_GETCHATHISTORYRESPONSE._serialized_start=
|
|
310
|
-
_GETCHATHISTORYRESPONSE._serialized_end=
|
|
311
|
-
_SIMULATIONTOSDKCODEREQUEST._serialized_start=
|
|
312
|
-
_SIMULATIONTOSDKCODEREQUEST._serialized_end=
|
|
313
|
-
_SIMULATIONTOSDKCODERESPONSE._serialized_start=
|
|
314
|
-
_SIMULATIONTOSDKCODERESPONSE._serialized_end=
|
|
315
|
-
|
|
316
|
-
|
|
274
|
+
_ASSISTREQUESTSOURCE._serialized_start=2862
|
|
275
|
+
_ASSISTREQUESTSOURCE._serialized_end=2915
|
|
276
|
+
_CELLTYPE._serialized_start=2917
|
|
277
|
+
_CELLTYPE._serialized_end=2960
|
|
278
|
+
_STREAMOUTPUTTYPE._serialized_start=2962
|
|
279
|
+
_STREAMOUTPUTTYPE._serialized_end=3004
|
|
280
|
+
_GETCHATSESSIONSREQUEST._serialized_start=193
|
|
281
|
+
_GETCHATSESSIONSREQUEST._serialized_end=250
|
|
282
|
+
_GETCHATSESSIONSRESPONSE._serialized_start=252
|
|
283
|
+
_GETCHATSESSIONSRESPONSE._serialized_end=298
|
|
284
|
+
_NEWCHATSESSIONREQUEST._serialized_start=300
|
|
285
|
+
_NEWCHATSESSIONREQUEST._serialized_end=356
|
|
286
|
+
_NEWCHATSESSIONRESPONSE._serialized_start=358
|
|
287
|
+
_NEWCHATSESSIONRESPONSE._serialized_end=402
|
|
288
|
+
_NOTEBOOKOUTPUTITEM._serialized_start=405
|
|
289
|
+
_NOTEBOOKOUTPUTITEM._serialized_end=687
|
|
290
|
+
_STREAMOUTPUT._serialized_start=689
|
|
291
|
+
_STREAMOUTPUT._serialized_end=775
|
|
292
|
+
_ERROROUTPUT._serialized_start=777
|
|
293
|
+
_ERROROUTPUT._serialized_end=840
|
|
294
|
+
_EXECUTERESULT._serialized_start=842
|
|
295
|
+
_EXECUTERESULT._serialized_end=967
|
|
296
|
+
_EXECUTERESULT_DATAENTRY._serialized_start=924
|
|
297
|
+
_EXECUTERESULT_DATAENTRY._serialized_end=967
|
|
298
|
+
_DISPLAYDATA._serialized_start=969
|
|
299
|
+
_DISPLAYDATA._serialized_end=1090
|
|
300
|
+
_DISPLAYDATA_DATAENTRY._serialized_start=924
|
|
301
|
+
_DISPLAYDATA_DATAENTRY._serialized_end=967
|
|
302
|
+
_NOTEBOOKCELL._serialized_start=1093
|
|
303
|
+
_NOTEBOOKCELL._serialized_end=1259
|
|
304
|
+
_NOTEBOOKCONTEXT._serialized_start=1261
|
|
305
|
+
_NOTEBOOKCONTEXT._serialized_end=1359
|
|
306
|
+
_SOURCECODE._serialized_start=1361
|
|
307
|
+
_SOURCECODE._serialized_end=1422
|
|
308
|
+
_IMAGE._serialized_start=1424
|
|
309
|
+
_IMAGE._serialized_end=1495
|
|
310
|
+
_CONTEXTITEM._serialized_start=1498
|
|
311
|
+
_CONTEXTITEM._serialized_end=1717
|
|
312
|
+
_ASSISTANTCONTEXT._serialized_start=1719
|
|
313
|
+
_ASSISTANTCONTEXT._serialized_end=1793
|
|
314
|
+
_REQUEST._serialized_start=1796
|
|
315
|
+
_REQUEST._serialized_end=2042
|
|
316
|
+
_REPLY._serialized_start=2045
|
|
317
|
+
_REPLY._serialized_end=2203
|
|
318
|
+
_ACTION._serialized_start=2205
|
|
319
|
+
_ACTION._serialized_end=2243
|
|
320
|
+
_OUTCOME._serialized_start=2245
|
|
321
|
+
_OUTCOME._serialized_end=2328
|
|
322
|
+
_GETCHATHISTORYREQUEST._serialized_start=2330
|
|
323
|
+
_GETCHATHISTORYREQUEST._serialized_end=2403
|
|
324
|
+
_CHATHISTORYENTRY._serialized_start=2405
|
|
325
|
+
_CHATHISTORYENTRY._serialized_end=2454
|
|
326
|
+
_GETCHATHISTORYRESPONSE._serialized_start=2456
|
|
327
|
+
_GETCHATHISTORYRESPONSE._serialized_end=2541
|
|
328
|
+
_SIMULATIONTOSDKCODEREQUEST._serialized_start=2543
|
|
329
|
+
_SIMULATIONTOSDKCODEREQUEST._serialized_end=2646
|
|
330
|
+
_SIMULATIONTOSDKCODERESPONSE._serialized_start=2648
|
|
331
|
+
_SIMULATIONTOSDKCODERESPONSE._serialized_end=2695
|
|
332
|
+
_VISTOSDKCODEREQUEST._serialized_start=2697
|
|
333
|
+
_VISTOSDKCODEREQUEST._serialized_end=2818
|
|
334
|
+
_VISTOSDKCODERESPONSE._serialized_start=2820
|
|
335
|
+
_VISTOSDKCODERESPONSE._serialized_end=2860
|
|
336
|
+
_ASSISTANT._serialized_start=3007
|
|
337
|
+
_ASSISTANT._serialized_end=3787
|
|
317
338
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -8,6 +8,7 @@ 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.api.v0.luminarycloud.vis.vis_pb2
|
|
11
12
|
import sys
|
|
12
13
|
import typing
|
|
13
14
|
|
|
@@ -659,3 +660,42 @@ class SimulationToSdkCodeResponse(google.protobuf.message.Message):
|
|
|
659
660
|
def ClearField(self, field_name: typing_extensions.Literal["sdk_code", b"sdk_code"]) -> None: ...
|
|
660
661
|
|
|
661
662
|
global___SimulationToSdkCodeResponse = SimulationToSdkCodeResponse
|
|
663
|
+
|
|
664
|
+
class VisToSdkCodeRequest(google.protobuf.message.Message):
|
|
665
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
666
|
+
|
|
667
|
+
SPEC_FIELD_NUMBER: builtins.int
|
|
668
|
+
SESSION_FIELD_NUMBER: builtins.int
|
|
669
|
+
TOKEN_FIELD_NUMBER: builtins.int
|
|
670
|
+
@property
|
|
671
|
+
def spec(self) -> luminarycloud._proto.api.v0.luminarycloud.vis.vis_pb2.ExtractSpec:
|
|
672
|
+
"""The extract spec that defines the vis state."""
|
|
673
|
+
session: builtins.str
|
|
674
|
+
"""Id of the long lived session, an opaque string set by initiator"""
|
|
675
|
+
token: builtins.str
|
|
676
|
+
"""The session token for assistant to act on behalf of the user"""
|
|
677
|
+
def __init__(
|
|
678
|
+
self,
|
|
679
|
+
*,
|
|
680
|
+
spec: luminarycloud._proto.api.v0.luminarycloud.vis.vis_pb2.ExtractSpec | None = ...,
|
|
681
|
+
session: builtins.str = ...,
|
|
682
|
+
token: builtins.str = ...,
|
|
683
|
+
) -> None: ...
|
|
684
|
+
def HasField(self, field_name: typing_extensions.Literal["spec", b"spec"]) -> builtins.bool: ...
|
|
685
|
+
def ClearField(self, field_name: typing_extensions.Literal["session", b"session", "spec", b"spec", "token", b"token"]) -> None: ...
|
|
686
|
+
|
|
687
|
+
global___VisToSdkCodeRequest = VisToSdkCodeRequest
|
|
688
|
+
|
|
689
|
+
class VisToSdkCodeResponse(google.protobuf.message.Message):
|
|
690
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
691
|
+
|
|
692
|
+
SDK_CODE_FIELD_NUMBER: builtins.int
|
|
693
|
+
sdk_code: builtins.str
|
|
694
|
+
def __init__(
|
|
695
|
+
self,
|
|
696
|
+
*,
|
|
697
|
+
sdk_code: builtins.str = ...,
|
|
698
|
+
) -> None: ...
|
|
699
|
+
def ClearField(self, field_name: typing_extensions.Literal["sdk_code", b"sdk_code"]) -> None: ...
|
|
700
|
+
|
|
701
|
+
global___VisToSdkCodeResponse = VisToSdkCodeResponse
|
|
@@ -46,6 +46,11 @@ class AssistantStub(object):
|
|
|
46
46
|
request_serializer=proto_dot_assistant_dot_assistant__pb2.SimulationToSdkCodeRequest.SerializeToString,
|
|
47
47
|
response_deserializer=proto_dot_assistant_dot_assistant__pb2.SimulationToSdkCodeResponse.FromString,
|
|
48
48
|
)
|
|
49
|
+
self.VisToSdkCode = channel.unary_unary(
|
|
50
|
+
'/luminary.proto.assistant.Assistant/VisToSdkCode',
|
|
51
|
+
request_serializer=proto_dot_assistant_dot_assistant__pb2.VisToSdkCodeRequest.SerializeToString,
|
|
52
|
+
response_deserializer=proto_dot_assistant_dot_assistant__pb2.VisToSdkCodeResponse.FromString,
|
|
53
|
+
)
|
|
49
54
|
|
|
50
55
|
|
|
51
56
|
class AssistantServicer(object):
|
|
@@ -89,6 +94,13 @@ class AssistantServicer(object):
|
|
|
89
94
|
context.set_details('Method not implemented!')
|
|
90
95
|
raise NotImplementedError('Method not implemented!')
|
|
91
96
|
|
|
97
|
+
def VisToSdkCode(self, request, context):
|
|
98
|
+
"""Converts an visualization extract spec into the equivalent SDK code.
|
|
99
|
+
"""
|
|
100
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
101
|
+
context.set_details('Method not implemented!')
|
|
102
|
+
raise NotImplementedError('Method not implemented!')
|
|
103
|
+
|
|
92
104
|
|
|
93
105
|
def add_AssistantServicer_to_server(servicer, server):
|
|
94
106
|
rpc_method_handlers = {
|
|
@@ -122,6 +134,11 @@ def add_AssistantServicer_to_server(servicer, server):
|
|
|
122
134
|
request_deserializer=proto_dot_assistant_dot_assistant__pb2.SimulationToSdkCodeRequest.FromString,
|
|
123
135
|
response_serializer=proto_dot_assistant_dot_assistant__pb2.SimulationToSdkCodeResponse.SerializeToString,
|
|
124
136
|
),
|
|
137
|
+
'VisToSdkCode': grpc.unary_unary_rpc_method_handler(
|
|
138
|
+
servicer.VisToSdkCode,
|
|
139
|
+
request_deserializer=proto_dot_assistant_dot_assistant__pb2.VisToSdkCodeRequest.FromString,
|
|
140
|
+
response_serializer=proto_dot_assistant_dot_assistant__pb2.VisToSdkCodeResponse.SerializeToString,
|
|
141
|
+
),
|
|
125
142
|
}
|
|
126
143
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
127
144
|
'luminary.proto.assistant.Assistant', rpc_method_handlers)
|
|
@@ -234,3 +251,20 @@ class Assistant(object):
|
|
|
234
251
|
proto_dot_assistant_dot_assistant__pb2.SimulationToSdkCodeResponse.FromString,
|
|
235
252
|
options, channel_credentials,
|
|
236
253
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
254
|
+
|
|
255
|
+
@staticmethod
|
|
256
|
+
def VisToSdkCode(request,
|
|
257
|
+
target,
|
|
258
|
+
options=(),
|
|
259
|
+
channel_credentials=None,
|
|
260
|
+
call_credentials=None,
|
|
261
|
+
insecure=False,
|
|
262
|
+
compression=None,
|
|
263
|
+
wait_for_ready=None,
|
|
264
|
+
timeout=None,
|
|
265
|
+
metadata=None):
|
|
266
|
+
return grpc.experimental.unary_unary(request, target, '/luminary.proto.assistant.Assistant/VisToSdkCode',
|
|
267
|
+
proto_dot_assistant_dot_assistant__pb2.VisToSdkCodeRequest.SerializeToString,
|
|
268
|
+
proto_dot_assistant_dot_assistant__pb2.VisToSdkCodeResponse.FromString,
|
|
269
|
+
options, channel_credentials,
|
|
270
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
@@ -37,6 +37,11 @@ class AssistantStub:
|
|
|
37
37
|
luminarycloud._proto.assistant.assistant_pb2.SimulationToSdkCodeResponse,
|
|
38
38
|
]
|
|
39
39
|
"""Converts a given SimulationParam proto into the equivalent SDK code."""
|
|
40
|
+
VisToSdkCode: grpc.UnaryUnaryMultiCallable[
|
|
41
|
+
luminarycloud._proto.assistant.assistant_pb2.VisToSdkCodeRequest,
|
|
42
|
+
luminarycloud._proto.assistant.assistant_pb2.VisToSdkCodeResponse,
|
|
43
|
+
]
|
|
44
|
+
"""Converts an visualization extract spec into the equivalent SDK code."""
|
|
40
45
|
|
|
41
46
|
class AssistantServicer(metaclass=abc.ABCMeta):
|
|
42
47
|
"""the assistant service implemented by backend"""
|
|
@@ -78,5 +83,12 @@ class AssistantServicer(metaclass=abc.ABCMeta):
|
|
|
78
83
|
context: grpc.ServicerContext,
|
|
79
84
|
) -> luminarycloud._proto.assistant.assistant_pb2.SimulationToSdkCodeResponse:
|
|
80
85
|
"""Converts a given SimulationParam proto into the equivalent SDK code."""
|
|
86
|
+
@abc.abstractmethod
|
|
87
|
+
def VisToSdkCode(
|
|
88
|
+
self,
|
|
89
|
+
request: luminarycloud._proto.assistant.assistant_pb2.VisToSdkCodeRequest,
|
|
90
|
+
context: grpc.ServicerContext,
|
|
91
|
+
) -> luminarycloud._proto.assistant.assistant_pb2.VisToSdkCodeResponse:
|
|
92
|
+
"""Converts an visualization extract spec into the equivalent SDK code."""
|
|
81
93
|
|
|
82
94
|
def add_AssistantServicer_to_server(servicer: AssistantServicer, server: grpc.Server) -> None: ...
|
|
@@ -19,7 +19,7 @@ from luminarycloud._proto.quantity import quantity_pb2 as proto_dot_quantity_dot
|
|
|
19
19
|
from luminarycloud._proto.lcstatus import lcstatus_pb2 as proto_dot_lcstatus_dot_lcstatus__pb2
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x15proto/base/base.proto\x12\x13luminary.proto.base\x1a google/protobuf/descriptor.proto\x1a\x19google/protobuf/any.proto\x1a\x1dproto/quantity/quantity.proto\x1a\x1dproto/lcstatus/lcstatus.proto\"/\n\x08\x43hecksum\x12\x10\n\x06sha256\x18\x01 \x01(\x0cH\x00\x42\x0b\n\talgorithmJ\x04\x08\x02\x10\x03\"N\n\x06Status\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0f\n\x07message\x18\x02 \x01(\t\x12%\n\x07\x64\x65tails\x18\x03 \x03(\x0b\x32\x14.google.protobuf.Any\"x\n\rStatusPayload\x12-\n\x07subcode\x18\x01 \x01(\x0e\x32\x1c.luminary.proto.base.Subcode\x12\x38\n\x06\x64\x65tail\x18\x03 \x03(\x0b\x32(.luminary.proto.base.StatusPayloadDetail\"5\n\x13StatusPayloadDetail\x12\x0f\n\x07message\x18\x10 \x01(\t\x12\r\n\x05where\x18\x11 \x01(\t\"\xb3\x01\n\tJobStatus\x12/\n\x03typ\x18\x01 \x01(\x0e\x32\".luminary.proto.base.JobStatusType\x12-\n\x06status\x18\x02 \x01(\x0b\x32\x1b.luminary.proto.base.StatusH\x00\x12\x35\n\x08lcstatus\x18\x03 \x01(\x0b\x32!.luminary.proto.lcstatus.LCStatusH\x00\x42\x0f\n\rfailed_reason\"\x92\x01\n\tAdVector3\x12+\n\x01x\x18\x01 \x01(\x0b\x32 .luminary.proto.base.AdFloatType\x12+\n\x01y\x18\x02 \x01(\x0b\x32 .luminary.proto.base.AdFloatType\x12+\n\x01z\x18\x03 \x01(\x0b\x32 .luminary.proto.base.AdFloatType\"*\n\x07Vector3\x12\t\n\x01x\x18\x01 \x01(\x01\x12\t\n\x01y\x18\x02 \x01(\x01\x12\t\n\x01z\x18\x03 \x01(\x01\"-\n\nIntVector3\x12\t\n\x01x\x18\x01 \x01(\x03\x12\t\n\x01y\x18\x02 \x01(\x03\x12\t\n\x01z\x18\x03 \x01(\x03\"\x84\x01\n\x07Matrix3\x12\'\n\x01\x61\x18\x01 \x01(\x0b\x32\x1c.luminary.proto.base.Vector3\x12\'\n\x01\x62\x18\x02 \x01(\x0b\x32\x1c.luminary.proto.base.Vector3\x12\'\n\x01\x63\x18\x03 \x01(\x0b\x32\x1c.luminary.proto.base.Vector3\"C\n\x10\x46irstOrderAdType\x12\r\n\x05value\x18\x01 \x01(\x01\x12\x0f\n\x07tangent\x18\x02 \x03(\x01\x12\x0f\n\x07\x61\x64joint\x18\x03 \x03(\x01\"\xb9\x01\n\x11SecondOrderAdType\x12\x34\n\x05value\x18\x01 \x01(\x0b\x32%.luminary.proto.base.FirstOrderAdType\x12\x36\n\x07tangent\x18\x02 \x03(\x0b\x32%.luminary.proto.base.FirstOrderAdType\x12\x36\n\x07\x61\x64joint\x18\x03 \x03(\x0b\x32%.luminary.proto.base.FirstOrderAdType\"3\n\x0e\x45xpressionType\x12\r\n\x05value\x18\x01 \x01(\x01\x12\x12\n\nexpression\x18\x02 \x01(\t\"\xad\x02\n\x0b\x41\x64\x46loatType\x12\x0f\n\x05value\x18\x01 \x01(\x01H\x00\x12<\n\x0b\x66irst_order\x18\x02 \x01(\x0b\x32%.luminary.proto.base.FirstOrderAdTypeH\x00\x12>\n\x0csecond_order\x18\x03 \x01(\x0b\x32&.luminary.proto.base.SecondOrderAdTypeH\x00\x12\x37\n\x08variable\x18\x05 \x01(\x0b\x32#.luminary.proto.base.ExpressionTypeH\x00\x12>\n\rquantity_type\x18\x04 \x01(\x0e\x32%.luminary.proto.quantity.QuantityTypeH\x01\x42\n\n\x08\x61\x64_typesB\n\n\x08quantity\"\x14\n\x03Int\x12\r\n\x05value\x18\x01 \x01(\x03\"\x16\n\x05\x46loat\x12\r\n\x05value\x18\x01 \x01(\x01\"\x15\n\x04\x42ool\x12\r\n\x05value\x18\x01 \x01(\x08\":\n\x05\x41\x64Row\x12\x31\n\x07\x65lement\x18\x01 \x03(\x0b\x32 .luminary.proto.base.AdFloatType\"3\n\x08\x41\x64Matrix\x12\'\n\x03row\x18\x01 \x03(\x0b\x32\x1a.luminary.proto.base.AdRow*\
|
|
22
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x15proto/base/base.proto\x12\x13luminary.proto.base\x1a google/protobuf/descriptor.proto\x1a\x19google/protobuf/any.proto\x1a\x1dproto/quantity/quantity.proto\x1a\x1dproto/lcstatus/lcstatus.proto\"/\n\x08\x43hecksum\x12\x10\n\x06sha256\x18\x01 \x01(\x0cH\x00\x42\x0b\n\talgorithmJ\x04\x08\x02\x10\x03\"N\n\x06Status\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0f\n\x07message\x18\x02 \x01(\t\x12%\n\x07\x64\x65tails\x18\x03 \x03(\x0b\x32\x14.google.protobuf.Any\"x\n\rStatusPayload\x12-\n\x07subcode\x18\x01 \x01(\x0e\x32\x1c.luminary.proto.base.Subcode\x12\x38\n\x06\x64\x65tail\x18\x03 \x03(\x0b\x32(.luminary.proto.base.StatusPayloadDetail\"5\n\x13StatusPayloadDetail\x12\x0f\n\x07message\x18\x10 \x01(\t\x12\r\n\x05where\x18\x11 \x01(\t\"\xb3\x01\n\tJobStatus\x12/\n\x03typ\x18\x01 \x01(\x0e\x32\".luminary.proto.base.JobStatusType\x12-\n\x06status\x18\x02 \x01(\x0b\x32\x1b.luminary.proto.base.StatusH\x00\x12\x35\n\x08lcstatus\x18\x03 \x01(\x0b\x32!.luminary.proto.lcstatus.LCStatusH\x00\x42\x0f\n\rfailed_reason\"\x92\x01\n\tAdVector3\x12+\n\x01x\x18\x01 \x01(\x0b\x32 .luminary.proto.base.AdFloatType\x12+\n\x01y\x18\x02 \x01(\x0b\x32 .luminary.proto.base.AdFloatType\x12+\n\x01z\x18\x03 \x01(\x0b\x32 .luminary.proto.base.AdFloatType\"*\n\x07Vector3\x12\t\n\x01x\x18\x01 \x01(\x01\x12\t\n\x01y\x18\x02 \x01(\x01\x12\t\n\x01z\x18\x03 \x01(\x01\"-\n\nIntVector3\x12\t\n\x01x\x18\x01 \x01(\x03\x12\t\n\x01y\x18\x02 \x01(\x03\x12\t\n\x01z\x18\x03 \x01(\x03\"\x84\x01\n\x07Matrix3\x12\'\n\x01\x61\x18\x01 \x01(\x0b\x32\x1c.luminary.proto.base.Vector3\x12\'\n\x01\x62\x18\x02 \x01(\x0b\x32\x1c.luminary.proto.base.Vector3\x12\'\n\x01\x63\x18\x03 \x01(\x0b\x32\x1c.luminary.proto.base.Vector3\"C\n\x10\x46irstOrderAdType\x12\r\n\x05value\x18\x01 \x01(\x01\x12\x0f\n\x07tangent\x18\x02 \x03(\x01\x12\x0f\n\x07\x61\x64joint\x18\x03 \x03(\x01\"\xb9\x01\n\x11SecondOrderAdType\x12\x34\n\x05value\x18\x01 \x01(\x0b\x32%.luminary.proto.base.FirstOrderAdType\x12\x36\n\x07tangent\x18\x02 \x03(\x0b\x32%.luminary.proto.base.FirstOrderAdType\x12\x36\n\x07\x61\x64joint\x18\x03 \x03(\x0b\x32%.luminary.proto.base.FirstOrderAdType\"3\n\x0e\x45xpressionType\x12\r\n\x05value\x18\x01 \x01(\x01\x12\x12\n\nexpression\x18\x02 \x01(\t\"\xad\x02\n\x0b\x41\x64\x46loatType\x12\x0f\n\x05value\x18\x01 \x01(\x01H\x00\x12<\n\x0b\x66irst_order\x18\x02 \x01(\x0b\x32%.luminary.proto.base.FirstOrderAdTypeH\x00\x12>\n\x0csecond_order\x18\x03 \x01(\x0b\x32&.luminary.proto.base.SecondOrderAdTypeH\x00\x12\x37\n\x08variable\x18\x05 \x01(\x0b\x32#.luminary.proto.base.ExpressionTypeH\x00\x12>\n\rquantity_type\x18\x04 \x01(\x0e\x32%.luminary.proto.quantity.QuantityTypeH\x01\x42\n\n\x08\x61\x64_typesB\n\n\x08quantity\"\x14\n\x03Int\x12\r\n\x05value\x18\x01 \x01(\x03\"\x16\n\x05\x46loat\x12\r\n\x05value\x18\x01 \x01(\x01\"\x15\n\x04\x42ool\x12\r\n\x05value\x18\x01 \x01(\x08\":\n\x05\x41\x64Row\x12\x31\n\x07\x65lement\x18\x01 \x03(\x0b\x32 .luminary.proto.base.AdFloatType\"3\n\x08\x41\x64Matrix\x12\'\n\x03row\x18\x01 \x03(\x0b\x32\x1a.luminary.proto.base.AdRow*\xef\x02\n\x07Subcode\x12\x17\n\x13SUBCODE_UNSPECIFIED\x10\x00\x12\x1a\n\x16SUBCODE_USER_NOT_FOUND\x10\x01\x12 \n\x1cSUBCODE_JOB_CANCELED_BY_USER\x10\x02\x12#\n\x1fSUBCODE_JOB_CANCELED_DIVERGENCE\x10\x03\x12$\n SUBCODE_JOB_CANCELED_SETUP_ERROR\x10\x04\x12\x1f\n\x1bSUBCODE_INCOMPATIBLE_CLIENT\x10\x05\x12\x1e\n\x1aSUBCODE_INSUFFICIENT_QUOTA\x10\x06\x12/\n+SUBCODE_EMAIL_DOMAIN_NOT_IN_ALLOWED_DOMAINS\x10\x07\x12&\n\"SUBCODE_TRIAL_ACCOUNT_USER_BLOCKED\x10\x08\x12(\n$SUBCODE_UNLIMITED_PLAN_EXCEEDS_QUOTA\x10\t*t\n\rJobStatusType\x12\x0b\n\x07Invalid\x10\x00\x12\n\n\x06\x41\x63tive\x10\x01\x12\r\n\tCompleted\x10\x02\x12\n\n\x06\x46\x61iled\x10\x03\x12\r\n\tSuspended\x10\x04\x12\x10\n\x0cPendingRetry\x10\x05\x12\x0e\n\nSuspending\x10\x06*\x80\x01\n\x10Vector3Component\x12\x1e\n\x1aVECTOR_3_COMPONENT_INVALID\x10\x00\x12\x18\n\x14VECTOR_3_COMPONENT_X\x10\x01\x12\x18\n\x14VECTOR_3_COMPONENT_Y\x10\x02\x12\x18\n\x14VECTOR_3_COMPONENT_Z\x10\x03\x42#Z!luminarycloud.com/core/proto/baseb\x06proto3')
|
|
23
23
|
|
|
24
24
|
_SUBCODE = DESCRIPTOR.enum_types_by_name['Subcode']
|
|
25
25
|
Subcode = enum_type_wrapper.EnumTypeWrapper(_SUBCODE)
|
|
@@ -36,6 +36,7 @@ SUBCODE_INCOMPATIBLE_CLIENT = 5
|
|
|
36
36
|
SUBCODE_INSUFFICIENT_QUOTA = 6
|
|
37
37
|
SUBCODE_EMAIL_DOMAIN_NOT_IN_ALLOWED_DOMAINS = 7
|
|
38
38
|
SUBCODE_TRIAL_ACCOUNT_USER_BLOCKED = 8
|
|
39
|
+
SUBCODE_UNLIMITED_PLAN_EXCEEDS_QUOTA = 9
|
|
39
40
|
Invalid = 0
|
|
40
41
|
Active = 1
|
|
41
42
|
Completed = 2
|
|
@@ -198,11 +199,11 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
198
199
|
DESCRIPTOR._options = None
|
|
199
200
|
DESCRIPTOR._serialized_options = b'Z!luminarycloud.com/core/proto/base'
|
|
200
201
|
_SUBCODE._serialized_start=1829
|
|
201
|
-
_SUBCODE._serialized_end=
|
|
202
|
-
_JOBSTATUSTYPE._serialized_start=
|
|
203
|
-
_JOBSTATUSTYPE._serialized_end=
|
|
204
|
-
_VECTOR3COMPONENT._serialized_start=
|
|
205
|
-
_VECTOR3COMPONENT._serialized_end=
|
|
202
|
+
_SUBCODE._serialized_end=2196
|
|
203
|
+
_JOBSTATUSTYPE._serialized_start=2198
|
|
204
|
+
_JOBSTATUSTYPE._serialized_end=2314
|
|
205
|
+
_VECTOR3COMPONENT._serialized_start=2317
|
|
206
|
+
_VECTOR3COMPONENT._serialized_end=2445
|
|
206
207
|
_CHECKSUM._serialized_start=169
|
|
207
208
|
_CHECKSUM._serialized_end=216
|
|
208
209
|
_STATUS._serialized_start=218
|
|
@@ -48,6 +48,8 @@ class _SubcodeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTy
|
|
|
48
48
|
"""Set if the user's email domain is not in the list of allowed domains."""
|
|
49
49
|
SUBCODE_TRIAL_ACCOUNT_USER_BLOCKED: _Subcode.ValueType # 8
|
|
50
50
|
"""Set if a trial user attempts to access restricted features."""
|
|
51
|
+
SUBCODE_UNLIMITED_PLAN_EXCEEDS_QUOTA: _Subcode.ValueType # 9
|
|
52
|
+
"""Set if unlimited plan user exceeds quota for a given resource."""
|
|
51
53
|
|
|
52
54
|
class Subcode(_Subcode, metaclass=_SubcodeEnumTypeWrapper):
|
|
53
55
|
"""Subcode is stored in StatusPayload.subcode. It classifies the error type in
|
|
@@ -75,6 +77,8 @@ SUBCODE_EMAIL_DOMAIN_NOT_IN_ALLOWED_DOMAINS: Subcode.ValueType # 7
|
|
|
75
77
|
"""Set if the user's email domain is not in the list of allowed domains."""
|
|
76
78
|
SUBCODE_TRIAL_ACCOUNT_USER_BLOCKED: Subcode.ValueType # 8
|
|
77
79
|
"""Set if a trial user attempts to access restricted features."""
|
|
80
|
+
SUBCODE_UNLIMITED_PLAN_EXCEEDS_QUOTA: Subcode.ValueType # 9
|
|
81
|
+
"""Set if unlimited plan user exceeds quota for a given resource."""
|
|
78
82
|
global___Subcode = Subcode
|
|
79
83
|
|
|
80
84
|
class _JobStatusType:
|