luminarycloud 0.19.1__py3-none-any.whl → 0.21.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/__init__.py +2 -0
- luminarycloud/_client/client.py +2 -0
- luminarycloud/_helpers/_wait_for_mesh.py +6 -5
- luminarycloud/_helpers/_wait_for_simulation.py +3 -3
- luminarycloud/_helpers/pagination.py +62 -0
- luminarycloud/_helpers/upload.py +3 -6
- luminarycloud/_proto/api/v0/luminarycloud/geometry/geometry_pb2.py +168 -124
- luminarycloud/_proto/api/v0/luminarycloud/geometry/geometry_pb2.pyi +125 -3
- luminarycloud/_proto/api/v0/luminarycloud/geometry/geometry_pb2_grpc.py +66 -0
- luminarycloud/_proto/api/v0/luminarycloud/geometry/geometry_pb2_grpc.pyi +20 -0
- luminarycloud/_proto/api/v0/luminarycloud/inference/inference_pb2.py +8 -8
- luminarycloud/_proto/api/v0/luminarycloud/inference/inference_pb2.pyi +5 -5
- luminarycloud/_proto/api/v0/luminarycloud/vis/vis_pb2.py +124 -27
- luminarycloud/_proto/api/v0/luminarycloud/vis/vis_pb2.pyi +177 -0
- luminarycloud/_proto/api/v0/luminarycloud/vis/vis_pb2_grpc.py +99 -0
- luminarycloud/_proto/api/v0/luminarycloud/vis/vis_pb2_grpc.pyi +30 -0
- luminarycloud/_proto/assistant/assistant_pb2.py +61 -41
- luminarycloud/_proto/assistant/assistant_pb2.pyi +43 -1
- luminarycloud/_proto/assistant/assistant_pb2_grpc.py +33 -0
- luminarycloud/_proto/assistant/assistant_pb2_grpc.pyi +10 -0
- luminarycloud/_proto/base/base_pb2.py +9 -6
- luminarycloud/_proto/base/base_pb2.pyi +12 -0
- luminarycloud/_proto/client/simulation_pb2.py +490 -348
- luminarycloud/_proto/client/simulation_pb2.pyi +570 -8
- luminarycloud/_proto/inferenceservice/inferenceservice_pb2.py +10 -10
- luminarycloud/_proto/inferenceservice/inferenceservice_pb2.pyi +5 -5
- luminarycloud/_proto/quantity/quantity_pb2.py +24 -15
- luminarycloud/_proto/quantity/quantity_pb2.pyi +10 -4
- luminarycloud/enum/__init__.py +1 -0
- luminarycloud/enum/quantity_type.py +9 -0
- luminarycloud/enum/vis_enums.py +23 -3
- luminarycloud/exceptions.py +7 -1
- luminarycloud/geometry.py +44 -2
- luminarycloud/geometry_version.py +57 -3
- luminarycloud/mesh.py +1 -2
- luminarycloud/params/enum/_enum_wrappers.py +537 -30
- luminarycloud/params/simulation/adaptive_mesh_refinement_.py +4 -0
- luminarycloud/params/simulation/physics/__init__.py +0 -1
- luminarycloud/params/simulation/physics/periodic_pair_.py +12 -31
- luminarycloud/physics_ai/architectures.py +5 -5
- luminarycloud/physics_ai/inference.py +13 -13
- luminarycloud/pipelines/__init__.py +8 -0
- luminarycloud/pipelines/api.py +160 -10
- luminarycloud/pipelines/arguments.py +15 -0
- luminarycloud/pipelines/operators.py +74 -17
- luminarycloud/project.py +5 -44
- luminarycloud/simulation.py +10 -5
- luminarycloud/simulation_param.py +0 -9
- luminarycloud/vis/__init__.py +17 -0
- luminarycloud/vis/data_extraction.py +20 -4
- luminarycloud/vis/interactive_report.py +110 -0
- luminarycloud/vis/interactive_scene.py +29 -2
- luminarycloud/vis/report.py +252 -0
- luminarycloud/vis/visualization.py +127 -5
- luminarycloud/volume_selection.py +58 -9
- {luminarycloud-0.19.1.dist-info → luminarycloud-0.21.0.dist-info}/METADATA +1 -1
- {luminarycloud-0.19.1.dist-info → luminarycloud-0.21.0.dist-info}/RECORD +58 -60
- luminarycloud/params/simulation/physics/periodic_pair/__init__.py +0 -2
- luminarycloud/params/simulation/physics/periodic_pair/periodicity_type/__init__.py +0 -2
- luminarycloud/params/simulation/physics/periodic_pair/periodicity_type/rotational_periodicity_.py +0 -31
- luminarycloud/params/simulation/physics/periodic_pair/periodicity_type/translational_periodicity_.py +0 -29
- luminarycloud/params/simulation/physics/periodic_pair/periodicity_type_.py +0 -25
- {luminarycloud-0.19.1.dist-info → luminarycloud-0.21.0.dist-info}/WHEEL +0 -0
|
@@ -72,6 +72,7 @@ class Geometry(google.protobuf.message.Message):
|
|
|
72
72
|
USES_TAGS_FIELD_NUMBER: builtins.int
|
|
73
73
|
PROJECT_ID_FIELD_NUMBER: builtins.int
|
|
74
74
|
STATUS_FIELD_NUMBER: builtins.int
|
|
75
|
+
VERSIONS_FIELD_NUMBER: builtins.int
|
|
75
76
|
id: builtins.str
|
|
76
77
|
name: builtins.str
|
|
77
78
|
@property
|
|
@@ -83,6 +84,9 @@ class Geometry(google.protobuf.message.Message):
|
|
|
83
84
|
uses_tags: builtins.bool
|
|
84
85
|
project_id: builtins.str
|
|
85
86
|
status: global___Geometry.Status.ValueType
|
|
87
|
+
@property
|
|
88
|
+
def versions(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___GeometryVersion]:
|
|
89
|
+
"""Versions are not populated by default, but can be included by request."""
|
|
86
90
|
def __init__(
|
|
87
91
|
self,
|
|
88
92
|
*,
|
|
@@ -95,9 +99,10 @@ class Geometry(google.protobuf.message.Message):
|
|
|
95
99
|
uses_tags: builtins.bool = ...,
|
|
96
100
|
project_id: builtins.str = ...,
|
|
97
101
|
status: global___Geometry.Status.ValueType | None = ...,
|
|
102
|
+
versions: collections.abc.Iterable[global___GeometryVersion] | None = ...,
|
|
98
103
|
) -> None: ...
|
|
99
104
|
def HasField(self, field_name: typing_extensions.Literal["_status", b"_status", "create_time", b"create_time", "status", b"status", "update_time", b"update_time"]) -> builtins.bool: ...
|
|
100
|
-
def ClearField(self, field_name: typing_extensions.Literal["_status", b"_status", "create_time", b"create_time", "deleted", b"deleted", "id", b"id", "last_version_id", b"last_version_id", "name", b"name", "project_id", b"project_id", "status", b"status", "update_time", b"update_time", "uses_tags", b"uses_tags"]) -> None: ...
|
|
105
|
+
def ClearField(self, field_name: typing_extensions.Literal["_status", b"_status", "create_time", b"create_time", "deleted", b"deleted", "id", b"id", "last_version_id", b"last_version_id", "name", b"name", "project_id", b"project_id", "status", b"status", "update_time", b"update_time", "uses_tags", b"uses_tags", "versions", b"versions"]) -> None: ...
|
|
101
106
|
def WhichOneof(self, oneof_group: typing_extensions.Literal["_status", b"_status"]) -> typing_extensions.Literal["status"] | None: ...
|
|
102
107
|
|
|
103
108
|
global___Geometry = Geometry
|
|
@@ -108,19 +113,28 @@ class GeometryVersion(google.protobuf.message.Message):
|
|
|
108
113
|
ID_FIELD_NUMBER: builtins.int
|
|
109
114
|
GEOMETRY_ID_FIELD_NUMBER: builtins.int
|
|
110
115
|
CREATE_TIME_FIELD_NUMBER: builtins.int
|
|
116
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
117
|
+
KERNEL_TYPE_FIELD_NUMBER: builtins.int
|
|
118
|
+
NAMED_VARIABLE_SET_VERSION_ID_FIELD_NUMBER: builtins.int
|
|
111
119
|
id: builtins.str
|
|
112
120
|
geometry_id: builtins.str
|
|
113
121
|
@property
|
|
114
122
|
def create_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
|
|
123
|
+
name: builtins.str
|
|
124
|
+
kernel_type: luminarycloud._proto.geometry.geometry_pb2.KernelType.ValueType
|
|
125
|
+
named_variable_set_version_id: builtins.str
|
|
115
126
|
def __init__(
|
|
116
127
|
self,
|
|
117
128
|
*,
|
|
118
129
|
id: builtins.str = ...,
|
|
119
130
|
geometry_id: builtins.str = ...,
|
|
120
131
|
create_time: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
132
|
+
name: builtins.str = ...,
|
|
133
|
+
kernel_type: luminarycloud._proto.geometry.geometry_pb2.KernelType.ValueType = ...,
|
|
134
|
+
named_variable_set_version_id: builtins.str = ...,
|
|
121
135
|
) -> None: ...
|
|
122
136
|
def HasField(self, field_name: typing_extensions.Literal["create_time", b"create_time"]) -> builtins.bool: ...
|
|
123
|
-
def ClearField(self, field_name: typing_extensions.Literal["create_time", b"create_time", "geometry_id", b"geometry_id", "id", b"id"]) -> None: ...
|
|
137
|
+
def ClearField(self, field_name: typing_extensions.Literal["create_time", b"create_time", "geometry_id", b"geometry_id", "id", b"id", "kernel_type", b"kernel_type", "name", b"name", "named_variable_set_version_id", b"named_variable_set_version_id"]) -> None: ...
|
|
124
138
|
|
|
125
139
|
global___GeometryVersion = GeometryVersion
|
|
126
140
|
|
|
@@ -321,13 +335,20 @@ class ListGeometriesRequest(google.protobuf.message.Message):
|
|
|
321
335
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
322
336
|
|
|
323
337
|
PROJECT_ID_FIELD_NUMBER: builtins.int
|
|
338
|
+
INCLUDE_INTERESTING_VERSIONS_FIELD_NUMBER: builtins.int
|
|
324
339
|
project_id: builtins.str
|
|
340
|
+
include_interesting_versions: builtins.bool
|
|
341
|
+
"""Optional. By default, versions are not included for the geometries. If true, the server will
|
|
342
|
+
include a subset of the gemoetries' versions, specifically those that are named OR have an
|
|
343
|
+
associated Mesh OR are the latest version of their geometry.
|
|
344
|
+
"""
|
|
325
345
|
def __init__(
|
|
326
346
|
self,
|
|
327
347
|
*,
|
|
328
348
|
project_id: builtins.str = ...,
|
|
349
|
+
include_interesting_versions: builtins.bool = ...,
|
|
329
350
|
) -> None: ...
|
|
330
|
-
def ClearField(self, field_name: typing_extensions.Literal["project_id", b"project_id"]) -> None: ...
|
|
351
|
+
def ClearField(self, field_name: typing_extensions.Literal["include_interesting_versions", b"include_interesting_versions", "project_id", b"project_id"]) -> None: ...
|
|
331
352
|
|
|
332
353
|
global___ListGeometriesRequest = ListGeometriesRequest
|
|
333
354
|
|
|
@@ -1202,6 +1223,74 @@ class ListTagsResponse(google.protobuf.message.Message):
|
|
|
1202
1223
|
|
|
1203
1224
|
global___ListTagsResponse = ListTagsResponse
|
|
1204
1225
|
|
|
1226
|
+
class ListGeometryVersionsRequest(google.protobuf.message.Message):
|
|
1227
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1228
|
+
|
|
1229
|
+
GEOMETRY_ID_FIELD_NUMBER: builtins.int
|
|
1230
|
+
UNFILTERED_FIELD_NUMBER: builtins.int
|
|
1231
|
+
PAGE_SIZE_FIELD_NUMBER: builtins.int
|
|
1232
|
+
PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
1233
|
+
geometry_id: builtins.str
|
|
1234
|
+
"""Required. The ID of the geometry to list versions for."""
|
|
1235
|
+
unfiltered: builtins.bool
|
|
1236
|
+
"""Optional. By default, the server only returns versions that are named OR have an associated
|
|
1237
|
+
Mesh OR are the latest version of the geometry. If `unfiltered` is true, the server returns all
|
|
1238
|
+
versions.
|
|
1239
|
+
"""
|
|
1240
|
+
page_size: builtins.int
|
|
1241
|
+
"""Optional. The maximum number of versions to return. The service may return fewer than this
|
|
1242
|
+
value. Default is 50, max is 500. Values above 500 will be clipped to 500.
|
|
1243
|
+
"""
|
|
1244
|
+
page_token: builtins.str
|
|
1245
|
+
"""A page token, received from a previous `ListGeometryVersions` call. Provide this to retrieve the
|
|
1246
|
+
subsequent page.
|
|
1247
|
+
|
|
1248
|
+
When paginating, all other parameters provided to `ListGeometryVersions` must match the call that
|
|
1249
|
+
provided the page token.
|
|
1250
|
+
"""
|
|
1251
|
+
def __init__(
|
|
1252
|
+
self,
|
|
1253
|
+
*,
|
|
1254
|
+
geometry_id: builtins.str = ...,
|
|
1255
|
+
unfiltered: builtins.bool = ...,
|
|
1256
|
+
page_size: builtins.int | None = ...,
|
|
1257
|
+
page_token: builtins.str | None = ...,
|
|
1258
|
+
) -> None: ...
|
|
1259
|
+
def HasField(self, field_name: typing_extensions.Literal["_page_size", b"_page_size", "_page_token", b"_page_token", "page_size", b"page_size", "page_token", b"page_token"]) -> builtins.bool: ...
|
|
1260
|
+
def ClearField(self, field_name: typing_extensions.Literal["_page_size", b"_page_size", "_page_token", b"_page_token", "geometry_id", b"geometry_id", "page_size", b"page_size", "page_token", b"page_token", "unfiltered", b"unfiltered"]) -> None: ...
|
|
1261
|
+
@typing.overload
|
|
1262
|
+
def WhichOneof(self, oneof_group: typing_extensions.Literal["_page_size", b"_page_size"]) -> typing_extensions.Literal["page_size"] | None: ...
|
|
1263
|
+
@typing.overload
|
|
1264
|
+
def WhichOneof(self, oneof_group: typing_extensions.Literal["_page_token", b"_page_token"]) -> typing_extensions.Literal["page_token"] | None: ...
|
|
1265
|
+
|
|
1266
|
+
global___ListGeometryVersionsRequest = ListGeometryVersionsRequest
|
|
1267
|
+
|
|
1268
|
+
class ListGeometryVersionsResponse(google.protobuf.message.Message):
|
|
1269
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1270
|
+
|
|
1271
|
+
GEOMETRY_VERSIONS_FIELD_NUMBER: builtins.int
|
|
1272
|
+
NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
1273
|
+
TOTAL_COUNT_FIELD_NUMBER: builtins.int
|
|
1274
|
+
@property
|
|
1275
|
+
def geometry_versions(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___GeometryVersion]:
|
|
1276
|
+
"""Versions ordered by creation time, oldest first."""
|
|
1277
|
+
next_page_token: builtins.str
|
|
1278
|
+
"""A token that can be used to retrieve the next page of results.
|
|
1279
|
+
If empty, there are no more results.
|
|
1280
|
+
"""
|
|
1281
|
+
total_count: builtins.int
|
|
1282
|
+
"""The total number of versions that match the request parameters."""
|
|
1283
|
+
def __init__(
|
|
1284
|
+
self,
|
|
1285
|
+
*,
|
|
1286
|
+
geometry_versions: collections.abc.Iterable[global___GeometryVersion] | None = ...,
|
|
1287
|
+
next_page_token: builtins.str = ...,
|
|
1288
|
+
total_count: builtins.int = ...,
|
|
1289
|
+
) -> None: ...
|
|
1290
|
+
def ClearField(self, field_name: typing_extensions.Literal["geometry_versions", b"geometry_versions", "next_page_token", b"next_page_token", "total_count", b"total_count"]) -> None: ...
|
|
1291
|
+
|
|
1292
|
+
global___ListGeometryVersionsResponse = ListGeometryVersionsResponse
|
|
1293
|
+
|
|
1205
1294
|
class GetGeometryVersionRequest(google.protobuf.message.Message):
|
|
1206
1295
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1207
1296
|
|
|
@@ -1232,6 +1321,39 @@ class GetGeometryVersionResponse(google.protobuf.message.Message):
|
|
|
1232
1321
|
|
|
1233
1322
|
global___GetGeometryVersionResponse = GetGeometryVersionResponse
|
|
1234
1323
|
|
|
1324
|
+
class UpdateGeometryVersionRequest(google.protobuf.message.Message):
|
|
1325
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1326
|
+
|
|
1327
|
+
GEOMETRY_VERSION_ID_FIELD_NUMBER: builtins.int
|
|
1328
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
1329
|
+
geometry_version_id: builtins.str
|
|
1330
|
+
name: builtins.str
|
|
1331
|
+
def __init__(
|
|
1332
|
+
self,
|
|
1333
|
+
*,
|
|
1334
|
+
geometry_version_id: builtins.str = ...,
|
|
1335
|
+
name: builtins.str = ...,
|
|
1336
|
+
) -> None: ...
|
|
1337
|
+
def ClearField(self, field_name: typing_extensions.Literal["geometry_version_id", b"geometry_version_id", "name", b"name"]) -> None: ...
|
|
1338
|
+
|
|
1339
|
+
global___UpdateGeometryVersionRequest = UpdateGeometryVersionRequest
|
|
1340
|
+
|
|
1341
|
+
class UpdateGeometryVersionResponse(google.protobuf.message.Message):
|
|
1342
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1343
|
+
|
|
1344
|
+
GEOMETRY_VERSION_FIELD_NUMBER: builtins.int
|
|
1345
|
+
@property
|
|
1346
|
+
def geometry_version(self) -> global___GeometryVersion: ...
|
|
1347
|
+
def __init__(
|
|
1348
|
+
self,
|
|
1349
|
+
*,
|
|
1350
|
+
geometry_version: global___GeometryVersion | None = ...,
|
|
1351
|
+
) -> None: ...
|
|
1352
|
+
def HasField(self, field_name: typing_extensions.Literal["geometry_version", b"geometry_version"]) -> builtins.bool: ...
|
|
1353
|
+
def ClearField(self, field_name: typing_extensions.Literal["geometry_version", b"geometry_version"]) -> None: ...
|
|
1354
|
+
|
|
1355
|
+
global___UpdateGeometryVersionResponse = UpdateGeometryVersionResponse
|
|
1356
|
+
|
|
1235
1357
|
class GetSdkCodeRequest(google.protobuf.message.Message):
|
|
1236
1358
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1237
1359
|
|
|
@@ -125,11 +125,21 @@ class GeometryServiceStub(object):
|
|
|
125
125
|
request_serializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_geometry_dot_geometry__pb2.ListTagsRequest.SerializeToString,
|
|
126
126
|
response_deserializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_geometry_dot_geometry__pb2.ListTagsResponse.FromString,
|
|
127
127
|
)
|
|
128
|
+
self.ListGeometryVersions = channel.unary_unary(
|
|
129
|
+
'/luminary.proto.api.v0.luminarycloud.geometry.GeometryService/ListGeometryVersions',
|
|
130
|
+
request_serializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_geometry_dot_geometry__pb2.ListGeometryVersionsRequest.SerializeToString,
|
|
131
|
+
response_deserializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_geometry_dot_geometry__pb2.ListGeometryVersionsResponse.FromString,
|
|
132
|
+
)
|
|
128
133
|
self.GetGeometryVersion = channel.unary_unary(
|
|
129
134
|
'/luminary.proto.api.v0.luminarycloud.geometry.GeometryService/GetGeometryVersion',
|
|
130
135
|
request_serializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_geometry_dot_geometry__pb2.GetGeometryVersionRequest.SerializeToString,
|
|
131
136
|
response_deserializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_geometry_dot_geometry__pb2.GetGeometryVersionResponse.FromString,
|
|
132
137
|
)
|
|
138
|
+
self.UpdateGeometryVersion = channel.unary_unary(
|
|
139
|
+
'/luminary.proto.api.v0.luminarycloud.geometry.GeometryService/UpdateGeometryVersion',
|
|
140
|
+
request_serializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_geometry_dot_geometry__pb2.UpdateGeometryVersionRequest.SerializeToString,
|
|
141
|
+
response_deserializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_geometry_dot_geometry__pb2.UpdateGeometryVersionResponse.FromString,
|
|
142
|
+
)
|
|
133
143
|
self.GetSdkCode = channel.unary_unary(
|
|
134
144
|
'/luminary.proto.api.v0.luminarycloud.geometry.GeometryService/GetSdkCode',
|
|
135
145
|
request_serializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_geometry_dot_geometry__pb2.GetSdkCodeRequest.SerializeToString,
|
|
@@ -306,12 +316,24 @@ class GeometryServiceServicer(object):
|
|
|
306
316
|
context.set_details('Method not implemented!')
|
|
307
317
|
raise NotImplementedError('Method not implemented!')
|
|
308
318
|
|
|
319
|
+
def ListGeometryVersions(self, request, context):
|
|
320
|
+
"""Missing associated documentation comment in .proto file."""
|
|
321
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
322
|
+
context.set_details('Method not implemented!')
|
|
323
|
+
raise NotImplementedError('Method not implemented!')
|
|
324
|
+
|
|
309
325
|
def GetGeometryVersion(self, request, context):
|
|
310
326
|
"""Missing associated documentation comment in .proto file."""
|
|
311
327
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
312
328
|
context.set_details('Method not implemented!')
|
|
313
329
|
raise NotImplementedError('Method not implemented!')
|
|
314
330
|
|
|
331
|
+
def UpdateGeometryVersion(self, request, context):
|
|
332
|
+
"""Missing associated documentation comment in .proto file."""
|
|
333
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
334
|
+
context.set_details('Method not implemented!')
|
|
335
|
+
raise NotImplementedError('Method not implemented!')
|
|
336
|
+
|
|
315
337
|
def GetSdkCode(self, request, context):
|
|
316
338
|
"""Get the SDK code to generate all the geometry versions of a given geometry.
|
|
317
339
|
"""
|
|
@@ -432,11 +454,21 @@ def add_GeometryServiceServicer_to_server(servicer, server):
|
|
|
432
454
|
request_deserializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_geometry_dot_geometry__pb2.ListTagsRequest.FromString,
|
|
433
455
|
response_serializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_geometry_dot_geometry__pb2.ListTagsResponse.SerializeToString,
|
|
434
456
|
),
|
|
457
|
+
'ListGeometryVersions': grpc.unary_unary_rpc_method_handler(
|
|
458
|
+
servicer.ListGeometryVersions,
|
|
459
|
+
request_deserializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_geometry_dot_geometry__pb2.ListGeometryVersionsRequest.FromString,
|
|
460
|
+
response_serializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_geometry_dot_geometry__pb2.ListGeometryVersionsResponse.SerializeToString,
|
|
461
|
+
),
|
|
435
462
|
'GetGeometryVersion': grpc.unary_unary_rpc_method_handler(
|
|
436
463
|
servicer.GetGeometryVersion,
|
|
437
464
|
request_deserializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_geometry_dot_geometry__pb2.GetGeometryVersionRequest.FromString,
|
|
438
465
|
response_serializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_geometry_dot_geometry__pb2.GetGeometryVersionResponse.SerializeToString,
|
|
439
466
|
),
|
|
467
|
+
'UpdateGeometryVersion': grpc.unary_unary_rpc_method_handler(
|
|
468
|
+
servicer.UpdateGeometryVersion,
|
|
469
|
+
request_deserializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_geometry_dot_geometry__pb2.UpdateGeometryVersionRequest.FromString,
|
|
470
|
+
response_serializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_geometry_dot_geometry__pb2.UpdateGeometryVersionResponse.SerializeToString,
|
|
471
|
+
),
|
|
440
472
|
'GetSdkCode': grpc.unary_unary_rpc_method_handler(
|
|
441
473
|
servicer.GetSdkCode,
|
|
442
474
|
request_deserializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_geometry_dot_geometry__pb2.GetSdkCodeRequest.FromString,
|
|
@@ -826,6 +858,23 @@ class GeometryService(object):
|
|
|
826
858
|
options, channel_credentials,
|
|
827
859
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
828
860
|
|
|
861
|
+
@staticmethod
|
|
862
|
+
def ListGeometryVersions(request,
|
|
863
|
+
target,
|
|
864
|
+
options=(),
|
|
865
|
+
channel_credentials=None,
|
|
866
|
+
call_credentials=None,
|
|
867
|
+
insecure=False,
|
|
868
|
+
compression=None,
|
|
869
|
+
wait_for_ready=None,
|
|
870
|
+
timeout=None,
|
|
871
|
+
metadata=None):
|
|
872
|
+
return grpc.experimental.unary_unary(request, target, '/luminary.proto.api.v0.luminarycloud.geometry.GeometryService/ListGeometryVersions',
|
|
873
|
+
proto_dot_api_dot_v0_dot_luminarycloud_dot_geometry_dot_geometry__pb2.ListGeometryVersionsRequest.SerializeToString,
|
|
874
|
+
proto_dot_api_dot_v0_dot_luminarycloud_dot_geometry_dot_geometry__pb2.ListGeometryVersionsResponse.FromString,
|
|
875
|
+
options, channel_credentials,
|
|
876
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
877
|
+
|
|
829
878
|
@staticmethod
|
|
830
879
|
def GetGeometryVersion(request,
|
|
831
880
|
target,
|
|
@@ -843,6 +892,23 @@ class GeometryService(object):
|
|
|
843
892
|
options, channel_credentials,
|
|
844
893
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
845
894
|
|
|
895
|
+
@staticmethod
|
|
896
|
+
def UpdateGeometryVersion(request,
|
|
897
|
+
target,
|
|
898
|
+
options=(),
|
|
899
|
+
channel_credentials=None,
|
|
900
|
+
call_credentials=None,
|
|
901
|
+
insecure=False,
|
|
902
|
+
compression=None,
|
|
903
|
+
wait_for_ready=None,
|
|
904
|
+
timeout=None,
|
|
905
|
+
metadata=None):
|
|
906
|
+
return grpc.experimental.unary_unary(request, target, '/luminary.proto.api.v0.luminarycloud.geometry.GeometryService/UpdateGeometryVersion',
|
|
907
|
+
proto_dot_api_dot_v0_dot_luminarycloud_dot_geometry_dot_geometry__pb2.UpdateGeometryVersionRequest.SerializeToString,
|
|
908
|
+
proto_dot_api_dot_v0_dot_luminarycloud_dot_geometry_dot_geometry__pb2.UpdateGeometryVersionResponse.FromString,
|
|
909
|
+
options, channel_credentials,
|
|
910
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
911
|
+
|
|
846
912
|
@staticmethod
|
|
847
913
|
def GetSdkCode(request,
|
|
848
914
|
target,
|
|
@@ -140,10 +140,18 @@ class GeometryServiceStub:
|
|
|
140
140
|
contains more carefully crafted datastructures since SDK clients expose
|
|
141
141
|
raw response protos for their usage.
|
|
142
142
|
"""
|
|
143
|
+
ListGeometryVersions: grpc.UnaryUnaryMultiCallable[
|
|
144
|
+
luminarycloud._proto.api.v0.luminarycloud.geometry.geometry_pb2.ListGeometryVersionsRequest,
|
|
145
|
+
luminarycloud._proto.api.v0.luminarycloud.geometry.geometry_pb2.ListGeometryVersionsResponse,
|
|
146
|
+
]
|
|
143
147
|
GetGeometryVersion: grpc.UnaryUnaryMultiCallable[
|
|
144
148
|
luminarycloud._proto.api.v0.luminarycloud.geometry.geometry_pb2.GetGeometryVersionRequest,
|
|
145
149
|
luminarycloud._proto.api.v0.luminarycloud.geometry.geometry_pb2.GetGeometryVersionResponse,
|
|
146
150
|
]
|
|
151
|
+
UpdateGeometryVersion: grpc.UnaryUnaryMultiCallable[
|
|
152
|
+
luminarycloud._proto.api.v0.luminarycloud.geometry.geometry_pb2.UpdateGeometryVersionRequest,
|
|
153
|
+
luminarycloud._proto.api.v0.luminarycloud.geometry.geometry_pb2.UpdateGeometryVersionResponse,
|
|
154
|
+
]
|
|
147
155
|
GetSdkCode: grpc.UnaryUnaryMultiCallable[
|
|
148
156
|
luminarycloud._proto.api.v0.luminarycloud.geometry.geometry_pb2.GetSdkCodeRequest,
|
|
149
157
|
luminarycloud._proto.api.v0.luminarycloud.geometry.geometry_pb2.GetSdkCodeResponse,
|
|
@@ -326,12 +334,24 @@ class GeometryServiceServicer(metaclass=abc.ABCMeta):
|
|
|
326
334
|
raw response protos for their usage.
|
|
327
335
|
"""
|
|
328
336
|
@abc.abstractmethod
|
|
337
|
+
def ListGeometryVersions(
|
|
338
|
+
self,
|
|
339
|
+
request: luminarycloud._proto.api.v0.luminarycloud.geometry.geometry_pb2.ListGeometryVersionsRequest,
|
|
340
|
+
context: grpc.ServicerContext,
|
|
341
|
+
) -> luminarycloud._proto.api.v0.luminarycloud.geometry.geometry_pb2.ListGeometryVersionsResponse: ...
|
|
342
|
+
@abc.abstractmethod
|
|
329
343
|
def GetGeometryVersion(
|
|
330
344
|
self,
|
|
331
345
|
request: luminarycloud._proto.api.v0.luminarycloud.geometry.geometry_pb2.GetGeometryVersionRequest,
|
|
332
346
|
context: grpc.ServicerContext,
|
|
333
347
|
) -> luminarycloud._proto.api.v0.luminarycloud.geometry.geometry_pb2.GetGeometryVersionResponse: ...
|
|
334
348
|
@abc.abstractmethod
|
|
349
|
+
def UpdateGeometryVersion(
|
|
350
|
+
self,
|
|
351
|
+
request: luminarycloud._proto.api.v0.luminarycloud.geometry.geometry_pb2.UpdateGeometryVersionRequest,
|
|
352
|
+
context: grpc.ServicerContext,
|
|
353
|
+
) -> luminarycloud._proto.api.v0.luminarycloud.geometry.geometry_pb2.UpdateGeometryVersionResponse: ...
|
|
354
|
+
@abc.abstractmethod
|
|
335
355
|
def GetSdkCode(
|
|
336
356
|
self,
|
|
337
357
|
request: luminarycloud._proto.api.v0.luminarycloud.geometry.geometry_pb2.GetSdkCodeRequest,
|
|
@@ -18,7 +18,7 @@ from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
|
|
|
18
18
|
from luminarycloud._proto.inferenceservice import inferenceservice_pb2 as proto_dot_inferenceservice_dot_inferenceservice__pb2
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n4proto/api/v0/luminarycloud/inference/inference.proto\x12-luminary.proto.api.v0.luminarycloud.inference\x1a\x1cgoogle/api/annotations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a-proto/inferenceservice/inferenceservice.proto\"\
|
|
21
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n4proto/api/v0/luminarycloud/inference/inference.proto\x12-luminary.proto.api.v0.luminarycloud.inference\x1a\x1cgoogle/api/annotations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a-proto/inferenceservice/inferenceservice.proto\"\xaf\x01\n CreateInferenceServiceJobRequest\x12\x18\n\x10model_version_id\x18\x08 \x01(\t\x12\x0f\n\x07stl_url\x18\x02 \x01(\t\x12\x10\n\x08settings\x18\x07 \x01(\x0c\x12\x12\n\nconditions\x18\x03 \x01(\x0c\x12\x12\n\nproject_id\x18\x05 \x01(\t\x12 \n\x18write_visualization_data\x18\x06 \x01(\x08J\x04\x08\x04\x10\x05\"\x8e\x01\n!CreateInferenceServiceJobResponse\x12\x45\n\x06status\x18\x01 \x01(\x0e\x32\x35.luminary.proto.api.v0.luminarycloud.inference.Status\x12\x15\n\x08response\x18\x02 \x01(\x0cH\x00\x88\x01\x01\x42\x0b\n\t_response*D\n\x06Status\x12\x12\n\x0eSTATUS_PENDING\x10\x00\x12\x12\n\x0eSTATUS_SUCCESS\x10\x01\x12\x12\n\x0eSTATUS_FAILURE\x10\x02\x32\xea\x01\n\x10InferenceService\x12\xd5\x01\n\x19\x43reateInferenceServiceJob\x12O.luminary.proto.api.v0.luminarycloud.inference.CreateInferenceServiceJobRequest\x1aP.luminary.proto.api.v0.luminarycloud.inference.CreateInferenceServiceJobResponse\"\x15\x82\xd3\xe4\x93\x02\x0f\"\r/v0/inferenceB=Z;luminarycloud.com/core/proto/api/v0/luminarycloud/inferenceb\x06proto3')
|
|
22
22
|
|
|
23
23
|
_STATUS = DESCRIPTOR.enum_types_by_name['Status']
|
|
24
24
|
Status = enum_type_wrapper.EnumTypeWrapper(_STATUS)
|
|
@@ -50,12 +50,12 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
50
50
|
DESCRIPTOR._serialized_options = b'Z;luminarycloud.com/core/proto/api/v0/luminarycloud/inference'
|
|
51
51
|
_INFERENCESERVICE.methods_by_name['CreateInferenceServiceJob']._options = None
|
|
52
52
|
_INFERENCESERVICE.methods_by_name['CreateInferenceServiceJob']._serialized_options = b'\202\323\344\223\002\017\"\r/v0/inference'
|
|
53
|
-
_STATUS._serialized_start=
|
|
54
|
-
_STATUS._serialized_end=
|
|
53
|
+
_STATUS._serialized_start=532
|
|
54
|
+
_STATUS._serialized_end=600
|
|
55
55
|
_CREATEINFERENCESERVICEJOBREQUEST._serialized_start=210
|
|
56
|
-
_CREATEINFERENCESERVICEJOBREQUEST._serialized_end=
|
|
57
|
-
_CREATEINFERENCESERVICEJOBRESPONSE._serialized_start=
|
|
58
|
-
_CREATEINFERENCESERVICEJOBRESPONSE._serialized_end=
|
|
59
|
-
_INFERENCESERVICE._serialized_start=
|
|
60
|
-
_INFERENCESERVICE._serialized_end=
|
|
56
|
+
_CREATEINFERENCESERVICEJOBREQUEST._serialized_end=385
|
|
57
|
+
_CREATEINFERENCESERVICEJOBRESPONSE._serialized_start=388
|
|
58
|
+
_CREATEINFERENCESERVICEJOBRESPONSE._serialized_end=530
|
|
59
|
+
_INFERENCESERVICE._serialized_start=603
|
|
60
|
+
_INFERENCESERVICE._serialized_end=837
|
|
61
61
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -36,14 +36,14 @@ global___Status = Status
|
|
|
36
36
|
class CreateInferenceServiceJobRequest(google.protobuf.message.Message):
|
|
37
37
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
38
38
|
|
|
39
|
-
|
|
39
|
+
MODEL_VERSION_ID_FIELD_NUMBER: builtins.int
|
|
40
40
|
STL_URL_FIELD_NUMBER: builtins.int
|
|
41
41
|
SETTINGS_FIELD_NUMBER: builtins.int
|
|
42
42
|
CONDITIONS_FIELD_NUMBER: builtins.int
|
|
43
43
|
PROJECT_ID_FIELD_NUMBER: builtins.int
|
|
44
44
|
WRITE_VISUALIZATION_DATA_FIELD_NUMBER: builtins.int
|
|
45
|
-
|
|
46
|
-
"""
|
|
45
|
+
model_version_id: builtins.str
|
|
46
|
+
"""ID of the trained model version to use for inference"""
|
|
47
47
|
stl_url: builtins.str
|
|
48
48
|
settings: builtins.bytes
|
|
49
49
|
"""JSON encoded settings, like stencil_size."""
|
|
@@ -54,14 +54,14 @@ class CreateInferenceServiceJobRequest(google.protobuf.message.Message):
|
|
|
54
54
|
def __init__(
|
|
55
55
|
self,
|
|
56
56
|
*,
|
|
57
|
-
|
|
57
|
+
model_version_id: builtins.str = ...,
|
|
58
58
|
stl_url: builtins.str = ...,
|
|
59
59
|
settings: builtins.bytes = ...,
|
|
60
60
|
conditions: builtins.bytes = ...,
|
|
61
61
|
project_id: builtins.str = ...,
|
|
62
62
|
write_visualization_data: builtins.bool = ...,
|
|
63
63
|
) -> None: ...
|
|
64
|
-
def ClearField(self, field_name: typing_extensions.Literal["
|
|
64
|
+
def ClearField(self, field_name: typing_extensions.Literal["conditions", b"conditions", "model_version_id", b"model_version_id", "project_id", b"project_id", "settings", b"settings", "stl_url", b"stl_url", "write_visualization_data", b"write_visualization_data"]) -> None: ...
|
|
65
65
|
|
|
66
66
|
global___CreateInferenceServiceJobRequest = CreateInferenceServiceJobRequest
|
|
67
67
|
|