luminarycloud 0.15.0__py3-none-any.whl → 0.15.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/_client/client.py +1 -0
- luminarycloud/_proto/api/v0/luminarycloud/named_variable_set/named_variable_set_pb2.py +50 -28
- luminarycloud/_proto/api/v0/luminarycloud/named_variable_set/named_variable_set_pb2.pyi +38 -2
- luminarycloud/_proto/api/v0/luminarycloud/named_variable_set/named_variable_set_pb2_grpc.py +34 -0
- luminarycloud/_proto/api/v0/luminarycloud/named_variable_set/named_variable_set_pb2_grpc.pyi +12 -0
- luminarycloud/_proto/assistant/assistant_pb2.py +74 -74
- luminarycloud/_proto/assistant/assistant_pb2.pyi +22 -30
- luminarycloud/_proto/parametricworker/parametricworker_pb2.py +59 -26
- luminarycloud/_proto/parametricworker/parametricworker_pb2.pyi +58 -3
- luminarycloud/feature_modification.py +909 -0
- luminarycloud/meshing/mesh_generation_params.py +1 -1
- luminarycloud/meshing/sizing_strategy/sizing_strategies.py +2 -2
- luminarycloud/named_variable_set.py +10 -4
- luminarycloud/simulation_template.py +4 -4
- luminarycloud/types/adfloat.py +19 -1
- luminarycloud/vis/interactive_scene.py +30 -6
- luminarycloud/vis/visualization.py +57 -0
- {luminarycloud-0.15.0.dist-info → luminarycloud-0.15.1.dist-info}/METADATA +1 -1
- {luminarycloud-0.15.0.dist-info → luminarycloud-0.15.1.dist-info}/RECORD +20 -19
- {luminarycloud-0.15.0.dist-info → luminarycloud-0.15.1.dist-info}/WHEEL +0 -0
luminarycloud/_client/client.py
CHANGED
|
@@ -202,6 +202,7 @@ class Client(
|
|
|
202
202
|
OutputDefinitionServiceStub.__init__(self, self._channel)
|
|
203
203
|
StoppingConditionServiceStub.__init__(self, self._channel)
|
|
204
204
|
PhysicsAiServiceStub.__init__(self, self._channel)
|
|
205
|
+
NamedVariableSetServiceStub.__init__(self, self._channel)
|
|
205
206
|
for name, value in self.__dict__.items():
|
|
206
207
|
if isinstance(value, grpc.UnaryUnaryMultiCallable):
|
|
207
208
|
setattr(self, name, rpc_error(value))
|
|
@@ -19,7 +19,7 @@ from luminarycloud._proto.base import base_pb2 as proto_dot_base_dot_base__pb2
|
|
|
19
19
|
from luminarycloud._proto.ratelimit import ratelimit_pb2 as proto_dot_ratelimit_dot_ratelimit__pb2
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\nFproto/api/v0/luminarycloud/named_variable_set/named_variable_set.proto\x12\x36luminary.proto.api.v0.luminarycloud.named_variable_set\x1a\x1cgoogle/api/annotations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x15proto/base/base.proto\x1a\x1fproto/ratelimit/ratelimit.proto\"\
|
|
22
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\nFproto/api/v0/luminarycloud/named_variable_set/named_variable_set.proto\x12\x36luminary.proto.api.v0.luminarycloud.named_variable_set\x1a\x1cgoogle/api/annotations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x15proto/base/base.proto\x1a\x1fproto/ratelimit/ratelimit.proto\"\x86\x03\n\x10NamedVariableSet\x12\n\n\x02id\x18\x01 \x01(\t\x12\x12\n\nproject_id\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12u\n\x0fnamed_variables\x18\x04 \x03(\x0b\x32\\.luminary.proto.api.v0.luminarycloud.named_variable_set.NamedVariableSet.NamedVariablesEntry\x12/\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\nversion_id\x18\x07 \x01(\t\x1aW\n\x13NamedVariablesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12/\n\x05value\x18\x02 \x01(\x0b\x32 .luminary.proto.base.AdFloatType:\x02\x38\x01\"(\n\x1aGetNamedVariableSetRequest\x12\n\n\x02id\x18\x01 \x01(\t\"\x83\x01\n\x1bGetNamedVariableSetResponse\x12\x64\n\x12named_variable_set\x18\x01 \x01(\x0b\x32H.luminary.proto.api.v0.luminarycloud.named_variable_set.NamedVariableSet\"2\n\x1cListNamedVariableSetsRequest\x12\x12\n\nproject_id\x18\x01 \x01(\t\"\x86\x01\n\x1dListNamedVariableSetsResponse\x12\x65\n\x13named_variable_sets\x18\x01 \x03(\x0b\x32H.luminary.proto.api.v0.luminarycloud.named_variable_set.NamedVariableSet\"\xb3\x02\n\x1d\x43reateNamedVariableSetRequest\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x82\x01\n\x0fnamed_variables\x18\x03 \x03(\x0b\x32i.luminary.proto.api.v0.luminarycloud.named_variable_set.CreateNamedVariableSetRequest.NamedVariablesEntry\x12\x12\n\nrequest_id\x18\x04 \x01(\t\x1aW\n\x13NamedVariablesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12/\n\x05value\x18\x02 \x01(\x0b\x32 .luminary.proto.base.AdFloatType:\x02\x38\x01\"\x86\x01\n\x1e\x43reateNamedVariableSetResponse\x12\x64\n\x12named_variable_set\x18\x01 \x01(\x0b\x32H.luminary.proto.api.v0.luminarycloud.named_variable_set.NamedVariableSet\"+\n\x1d\x44\x65leteNamedVariableSetRequest\x12\n\n\x02id\x18\x01 \x01(\t\"\xb9\x02\n\x1dUpdateNamedVariableSetRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\x04name\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x82\x01\n\x0fnamed_variables\x18\x03 \x03(\x0b\x32i.luminary.proto.api.v0.luminarycloud.named_variable_set.UpdateNamedVariableSetRequest.NamedVariablesEntry\x12\x12\n\nrequest_id\x18\x04 \x01(\t\x1aW\n\x13NamedVariablesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12/\n\x05value\x18\x02 \x01(\x0b\x32 .luminary.proto.base.AdFloatType:\x02\x38\x01\x42\x07\n\x05_name\"\x86\x01\n\x1eUpdateNamedVariableSetResponse\x12\x64\n\x12named_variable_set\x18\x01 \x01(\x0b\x32H.luminary.proto.api.v0.luminarycloud.named_variable_set.NamedVariableSet\"/\n!GetNamedVariableSetVersionRequest\x12\n\n\x02id\x18\x01 \x01(\t\"\x8a\x01\n\"GetNamedVariableSetVersionResponse\x12\x64\n\x12named_variable_set\x18\x01 \x01(\x0b\x32H.luminary.proto.api.v0.luminarycloud.named_variable_set.NamedVariableSet2\xaf\x0b\n\x17NamedVariableSetService\x12\xe3\x01\n\x13GetNamedVariableSet\x12R.luminary.proto.api.v0.luminarycloud.named_variable_set.GetNamedVariableSetRequest\x1aS.luminary.proto.api.v0.luminarycloud.named_variable_set.GetNamedVariableSetResponse\"#\x82\xd3\xe4\x93\x02\x1d\x12\x1b/v0/named_variable_set/{id}\x12\xfb\x01\n\x15ListNamedVariableSets\x12T.luminary.proto.api.v0.luminarycloud.named_variable_set.ListNamedVariableSetsRequest\x1aU.luminary.proto.api.v0.luminarycloud.named_variable_set.ListNamedVariableSetsResponse\"5\x82\xd3\xe4\x93\x02/\x12-/v0/projects/{project_id}/named_variable_sets\x12\x8b\x02\n\x16\x43reateNamedVariableSet\x12U.luminary.proto.api.v0.luminarycloud.named_variable_set.CreateNamedVariableSetRequest\x1aV.luminary.proto.api.v0.luminarycloud.named_variable_set.CreateNamedVariableSetResponse\"B\x82\xd3\xe4\x93\x02\x32\"-/v0/projects/{project_id}/named_variable_sets:\x01*\x8a\xb5\x18\x06\x08\x64\x12\x02\x08\x01\x12\xac\x01\n\x16\x44\x65leteNamedVariableSet\x12U.luminary.proto.api.v0.luminarycloud.named_variable_set.DeleteNamedVariableSetRequest\x1a\x16.google.protobuf.Empty\"#\x82\xd3\xe4\x93\x02\x1d*\x1b/v0/named_variable_set/{id}\x12\xef\x01\n\x16UpdateNamedVariableSet\x12U.luminary.proto.api.v0.luminarycloud.named_variable_set.UpdateNamedVariableSetRequest\x1aV.luminary.proto.api.v0.luminarycloud.named_variable_set.UpdateNamedVariableSetResponse\"&\x82\xd3\xe4\x93\x02 \x1a\x1b/v0/named_variable_set/{id}:\x01*\x12\x80\x02\n\x1aGetNamedVariableSetVersion\x12Y.luminary.proto.api.v0.luminarycloud.named_variable_set.GetNamedVariableSetVersionRequest\x1aZ.luminary.proto.api.v0.luminarycloud.named_variable_set.GetNamedVariableSetVersionResponse\"+\x82\xd3\xe4\x93\x02%\x12#/v0/named_variable_set_version/{id}BFZDluminarycloud.com/core/proto/api/v0/luminarycloud/named_variable_setb\x06proto3')
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
@@ -36,6 +36,8 @@ _DELETENAMEDVARIABLESETREQUEST = DESCRIPTOR.message_types_by_name['DeleteNamedVa
|
|
|
36
36
|
_UPDATENAMEDVARIABLESETREQUEST = DESCRIPTOR.message_types_by_name['UpdateNamedVariableSetRequest']
|
|
37
37
|
_UPDATENAMEDVARIABLESETREQUEST_NAMEDVARIABLESENTRY = _UPDATENAMEDVARIABLESETREQUEST.nested_types_by_name['NamedVariablesEntry']
|
|
38
38
|
_UPDATENAMEDVARIABLESETRESPONSE = DESCRIPTOR.message_types_by_name['UpdateNamedVariableSetResponse']
|
|
39
|
+
_GETNAMEDVARIABLESETVERSIONREQUEST = DESCRIPTOR.message_types_by_name['GetNamedVariableSetVersionRequest']
|
|
40
|
+
_GETNAMEDVARIABLESETVERSIONRESPONSE = DESCRIPTOR.message_types_by_name['GetNamedVariableSetVersionResponse']
|
|
39
41
|
NamedVariableSet = _reflection.GeneratedProtocolMessageType('NamedVariableSet', (_message.Message,), {
|
|
40
42
|
|
|
41
43
|
'NamedVariablesEntry' : _reflection.GeneratedProtocolMessageType('NamedVariablesEntry', (_message.Message,), {
|
|
@@ -130,6 +132,20 @@ UpdateNamedVariableSetResponse = _reflection.GeneratedProtocolMessageType('Updat
|
|
|
130
132
|
})
|
|
131
133
|
_sym_db.RegisterMessage(UpdateNamedVariableSetResponse)
|
|
132
134
|
|
|
135
|
+
GetNamedVariableSetVersionRequest = _reflection.GeneratedProtocolMessageType('GetNamedVariableSetVersionRequest', (_message.Message,), {
|
|
136
|
+
'DESCRIPTOR' : _GETNAMEDVARIABLESETVERSIONREQUEST,
|
|
137
|
+
'__module__' : 'proto.api.v0.luminarycloud.named_variable_set.named_variable_set_pb2'
|
|
138
|
+
# @@protoc_insertion_point(class_scope:luminary.proto.api.v0.luminarycloud.named_variable_set.GetNamedVariableSetVersionRequest)
|
|
139
|
+
})
|
|
140
|
+
_sym_db.RegisterMessage(GetNamedVariableSetVersionRequest)
|
|
141
|
+
|
|
142
|
+
GetNamedVariableSetVersionResponse = _reflection.GeneratedProtocolMessageType('GetNamedVariableSetVersionResponse', (_message.Message,), {
|
|
143
|
+
'DESCRIPTOR' : _GETNAMEDVARIABLESETVERSIONRESPONSE,
|
|
144
|
+
'__module__' : 'proto.api.v0.luminarycloud.named_variable_set.named_variable_set_pb2'
|
|
145
|
+
# @@protoc_insertion_point(class_scope:luminary.proto.api.v0.luminarycloud.named_variable_set.GetNamedVariableSetVersionResponse)
|
|
146
|
+
})
|
|
147
|
+
_sym_db.RegisterMessage(GetNamedVariableSetVersionResponse)
|
|
148
|
+
|
|
133
149
|
_NAMEDVARIABLESETSERVICE = DESCRIPTOR.services_by_name['NamedVariableSetService']
|
|
134
150
|
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
135
151
|
|
|
@@ -151,32 +167,38 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
151
167
|
_NAMEDVARIABLESETSERVICE.methods_by_name['DeleteNamedVariableSet']._serialized_options = b'\202\323\344\223\002\035*\033/v0/named_variable_set/{id}'
|
|
152
168
|
_NAMEDVARIABLESETSERVICE.methods_by_name['UpdateNamedVariableSet']._options = None
|
|
153
169
|
_NAMEDVARIABLESETSERVICE.methods_by_name['UpdateNamedVariableSet']._serialized_options = b'\202\323\344\223\002 \032\033/v0/named_variable_set/{id}:\001*'
|
|
170
|
+
_NAMEDVARIABLESETSERVICE.methods_by_name['GetNamedVariableSetVersion']._options = None
|
|
171
|
+
_NAMEDVARIABLESETSERVICE.methods_by_name['GetNamedVariableSetVersion']._serialized_options = b'\202\323\344\223\002%\022#/v0/named_variable_set_version/{id}'
|
|
154
172
|
_NAMEDVARIABLESET._serialized_start=279
|
|
155
|
-
_NAMEDVARIABLESET._serialized_end=
|
|
156
|
-
_NAMEDVARIABLESET_NAMEDVARIABLESENTRY._serialized_start=
|
|
157
|
-
_NAMEDVARIABLESET_NAMEDVARIABLESENTRY._serialized_end=
|
|
158
|
-
_GETNAMEDVARIABLESETREQUEST._serialized_start=
|
|
159
|
-
_GETNAMEDVARIABLESETREQUEST._serialized_end=
|
|
160
|
-
_GETNAMEDVARIABLESETRESPONSE._serialized_start=
|
|
161
|
-
_GETNAMEDVARIABLESETRESPONSE._serialized_end=
|
|
162
|
-
_LISTNAMEDVARIABLESETSREQUEST._serialized_start=
|
|
163
|
-
_LISTNAMEDVARIABLESETSREQUEST._serialized_end=
|
|
164
|
-
_LISTNAMEDVARIABLESETSRESPONSE._serialized_start=
|
|
165
|
-
_LISTNAMEDVARIABLESETSRESPONSE._serialized_end=
|
|
166
|
-
_CREATENAMEDVARIABLESETREQUEST._serialized_start=
|
|
167
|
-
_CREATENAMEDVARIABLESETREQUEST._serialized_end=
|
|
168
|
-
_CREATENAMEDVARIABLESETREQUEST_NAMEDVARIABLESENTRY._serialized_start=
|
|
169
|
-
_CREATENAMEDVARIABLESETREQUEST_NAMEDVARIABLESENTRY._serialized_end=
|
|
170
|
-
_CREATENAMEDVARIABLESETRESPONSE._serialized_start=
|
|
171
|
-
_CREATENAMEDVARIABLESETRESPONSE._serialized_end=
|
|
172
|
-
_DELETENAMEDVARIABLESETREQUEST._serialized_start=
|
|
173
|
-
_DELETENAMEDVARIABLESETREQUEST._serialized_end=
|
|
174
|
-
_UPDATENAMEDVARIABLESETREQUEST._serialized_start=
|
|
175
|
-
_UPDATENAMEDVARIABLESETREQUEST._serialized_end=
|
|
176
|
-
_UPDATENAMEDVARIABLESETREQUEST_NAMEDVARIABLESENTRY._serialized_start=
|
|
177
|
-
_UPDATENAMEDVARIABLESETREQUEST_NAMEDVARIABLESENTRY._serialized_end=
|
|
178
|
-
_UPDATENAMEDVARIABLESETRESPONSE._serialized_start=
|
|
179
|
-
_UPDATENAMEDVARIABLESETRESPONSE._serialized_end=
|
|
180
|
-
|
|
181
|
-
|
|
173
|
+
_NAMEDVARIABLESET._serialized_end=669
|
|
174
|
+
_NAMEDVARIABLESET_NAMEDVARIABLESENTRY._serialized_start=582
|
|
175
|
+
_NAMEDVARIABLESET_NAMEDVARIABLESENTRY._serialized_end=669
|
|
176
|
+
_GETNAMEDVARIABLESETREQUEST._serialized_start=671
|
|
177
|
+
_GETNAMEDVARIABLESETREQUEST._serialized_end=711
|
|
178
|
+
_GETNAMEDVARIABLESETRESPONSE._serialized_start=714
|
|
179
|
+
_GETNAMEDVARIABLESETRESPONSE._serialized_end=845
|
|
180
|
+
_LISTNAMEDVARIABLESETSREQUEST._serialized_start=847
|
|
181
|
+
_LISTNAMEDVARIABLESETSREQUEST._serialized_end=897
|
|
182
|
+
_LISTNAMEDVARIABLESETSRESPONSE._serialized_start=900
|
|
183
|
+
_LISTNAMEDVARIABLESETSRESPONSE._serialized_end=1034
|
|
184
|
+
_CREATENAMEDVARIABLESETREQUEST._serialized_start=1037
|
|
185
|
+
_CREATENAMEDVARIABLESETREQUEST._serialized_end=1344
|
|
186
|
+
_CREATENAMEDVARIABLESETREQUEST_NAMEDVARIABLESENTRY._serialized_start=582
|
|
187
|
+
_CREATENAMEDVARIABLESETREQUEST_NAMEDVARIABLESENTRY._serialized_end=669
|
|
188
|
+
_CREATENAMEDVARIABLESETRESPONSE._serialized_start=1347
|
|
189
|
+
_CREATENAMEDVARIABLESETRESPONSE._serialized_end=1481
|
|
190
|
+
_DELETENAMEDVARIABLESETREQUEST._serialized_start=1483
|
|
191
|
+
_DELETENAMEDVARIABLESETREQUEST._serialized_end=1526
|
|
192
|
+
_UPDATENAMEDVARIABLESETREQUEST._serialized_start=1529
|
|
193
|
+
_UPDATENAMEDVARIABLESETREQUEST._serialized_end=1842
|
|
194
|
+
_UPDATENAMEDVARIABLESETREQUEST_NAMEDVARIABLESENTRY._serialized_start=582
|
|
195
|
+
_UPDATENAMEDVARIABLESETREQUEST_NAMEDVARIABLESENTRY._serialized_end=669
|
|
196
|
+
_UPDATENAMEDVARIABLESETRESPONSE._serialized_start=1845
|
|
197
|
+
_UPDATENAMEDVARIABLESETRESPONSE._serialized_end=1979
|
|
198
|
+
_GETNAMEDVARIABLESETVERSIONREQUEST._serialized_start=1981
|
|
199
|
+
_GETNAMEDVARIABLESETVERSIONREQUEST._serialized_end=2028
|
|
200
|
+
_GETNAMEDVARIABLESETVERSIONRESPONSE._serialized_start=2031
|
|
201
|
+
_GETNAMEDVARIABLESETVERSIONRESPONSE._serialized_end=2169
|
|
202
|
+
_NAMEDVARIABLESETSERVICE._serialized_start=2172
|
|
203
|
+
_NAMEDVARIABLESETSERVICE._serialized_end=3627
|
|
182
204
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -49,6 +49,7 @@ class NamedVariableSet(google.protobuf.message.Message):
|
|
|
49
49
|
NAMED_VARIABLES_FIELD_NUMBER: builtins.int
|
|
50
50
|
CREATE_TIME_FIELD_NUMBER: builtins.int
|
|
51
51
|
UPDATE_TIME_FIELD_NUMBER: builtins.int
|
|
52
|
+
VERSION_ID_FIELD_NUMBER: builtins.int
|
|
52
53
|
id: builtins.str
|
|
53
54
|
project_id: builtins.str
|
|
54
55
|
name: builtins.str
|
|
@@ -58,6 +59,7 @@ class NamedVariableSet(google.protobuf.message.Message):
|
|
|
58
59
|
def create_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
|
|
59
60
|
@property
|
|
60
61
|
def update_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
|
|
62
|
+
version_id: builtins.str
|
|
61
63
|
def __init__(
|
|
62
64
|
self,
|
|
63
65
|
*,
|
|
@@ -67,9 +69,10 @@ class NamedVariableSet(google.protobuf.message.Message):
|
|
|
67
69
|
named_variables: collections.abc.Mapping[builtins.str, luminarycloud._proto.base.base_pb2.AdFloatType] | None = ...,
|
|
68
70
|
create_time: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
69
71
|
update_time: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
72
|
+
version_id: builtins.str = ...,
|
|
70
73
|
) -> None: ...
|
|
71
74
|
def HasField(self, field_name: typing_extensions.Literal["create_time", b"create_time", "update_time", b"update_time"]) -> builtins.bool: ...
|
|
72
|
-
def ClearField(self, field_name: typing_extensions.Literal["create_time", b"create_time", "id", b"id", "name", b"name", "named_variables", b"named_variables", "project_id", b"project_id", "update_time", b"update_time"]) -> None: ...
|
|
75
|
+
def ClearField(self, field_name: typing_extensions.Literal["create_time", b"create_time", "id", b"id", "name", b"name", "named_variables", b"named_variables", "project_id", b"project_id", "update_time", b"update_time", "version_id", b"version_id"]) -> None: ...
|
|
73
76
|
|
|
74
77
|
global___NamedVariableSet = NamedVariableSet
|
|
75
78
|
|
|
@@ -226,19 +229,22 @@ class UpdateNamedVariableSetRequest(google.protobuf.message.Message):
|
|
|
226
229
|
ID_FIELD_NUMBER: builtins.int
|
|
227
230
|
NAME_FIELD_NUMBER: builtins.int
|
|
228
231
|
NAMED_VARIABLES_FIELD_NUMBER: builtins.int
|
|
232
|
+
REQUEST_ID_FIELD_NUMBER: builtins.int
|
|
229
233
|
id: builtins.str
|
|
230
234
|
name: builtins.str
|
|
231
235
|
@property
|
|
232
236
|
def named_variables(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, luminarycloud._proto.base.base_pb2.AdFloatType]: ...
|
|
237
|
+
request_id: builtins.str
|
|
233
238
|
def __init__(
|
|
234
239
|
self,
|
|
235
240
|
*,
|
|
236
241
|
id: builtins.str = ...,
|
|
237
242
|
name: builtins.str | None = ...,
|
|
238
243
|
named_variables: collections.abc.Mapping[builtins.str, luminarycloud._proto.base.base_pb2.AdFloatType] | None = ...,
|
|
244
|
+
request_id: builtins.str = ...,
|
|
239
245
|
) -> None: ...
|
|
240
246
|
def HasField(self, field_name: typing_extensions.Literal["_name", b"_name", "name", b"name"]) -> builtins.bool: ...
|
|
241
|
-
def ClearField(self, field_name: typing_extensions.Literal["_name", b"_name", "id", b"id", "name", b"name", "named_variables", b"named_variables"]) -> None: ...
|
|
247
|
+
def ClearField(self, field_name: typing_extensions.Literal["_name", b"_name", "id", b"id", "name", b"name", "named_variables", b"named_variables", "request_id", b"request_id"]) -> None: ...
|
|
242
248
|
def WhichOneof(self, oneof_group: typing_extensions.Literal["_name", b"_name"]) -> typing_extensions.Literal["name"] | None: ...
|
|
243
249
|
|
|
244
250
|
global___UpdateNamedVariableSetRequest = UpdateNamedVariableSetRequest
|
|
@@ -258,3 +264,33 @@ class UpdateNamedVariableSetResponse(google.protobuf.message.Message):
|
|
|
258
264
|
def ClearField(self, field_name: typing_extensions.Literal["named_variable_set", b"named_variable_set"]) -> None: ...
|
|
259
265
|
|
|
260
266
|
global___UpdateNamedVariableSetResponse = UpdateNamedVariableSetResponse
|
|
267
|
+
|
|
268
|
+
class GetNamedVariableSetVersionRequest(google.protobuf.message.Message):
|
|
269
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
270
|
+
|
|
271
|
+
ID_FIELD_NUMBER: builtins.int
|
|
272
|
+
id: builtins.str
|
|
273
|
+
def __init__(
|
|
274
|
+
self,
|
|
275
|
+
*,
|
|
276
|
+
id: builtins.str = ...,
|
|
277
|
+
) -> None: ...
|
|
278
|
+
def ClearField(self, field_name: typing_extensions.Literal["id", b"id"]) -> None: ...
|
|
279
|
+
|
|
280
|
+
global___GetNamedVariableSetVersionRequest = GetNamedVariableSetVersionRequest
|
|
281
|
+
|
|
282
|
+
class GetNamedVariableSetVersionResponse(google.protobuf.message.Message):
|
|
283
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
284
|
+
|
|
285
|
+
NAMED_VARIABLE_SET_FIELD_NUMBER: builtins.int
|
|
286
|
+
@property
|
|
287
|
+
def named_variable_set(self) -> global___NamedVariableSet: ...
|
|
288
|
+
def __init__(
|
|
289
|
+
self,
|
|
290
|
+
*,
|
|
291
|
+
named_variable_set: global___NamedVariableSet | None = ...,
|
|
292
|
+
) -> None: ...
|
|
293
|
+
def HasField(self, field_name: typing_extensions.Literal["named_variable_set", b"named_variable_set"]) -> builtins.bool: ...
|
|
294
|
+
def ClearField(self, field_name: typing_extensions.Literal["named_variable_set", b"named_variable_set"]) -> None: ...
|
|
295
|
+
|
|
296
|
+
global___GetNamedVariableSetVersionResponse = GetNamedVariableSetVersionResponse
|
|
@@ -40,6 +40,11 @@ class NamedVariableSetServiceStub(object):
|
|
|
40
40
|
request_serializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_named__variable__set_dot_named__variable__set__pb2.UpdateNamedVariableSetRequest.SerializeToString,
|
|
41
41
|
response_deserializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_named__variable__set_dot_named__variable__set__pb2.UpdateNamedVariableSetResponse.FromString,
|
|
42
42
|
)
|
|
43
|
+
self.GetNamedVariableSetVersion = channel.unary_unary(
|
|
44
|
+
'/luminary.proto.api.v0.luminarycloud.named_variable_set.NamedVariableSetService/GetNamedVariableSetVersion',
|
|
45
|
+
request_serializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_named__variable__set_dot_named__variable__set__pb2.GetNamedVariableSetVersionRequest.SerializeToString,
|
|
46
|
+
response_deserializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_named__variable__set_dot_named__variable__set__pb2.GetNamedVariableSetVersionResponse.FromString,
|
|
47
|
+
)
|
|
43
48
|
|
|
44
49
|
|
|
45
50
|
class NamedVariableSetServiceServicer(object):
|
|
@@ -80,6 +85,13 @@ class NamedVariableSetServiceServicer(object):
|
|
|
80
85
|
context.set_details('Method not implemented!')
|
|
81
86
|
raise NotImplementedError('Method not implemented!')
|
|
82
87
|
|
|
88
|
+
def GetNamedVariableSetVersion(self, request, context):
|
|
89
|
+
"""Get a named variable set version.
|
|
90
|
+
"""
|
|
91
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
92
|
+
context.set_details('Method not implemented!')
|
|
93
|
+
raise NotImplementedError('Method not implemented!')
|
|
94
|
+
|
|
83
95
|
|
|
84
96
|
def add_NamedVariableSetServiceServicer_to_server(servicer, server):
|
|
85
97
|
rpc_method_handlers = {
|
|
@@ -108,6 +120,11 @@ def add_NamedVariableSetServiceServicer_to_server(servicer, server):
|
|
|
108
120
|
request_deserializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_named__variable__set_dot_named__variable__set__pb2.UpdateNamedVariableSetRequest.FromString,
|
|
109
121
|
response_serializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_named__variable__set_dot_named__variable__set__pb2.UpdateNamedVariableSetResponse.SerializeToString,
|
|
110
122
|
),
|
|
123
|
+
'GetNamedVariableSetVersion': grpc.unary_unary_rpc_method_handler(
|
|
124
|
+
servicer.GetNamedVariableSetVersion,
|
|
125
|
+
request_deserializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_named__variable__set_dot_named__variable__set__pb2.GetNamedVariableSetVersionRequest.FromString,
|
|
126
|
+
response_serializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_named__variable__set_dot_named__variable__set__pb2.GetNamedVariableSetVersionResponse.SerializeToString,
|
|
127
|
+
),
|
|
111
128
|
}
|
|
112
129
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
113
130
|
'luminary.proto.api.v0.luminarycloud.named_variable_set.NamedVariableSetService', rpc_method_handlers)
|
|
@@ -202,3 +219,20 @@ class NamedVariableSetService(object):
|
|
|
202
219
|
proto_dot_api_dot_v0_dot_luminarycloud_dot_named__variable__set_dot_named__variable__set__pb2.UpdateNamedVariableSetResponse.FromString,
|
|
203
220
|
options, channel_credentials,
|
|
204
221
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
222
|
+
|
|
223
|
+
@staticmethod
|
|
224
|
+
def GetNamedVariableSetVersion(request,
|
|
225
|
+
target,
|
|
226
|
+
options=(),
|
|
227
|
+
channel_credentials=None,
|
|
228
|
+
call_credentials=None,
|
|
229
|
+
insecure=False,
|
|
230
|
+
compression=None,
|
|
231
|
+
wait_for_ready=None,
|
|
232
|
+
timeout=None,
|
|
233
|
+
metadata=None):
|
|
234
|
+
return grpc.experimental.unary_unary(request, target, '/luminary.proto.api.v0.luminarycloud.named_variable_set.NamedVariableSetService/GetNamedVariableSetVersion',
|
|
235
|
+
proto_dot_api_dot_v0_dot_luminarycloud_dot_named__variable__set_dot_named__variable__set__pb2.GetNamedVariableSetVersionRequest.SerializeToString,
|
|
236
|
+
proto_dot_api_dot_v0_dot_luminarycloud_dot_named__variable__set_dot_named__variable__set__pb2.GetNamedVariableSetVersionResponse.FromString,
|
|
237
|
+
options, channel_credentials,
|
|
238
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
luminarycloud/_proto/api/v0/luminarycloud/named_variable_set/named_variable_set_pb2_grpc.pyi
CHANGED
|
@@ -34,6 +34,11 @@ class NamedVariableSetServiceStub:
|
|
|
34
34
|
luminarycloud._proto.api.v0.luminarycloud.named_variable_set.named_variable_set_pb2.UpdateNamedVariableSetResponse,
|
|
35
35
|
]
|
|
36
36
|
"""Update a named variable set."""
|
|
37
|
+
GetNamedVariableSetVersion: grpc.UnaryUnaryMultiCallable[
|
|
38
|
+
luminarycloud._proto.api.v0.luminarycloud.named_variable_set.named_variable_set_pb2.GetNamedVariableSetVersionRequest,
|
|
39
|
+
luminarycloud._proto.api.v0.luminarycloud.named_variable_set.named_variable_set_pb2.GetNamedVariableSetVersionResponse,
|
|
40
|
+
]
|
|
41
|
+
"""Get a named variable set version."""
|
|
37
42
|
|
|
38
43
|
class NamedVariableSetServiceServicer(metaclass=abc.ABCMeta):
|
|
39
44
|
@abc.abstractmethod
|
|
@@ -71,5 +76,12 @@ class NamedVariableSetServiceServicer(metaclass=abc.ABCMeta):
|
|
|
71
76
|
context: grpc.ServicerContext,
|
|
72
77
|
) -> luminarycloud._proto.api.v0.luminarycloud.named_variable_set.named_variable_set_pb2.UpdateNamedVariableSetResponse:
|
|
73
78
|
"""Update a named variable set."""
|
|
79
|
+
@abc.abstractmethod
|
|
80
|
+
def GetNamedVariableSetVersion(
|
|
81
|
+
self,
|
|
82
|
+
request: luminarycloud._proto.api.v0.luminarycloud.named_variable_set.named_variable_set_pb2.GetNamedVariableSetVersionRequest,
|
|
83
|
+
context: grpc.ServicerContext,
|
|
84
|
+
) -> luminarycloud._proto.api.v0.luminarycloud.named_variable_set.named_variable_set_pb2.GetNamedVariableSetVersionResponse:
|
|
85
|
+
"""Get a named variable set version."""
|
|
74
86
|
|
|
75
87
|
def add_NamedVariableSetServiceServicer_to_server(servicer: NamedVariableSetServiceServicer, server: grpc.Server) -> None: ...
|
|
@@ -17,7 +17,7 @@ from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
|
|
|
17
17
|
from luminarycloud._proto.client import simulation_pb2 as proto_dot_client_dot_simulation__pb2
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fproto/assistant/assistant.proto\x12\x18luminary.proto.assistant\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1dproto/client/simulation.proto\"9\n\x16GetChatSessionsRequest\x12\r\n\x05scope\x18\x02 \x01(\tJ\x04\x08\x01\x10\x02R\nproject_id\".\n\x17GetChatSessionsResponse\x12\x13\n\x0bsession_ids\x18\x01 \x03(\t\"8\n\x15NewChatSessionRequest\x12\r\n\x05scope\x18\x02 \x01(\tJ\x04\x08\x01\x10\x02R\nproject_id\",\n\x16NewChatSessionResponse\x12\x12\n\nsession_id\x18\x01 \x01(\t\"\
|
|
20
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fproto/assistant/assistant.proto\x12\x18luminary.proto.assistant\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1dproto/client/simulation.proto\"9\n\x16GetChatSessionsRequest\x12\r\n\x05scope\x18\x02 \x01(\tJ\x04\x08\x01\x10\x02R\nproject_id\".\n\x17GetChatSessionsResponse\x12\x13\n\x0bsession_ids\x18\x01 \x03(\t\"8\n\x15NewChatSessionRequest\x12\r\n\x05scope\x18\x02 \x01(\tJ\x04\x08\x01\x10\x02R\nproject_id\",\n\x16NewChatSessionResponse\x12\x12\n\nsession_id\x18\x01 \x01(\t\"\x9a\x02\n\x12NotebookOutputItem\x12\x38\n\x06stream\x18\x01 \x01(\x0b\x32&.luminary.proto.assistant.StreamOutputH\x00\x12=\n\x0c\x64isplay_data\x18\x02 \x01(\x0b\x32%.luminary.proto.assistant.DisplayDataH\x00\x12\x41\n\x0e\x65xecute_result\x18\x03 \x01(\x0b\x32\'.luminary.proto.assistant.ExecuteResultH\x00\x12\x36\n\x05\x65rror\x18\x04 \x01(\x0b\x32%.luminary.proto.assistant.ErrorOutputH\x00\x42\x10\n\x0eoutput_content\"V\n\x0cStreamOutput\x12\x38\n\x04name\x18\x01 \x01(\x0e\x32*.luminary.proto.assistant.StreamOutputType\x12\x0c\n\x04text\x18\x02 \x01(\t\"?\n\x0b\x45rrorOutput\x12\r\n\x05\x65name\x18\x01 \x01(\t\x12\x0e\n\x06\x65value\x18\x02 \x01(\t\x12\x11\n\ttraceback\x18\x03 \x03(\t\"}\n\rExecuteResult\x12?\n\x04\x64\x61ta\x18\x01 \x03(\x0b\x32\x31.luminary.proto.assistant.ExecuteResult.DataEntry\x1a+\n\tDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"y\n\x0b\x44isplayData\x12=\n\x04\x64\x61ta\x18\x01 \x03(\x0b\x32/.luminary.proto.assistant.DisplayData.DataEntry\x1a+\n\tDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xa6\x01\n\x0cNotebookCell\x12\x0f\n\x07\x63\x65ll_id\x18\x01 \x01(\t\x12\x35\n\tcell_type\x18\x02 \x01(\x0e\x32\".luminary.proto.assistant.CellType\x12\x0f\n\x07\x63ontent\x18\x03 \x01(\t\x12=\n\x07outputs\x18\x04 \x03(\x0b\x32,.luminary.proto.assistant.NotebookOutputItem\"b\n\x0fNotebookContext\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x35\n\x05\x63\x65lls\x18\x03 \x03(\x0b\x32&.luminary.proto.assistant.NotebookCell\"=\n\nSourceCode\x12\x10\n\x08language\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x0f\n\x07\x63ontent\x18\x03 \x01(\t\"G\n\x05Image\x12\x14\n\x0cimage_base64\x18\x01 \x01(\t\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_description\"\xdb\x01\n\x0b\x43ontextItem\x12\x45\n\x10notebook_context\x18\x01 \x01(\x0b\x32).luminary.proto.assistant.NotebookContextH\x00\x12;\n\x0bsource_code\x18\x02 \x01(\x0b\x32$.luminary.proto.assistant.SourceCodeH\x00\x12\x0e\n\x04text\x18\x03 \x01(\tH\x00\x12\x30\n\x05image\x18\x04 \x01(\x0b\x32\x1f.luminary.proto.assistant.ImageH\x00\x42\x06\n\x04item\"J\n\x10\x41ssistantContext\x12\x36\n\x07\x63ontext\x18\x01 \x03(\x0b\x32%.luminary.proto.assistant.ContextItem\"\xf6\x01\n\x07Request\x12\x0f\n\x07session\x18\x01 \x01(\t\x12\x0f\n\x07request\x18\x02 \x01(\t\x12\x0b\n\x03\x63md\x18\x03 \x01(\t\x12\x0e\n\x06\x61\x63\x63\x65ss\x18\x04 \x01(\t\x12\r\n\x05scope\x18\x06 \x01(\t\x12=\n\x06source\x18\x07 \x01(\x0e\x32-.luminary.proto.assistant.AssistRequestSource\x12@\n\x07\x63ontext\x18\x08 \x01(\x0b\x32*.luminary.proto.assistant.AssistantContextH\x00\x88\x01\x01\x42\n\n\x08_contextJ\x04\x08\x05\x10\x06R\nproject_id\"\x9e\x01\n\x05Reply\x12\x0f\n\x07session\x18\x01 \x01(\t\x12\x0f\n\x07request\x18\x02 \x01(\t\x12\x0c\n\x04last\x18\x03 \x01(\x08\x12\x32\n\x06\x61\x63tion\x18\x04 \x01(\x0b\x32 .luminary.proto.assistant.ActionH\x00\x12\x12\n\x08response\x18\x05 \x01(\tH\x00\x12\x15\n\x0bplotly_plot\x18\x06 \x01(\tH\x00\x42\x06\n\x04step\"&\n\x06\x41\x63tion\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06params\x18\x02 \x03(\t\"S\n\x07Outcome\x12\x0f\n\x07session\x18\x01 \x01(\t\x12\x0f\n\x07request\x18\x02 \x01(\t\x12\r\n\x03val\x18\x03 \x01(\tH\x00\x12\r\n\x03\x65rr\x18\x04 \x01(\tH\x00\x42\x08\n\x06result\"I\n\x15GetChatHistoryRequest\x12\x0f\n\x07session\x18\x01 \x01(\t\x12\r\n\x05scope\x18\x03 \x01(\tJ\x04\x08\x02\x10\x03R\nproject_id\"1\n\x10\x43hatHistoryEntry\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x0f\n\x07\x63ontent\x18\x02 \x01(\t\"U\n\x16GetChatHistoryResponse\x12;\n\x07\x65ntries\x18\x01 \x03(\x0b\x32*.luminary.proto.assistant.ChatHistoryEntry\"c\n\x1fSimulationParamToSdkCodeRequest\x12@\n\x10simulation_param\x18\x01 \x01(\x0b\x32&.luminary.proto.client.SimulationParam\"4\n SimulationParamToSdkCodeResponse\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\xaa\x05\n\tAssistant\x12x\n\x0fGetChatSessions\x12\x30.luminary.proto.assistant.GetChatSessionsRequest\x1a\x31.luminary.proto.assistant.GetChatSessionsResponse\"\x00\x12u\n\x0eNewChatSession\x12/.luminary.proto.assistant.NewChatSessionRequest\x1a\x30.luminary.proto.assistant.NewChatSessionResponse\"\x00\x12u\n\x0eGetChatHistory\x12/.luminary.proto.assistant.GetChatHistoryRequest\x1a\x30.luminary.proto.assistant.GetChatHistoryResponse\"\x00\x12P\n\x06\x41ssist\x12!.luminary.proto.assistant.Request\x1a\x1f.luminary.proto.assistant.Reply\"\x00\x30\x01\x12M\n\x0e\x41ssistCallback\x12!.luminary.proto.assistant.Outcome\x1a\x16.google.protobuf.Empty\"\x00\x12\x93\x01\n\x18SimulationParamToSdkCode\x12\x39.luminary.proto.assistant.SimulationParamToSdkCodeRequest\x1a:.luminary.proto.assistant.SimulationParamToSdkCodeResponse\"\x00\x42(Z&luminarycloud.com/core/proto/assistantb\x06proto3')
|
|
21
21
|
|
|
22
22
|
_ASSISTREQUESTSOURCE = DESCRIPTOR.enum_types_by_name['AssistRequestSource']
|
|
23
23
|
AssistRequestSource = enum_type_wrapper.EnumTypeWrapper(_ASSISTREQUESTSOURCE)
|
|
@@ -42,9 +42,9 @@ _NOTEBOOKOUTPUTITEM = DESCRIPTOR.message_types_by_name['NotebookOutputItem']
|
|
|
42
42
|
_STREAMOUTPUT = DESCRIPTOR.message_types_by_name['StreamOutput']
|
|
43
43
|
_ERROROUTPUT = DESCRIPTOR.message_types_by_name['ErrorOutput']
|
|
44
44
|
_EXECUTERESULT = DESCRIPTOR.message_types_by_name['ExecuteResult']
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
45
|
+
_EXECUTERESULT_DATAENTRY = _EXECUTERESULT.nested_types_by_name['DataEntry']
|
|
46
|
+
_DISPLAYDATA = DESCRIPTOR.message_types_by_name['DisplayData']
|
|
47
|
+
_DISPLAYDATA_DATAENTRY = _DISPLAYDATA.nested_types_by_name['DataEntry']
|
|
48
48
|
_NOTEBOOKCELL = DESCRIPTOR.message_types_by_name['NotebookCell']
|
|
49
49
|
_NOTEBOOKCONTEXT = DESCRIPTOR.message_types_by_name['NotebookContext']
|
|
50
50
|
_SOURCECODE = DESCRIPTOR.message_types_by_name['SourceCode']
|
|
@@ -110,34 +110,34 @@ ErrorOutput = _reflection.GeneratedProtocolMessageType('ErrorOutput', (_message.
|
|
|
110
110
|
_sym_db.RegisterMessage(ErrorOutput)
|
|
111
111
|
|
|
112
112
|
ExecuteResult = _reflection.GeneratedProtocolMessageType('ExecuteResult', (_message.Message,), {
|
|
113
|
+
|
|
114
|
+
'DataEntry' : _reflection.GeneratedProtocolMessageType('DataEntry', (_message.Message,), {
|
|
115
|
+
'DESCRIPTOR' : _EXECUTERESULT_DATAENTRY,
|
|
116
|
+
'__module__' : 'proto.assistant.assistant_pb2'
|
|
117
|
+
# @@protoc_insertion_point(class_scope:luminary.proto.assistant.ExecuteResult.DataEntry)
|
|
118
|
+
})
|
|
119
|
+
,
|
|
113
120
|
'DESCRIPTOR' : _EXECUTERESULT,
|
|
114
121
|
'__module__' : 'proto.assistant.assistant_pb2'
|
|
115
122
|
# @@protoc_insertion_point(class_scope:luminary.proto.assistant.ExecuteResult)
|
|
116
123
|
})
|
|
117
124
|
_sym_db.RegisterMessage(ExecuteResult)
|
|
125
|
+
_sym_db.RegisterMessage(ExecuteResult.DataEntry)
|
|
118
126
|
|
|
119
|
-
|
|
127
|
+
DisplayData = _reflection.GeneratedProtocolMessageType('DisplayData', (_message.Message,), {
|
|
120
128
|
|
|
121
129
|
'DataEntry' : _reflection.GeneratedProtocolMessageType('DataEntry', (_message.Message,), {
|
|
122
|
-
'DESCRIPTOR' :
|
|
123
|
-
'__module__' : 'proto.assistant.assistant_pb2'
|
|
124
|
-
# @@protoc_insertion_point(class_scope:luminary.proto.assistant.MimeBundle.DataEntry)
|
|
125
|
-
})
|
|
126
|
-
,
|
|
127
|
-
|
|
128
|
-
'MetadataEntry' : _reflection.GeneratedProtocolMessageType('MetadataEntry', (_message.Message,), {
|
|
129
|
-
'DESCRIPTOR' : _MIMEBUNDLE_METADATAENTRY,
|
|
130
|
+
'DESCRIPTOR' : _DISPLAYDATA_DATAENTRY,
|
|
130
131
|
'__module__' : 'proto.assistant.assistant_pb2'
|
|
131
|
-
# @@protoc_insertion_point(class_scope:luminary.proto.assistant.
|
|
132
|
+
# @@protoc_insertion_point(class_scope:luminary.proto.assistant.DisplayData.DataEntry)
|
|
132
133
|
})
|
|
133
134
|
,
|
|
134
|
-
'DESCRIPTOR' :
|
|
135
|
+
'DESCRIPTOR' : _DISPLAYDATA,
|
|
135
136
|
'__module__' : 'proto.assistant.assistant_pb2'
|
|
136
|
-
# @@protoc_insertion_point(class_scope:luminary.proto.assistant.
|
|
137
|
+
# @@protoc_insertion_point(class_scope:luminary.proto.assistant.DisplayData)
|
|
137
138
|
})
|
|
138
|
-
_sym_db.RegisterMessage(
|
|
139
|
-
_sym_db.RegisterMessage(
|
|
140
|
-
_sym_db.RegisterMessage(MimeBundle.MetadataEntry)
|
|
139
|
+
_sym_db.RegisterMessage(DisplayData)
|
|
140
|
+
_sym_db.RegisterMessage(DisplayData.DataEntry)
|
|
141
141
|
|
|
142
142
|
NotebookCell = _reflection.GeneratedProtocolMessageType('NotebookCell', (_message.Message,), {
|
|
143
143
|
'DESCRIPTOR' : _NOTEBOOKCELL,
|
|
@@ -249,16 +249,16 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
249
249
|
|
|
250
250
|
DESCRIPTOR._options = None
|
|
251
251
|
DESCRIPTOR._serialized_options = b'Z&luminarycloud.com/core/proto/assistant'
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
_ASSISTREQUESTSOURCE._serialized_start=
|
|
257
|
-
_ASSISTREQUESTSOURCE._serialized_end=
|
|
258
|
-
_CELLTYPE._serialized_start=
|
|
259
|
-
_CELLTYPE._serialized_end=
|
|
260
|
-
_STREAMOUTPUTTYPE._serialized_start=
|
|
261
|
-
_STREAMOUTPUTTYPE._serialized_end=
|
|
252
|
+
_EXECUTERESULT_DATAENTRY._options = None
|
|
253
|
+
_EXECUTERESULT_DATAENTRY._serialized_options = b'8\001'
|
|
254
|
+
_DISPLAYDATA_DATAENTRY._options = None
|
|
255
|
+
_DISPLAYDATA_DATAENTRY._serialized_options = b'8\001'
|
|
256
|
+
_ASSISTREQUESTSOURCE._serialized_start=2626
|
|
257
|
+
_ASSISTREQUESTSOURCE._serialized_end=2679
|
|
258
|
+
_CELLTYPE._serialized_start=2681
|
|
259
|
+
_CELLTYPE._serialized_end=2724
|
|
260
|
+
_STREAMOUTPUTTYPE._serialized_start=2726
|
|
261
|
+
_STREAMOUTPUTTYPE._serialized_end=2768
|
|
262
262
|
_GETCHATSESSIONSREQUEST._serialized_start=121
|
|
263
263
|
_GETCHATSESSIONSREQUEST._serialized_end=178
|
|
264
264
|
_GETCHATSESSIONSRESPONSE._serialized_start=180
|
|
@@ -268,49 +268,49 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
268
268
|
_NEWCHATSESSIONRESPONSE._serialized_start=286
|
|
269
269
|
_NEWCHATSESSIONRESPONSE._serialized_end=330
|
|
270
270
|
_NOTEBOOKOUTPUTITEM._serialized_start=333
|
|
271
|
-
_NOTEBOOKOUTPUTITEM._serialized_end=
|
|
272
|
-
_STREAMOUTPUT._serialized_start=
|
|
273
|
-
_STREAMOUTPUT._serialized_end=
|
|
274
|
-
_ERROROUTPUT._serialized_start=
|
|
275
|
-
_ERROROUTPUT._serialized_end=
|
|
276
|
-
_EXECUTERESULT._serialized_start=
|
|
277
|
-
_EXECUTERESULT._serialized_end=
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
_NOTEBOOKCELL._serialized_start=
|
|
285
|
-
_NOTEBOOKCELL._serialized_end=
|
|
286
|
-
_NOTEBOOKCONTEXT._serialized_start=
|
|
287
|
-
_NOTEBOOKCONTEXT._serialized_end=
|
|
288
|
-
_SOURCECODE._serialized_start=
|
|
289
|
-
_SOURCECODE._serialized_end=
|
|
290
|
-
_IMAGE._serialized_start=
|
|
291
|
-
_IMAGE._serialized_end=
|
|
292
|
-
_CONTEXTITEM._serialized_start=
|
|
293
|
-
_CONTEXTITEM._serialized_end=
|
|
294
|
-
_ASSISTANTCONTEXT._serialized_start=
|
|
295
|
-
_ASSISTANTCONTEXT._serialized_end=
|
|
296
|
-
_REQUEST._serialized_start=
|
|
297
|
-
_REQUEST._serialized_end=
|
|
298
|
-
_REPLY._serialized_start=
|
|
299
|
-
_REPLY._serialized_end=
|
|
300
|
-
_ACTION._serialized_start=
|
|
301
|
-
_ACTION._serialized_end=
|
|
302
|
-
_OUTCOME._serialized_start=
|
|
303
|
-
_OUTCOME._serialized_end=
|
|
304
|
-
_GETCHATHISTORYREQUEST._serialized_start=
|
|
305
|
-
_GETCHATHISTORYREQUEST._serialized_end=
|
|
306
|
-
_CHATHISTORYENTRY._serialized_start=
|
|
307
|
-
_CHATHISTORYENTRY._serialized_end=
|
|
308
|
-
_GETCHATHISTORYRESPONSE._serialized_start=
|
|
309
|
-
_GETCHATHISTORYRESPONSE._serialized_end=
|
|
310
|
-
_SIMULATIONPARAMTOSDKCODEREQUEST._serialized_start=
|
|
311
|
-
_SIMULATIONPARAMTOSDKCODEREQUEST._serialized_end=
|
|
312
|
-
_SIMULATIONPARAMTOSDKCODERESPONSE._serialized_start=
|
|
313
|
-
_SIMULATIONPARAMTOSDKCODERESPONSE._serialized_end=
|
|
314
|
-
_ASSISTANT._serialized_start=
|
|
315
|
-
_ASSISTANT._serialized_end=
|
|
271
|
+
_NOTEBOOKOUTPUTITEM._serialized_end=615
|
|
272
|
+
_STREAMOUTPUT._serialized_start=617
|
|
273
|
+
_STREAMOUTPUT._serialized_end=703
|
|
274
|
+
_ERROROUTPUT._serialized_start=705
|
|
275
|
+
_ERROROUTPUT._serialized_end=768
|
|
276
|
+
_EXECUTERESULT._serialized_start=770
|
|
277
|
+
_EXECUTERESULT._serialized_end=895
|
|
278
|
+
_EXECUTERESULT_DATAENTRY._serialized_start=852
|
|
279
|
+
_EXECUTERESULT_DATAENTRY._serialized_end=895
|
|
280
|
+
_DISPLAYDATA._serialized_start=897
|
|
281
|
+
_DISPLAYDATA._serialized_end=1018
|
|
282
|
+
_DISPLAYDATA_DATAENTRY._serialized_start=852
|
|
283
|
+
_DISPLAYDATA_DATAENTRY._serialized_end=895
|
|
284
|
+
_NOTEBOOKCELL._serialized_start=1021
|
|
285
|
+
_NOTEBOOKCELL._serialized_end=1187
|
|
286
|
+
_NOTEBOOKCONTEXT._serialized_start=1189
|
|
287
|
+
_NOTEBOOKCONTEXT._serialized_end=1287
|
|
288
|
+
_SOURCECODE._serialized_start=1289
|
|
289
|
+
_SOURCECODE._serialized_end=1350
|
|
290
|
+
_IMAGE._serialized_start=1352
|
|
291
|
+
_IMAGE._serialized_end=1423
|
|
292
|
+
_CONTEXTITEM._serialized_start=1426
|
|
293
|
+
_CONTEXTITEM._serialized_end=1645
|
|
294
|
+
_ASSISTANTCONTEXT._serialized_start=1647
|
|
295
|
+
_ASSISTANTCONTEXT._serialized_end=1721
|
|
296
|
+
_REQUEST._serialized_start=1724
|
|
297
|
+
_REQUEST._serialized_end=1970
|
|
298
|
+
_REPLY._serialized_start=1973
|
|
299
|
+
_REPLY._serialized_end=2131
|
|
300
|
+
_ACTION._serialized_start=2133
|
|
301
|
+
_ACTION._serialized_end=2171
|
|
302
|
+
_OUTCOME._serialized_start=2173
|
|
303
|
+
_OUTCOME._serialized_end=2256
|
|
304
|
+
_GETCHATHISTORYREQUEST._serialized_start=2258
|
|
305
|
+
_GETCHATHISTORYREQUEST._serialized_end=2331
|
|
306
|
+
_CHATHISTORYENTRY._serialized_start=2333
|
|
307
|
+
_CHATHISTORYENTRY._serialized_end=2382
|
|
308
|
+
_GETCHATHISTORYRESPONSE._serialized_start=2384
|
|
309
|
+
_GETCHATHISTORYRESPONSE._serialized_end=2469
|
|
310
|
+
_SIMULATIONPARAMTOSDKCODEREQUEST._serialized_start=2471
|
|
311
|
+
_SIMULATIONPARAMTOSDKCODEREQUEST._serialized_end=2570
|
|
312
|
+
_SIMULATIONPARAMTOSDKCODERESPONSE._serialized_start=2572
|
|
313
|
+
_SIMULATIONPARAMTOSDKCODERESPONSE._serialized_end=2624
|
|
314
|
+
_ASSISTANT._serialized_start=2771
|
|
315
|
+
_ASSISTANT._serialized_end=3453
|
|
316
316
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -148,7 +148,7 @@ class NotebookOutputItem(google.protobuf.message.Message):
|
|
|
148
148
|
def stream(self) -> global___StreamOutput:
|
|
149
149
|
"""For stream output (stdout/stderr)"""
|
|
150
150
|
@property
|
|
151
|
-
def display_data(self) ->
|
|
151
|
+
def display_data(self) -> global___DisplayData:
|
|
152
152
|
"""For display_data outputs"""
|
|
153
153
|
@property
|
|
154
154
|
def execute_result(self) -> global___ExecuteResult:
|
|
@@ -160,7 +160,7 @@ class NotebookOutputItem(google.protobuf.message.Message):
|
|
|
160
160
|
self,
|
|
161
161
|
*,
|
|
162
162
|
stream: global___StreamOutput | None = ...,
|
|
163
|
-
display_data:
|
|
163
|
+
display_data: global___DisplayData | None = ...,
|
|
164
164
|
execute_result: global___ExecuteResult | None = ...,
|
|
165
165
|
error: global___ErrorOutput | None = ...,
|
|
166
166
|
) -> None: ...
|
|
@@ -222,25 +222,6 @@ class ExecuteResult(google.protobuf.message.Message):
|
|
|
222
222
|
|
|
223
223
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
224
224
|
|
|
225
|
-
DATA_FIELD_NUMBER: builtins.int
|
|
226
|
-
@property
|
|
227
|
-
def data(self) -> global___MimeBundle:
|
|
228
|
-
"""Output data"""
|
|
229
|
-
def __init__(
|
|
230
|
-
self,
|
|
231
|
-
*,
|
|
232
|
-
data: global___MimeBundle | None = ...,
|
|
233
|
-
) -> None: ...
|
|
234
|
-
def HasField(self, field_name: typing_extensions.Literal["data", b"data"]) -> builtins.bool: ...
|
|
235
|
-
def ClearField(self, field_name: typing_extensions.Literal["data", b"data"]) -> None: ...
|
|
236
|
-
|
|
237
|
-
global___ExecuteResult = ExecuteResult
|
|
238
|
-
|
|
239
|
-
class MimeBundle(google.protobuf.message.Message):
|
|
240
|
-
"""Mime-bundle for rich display outputs"""
|
|
241
|
-
|
|
242
|
-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
243
|
-
|
|
244
225
|
class DataEntry(google.protobuf.message.Message):
|
|
245
226
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
246
227
|
|
|
@@ -256,7 +237,23 @@ class MimeBundle(google.protobuf.message.Message):
|
|
|
256
237
|
) -> None: ...
|
|
257
238
|
def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
258
239
|
|
|
259
|
-
|
|
240
|
+
DATA_FIELD_NUMBER: builtins.int
|
|
241
|
+
@property
|
|
242
|
+
def data(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
243
|
+
"""The mime-bundle for rich execute result outputs"""
|
|
244
|
+
def __init__(
|
|
245
|
+
self,
|
|
246
|
+
*,
|
|
247
|
+
data: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
248
|
+
) -> None: ...
|
|
249
|
+
def ClearField(self, field_name: typing_extensions.Literal["data", b"data"]) -> None: ...
|
|
250
|
+
|
|
251
|
+
global___ExecuteResult = ExecuteResult
|
|
252
|
+
|
|
253
|
+
class DisplayData(google.protobuf.message.Message):
|
|
254
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
255
|
+
|
|
256
|
+
class DataEntry(google.protobuf.message.Message):
|
|
260
257
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
261
258
|
|
|
262
259
|
KEY_FIELD_NUMBER: builtins.int
|
|
@@ -272,22 +269,17 @@ class MimeBundle(google.protobuf.message.Message):
|
|
|
272
269
|
def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
273
270
|
|
|
274
271
|
DATA_FIELD_NUMBER: builtins.int
|
|
275
|
-
METADATA_FIELD_NUMBER: builtins.int
|
|
276
272
|
@property
|
|
277
273
|
def data(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
278
|
-
"""
|
|
279
|
-
@property
|
|
280
|
-
def metadata(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
281
|
-
"""Optional metadata for outputs"""
|
|
274
|
+
"""The mime-bundle for rich display outputs"""
|
|
282
275
|
def __init__(
|
|
283
276
|
self,
|
|
284
277
|
*,
|
|
285
278
|
data: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
286
|
-
metadata: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
287
279
|
) -> None: ...
|
|
288
|
-
def ClearField(self, field_name: typing_extensions.Literal["data", b"data"
|
|
280
|
+
def ClearField(self, field_name: typing_extensions.Literal["data", b"data"]) -> None: ...
|
|
289
281
|
|
|
290
|
-
|
|
282
|
+
global___DisplayData = DisplayData
|
|
291
283
|
|
|
292
284
|
class NotebookCell(google.protobuf.message.Message):
|
|
293
285
|
"""Represents a cell in a notebook"""
|