luminarycloud 0.22.0__py3-none-any.whl → 0.22.2__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.
Files changed (86) hide show
  1. luminarycloud/_client/authentication_plugin.py +49 -0
  2. luminarycloud/_client/client.py +38 -11
  3. luminarycloud/_client/http_client.py +1 -1
  4. luminarycloud/_client/retry_interceptor.py +64 -2
  5. luminarycloud/_helpers/__init__.py +9 -0
  6. luminarycloud/_helpers/_inference_jobs.py +227 -0
  7. luminarycloud/_helpers/_parse_iso_datetime.py +54 -0
  8. luminarycloud/_helpers/download.py +11 -0
  9. luminarycloud/_helpers/proto_decorator.py +38 -7
  10. luminarycloud/_proto/api/v0/luminarycloud/geometry/geometry_pb2.py +152 -132
  11. luminarycloud/_proto/api/v0/luminarycloud/geometry/geometry_pb2.pyi +66 -8
  12. luminarycloud/_proto/api/v0/luminarycloud/geometry/geometry_pb2_grpc.py +34 -0
  13. luminarycloud/_proto/api/v0/luminarycloud/geometry/geometry_pb2_grpc.pyi +12 -0
  14. luminarycloud/_proto/api/v0/luminarycloud/physics_ai/physics_ai_pb2.py +142 -39
  15. luminarycloud/_proto/api/v0/luminarycloud/physics_ai/physics_ai_pb2.pyi +300 -3
  16. luminarycloud/_proto/api/v0/luminarycloud/physics_ai/physics_ai_pb2_grpc.py +34 -0
  17. luminarycloud/_proto/api/v0/luminarycloud/physics_ai/physics_ai_pb2_grpc.pyi +12 -0
  18. luminarycloud/_proto/api/v0/luminarycloud/physicsaiinference/physicsaiinference_pb2.py +255 -0
  19. luminarycloud/_proto/api/v0/luminarycloud/physicsaiinference/physicsaiinference_pb2.pyi +466 -0
  20. luminarycloud/_proto/api/v0/luminarycloud/physicsaiinference/physicsaiinference_pb2_grpc.py +242 -0
  21. luminarycloud/_proto/api/v0/luminarycloud/physicsaiinference/physicsaiinference_pb2_grpc.pyi +95 -0
  22. luminarycloud/_proto/api/v0/luminarycloud/simulation/simulation_pb2.py +29 -7
  23. luminarycloud/_proto/api/v0/luminarycloud/simulation/simulation_pb2.pyi +39 -0
  24. luminarycloud/_proto/api/v0/luminarycloud/simulation/simulation_pb2_grpc.py +36 -0
  25. luminarycloud/_proto/api/v0/luminarycloud/simulation/simulation_pb2_grpc.pyi +18 -0
  26. luminarycloud/_proto/api/v0/luminarycloud/thirdpartyintegration/onshape/onshape_pb2.py +88 -65
  27. luminarycloud/_proto/api/v0/luminarycloud/thirdpartyintegration/onshape/onshape_pb2.pyi +42 -0
  28. luminarycloud/_proto/api/v0/luminarycloud/thirdpartyintegration/onshape/onshape_pb2_grpc.py +34 -0
  29. luminarycloud/_proto/api/v0/luminarycloud/thirdpartyintegration/onshape/onshape_pb2_grpc.pyi +12 -0
  30. luminarycloud/_proto/api/v0/luminarycloud/vis/vis_pb2.py +163 -153
  31. luminarycloud/_proto/api/v0/luminarycloud/vis/vis_pb2.pyi +37 -3
  32. luminarycloud/_proto/base/base_pb2.py +7 -6
  33. luminarycloud/_proto/base/base_pb2.pyi +4 -0
  34. luminarycloud/_proto/client/simulation_pb2.py +358 -339
  35. luminarycloud/_proto/client/simulation_pb2.pyi +89 -3
  36. luminarycloud/_proto/physicsaiinferenceservice/physicsaiinferenceservice_pb2.py +35 -0
  37. luminarycloud/_proto/physicsaiinferenceservice/physicsaiinferenceservice_pb2.pyi +7 -0
  38. luminarycloud/_proto/physicsaitrainingservice/physicsaitrainingservice_pb2.py +6 -3
  39. luminarycloud/_proto/physicsaitrainingservice/physicsaitrainingservice_pb2_grpc.py +68 -0
  40. luminarycloud/_proto/physicsaitrainingservice/physicsaitrainingservice_pb2_grpc.pyi +24 -0
  41. luminarycloud/_wrapper.py +53 -7
  42. luminarycloud/enum/vis_enums.py +6 -0
  43. luminarycloud/feature_modification.py +25 -32
  44. luminarycloud/geometry.py +10 -6
  45. luminarycloud/geometry_version.py +4 -0
  46. luminarycloud/mesh.py +4 -0
  47. luminarycloud/meshing/mesh_generation_params.py +5 -6
  48. luminarycloud/meshing/sizing_strategy/sizing_strategies.py +1 -2
  49. luminarycloud/outputs/__init__.py +2 -0
  50. luminarycloud/outputs/output_definitions.py +3 -3
  51. luminarycloud/outputs/stopping_conditions.py +94 -0
  52. luminarycloud/params/enum/_enum_wrappers.py +16 -0
  53. luminarycloud/params/geometry/shapes.py +33 -33
  54. luminarycloud/params/simulation/adaptive_mesh_refinement/__init__.py +1 -0
  55. luminarycloud/params/simulation/adaptive_mesh_refinement/active_region_.py +83 -0
  56. luminarycloud/params/simulation/adaptive_mesh_refinement/boundary_layer_profile_.py +1 -1
  57. luminarycloud/params/simulation/adaptive_mesh_refinement_.py +8 -1
  58. luminarycloud/physics_ai/__init__.py +7 -0
  59. luminarycloud/physics_ai/inference.py +166 -199
  60. luminarycloud/physics_ai/models.py +22 -0
  61. luminarycloud/physics_ai/solution.py +4 -0
  62. luminarycloud/pipelines/api.py +143 -16
  63. luminarycloud/pipelines/core.py +1 -1
  64. luminarycloud/pipelines/stages.py +22 -9
  65. luminarycloud/project.py +61 -8
  66. luminarycloud/simulation.py +25 -0
  67. luminarycloud/types/__init__.py +2 -0
  68. luminarycloud/types/ids.py +2 -0
  69. luminarycloud/types/vector3.py +1 -2
  70. luminarycloud/vis/__init__.py +1 -0
  71. luminarycloud/vis/data_extraction.py +7 -7
  72. luminarycloud/vis/filters.py +97 -0
  73. luminarycloud/vis/interactive_report.py +163 -7
  74. luminarycloud/vis/report.py +113 -1
  75. luminarycloud/vis/visualization.py +3 -0
  76. luminarycloud/volume_selection.py +16 -8
  77. luminarycloud/workflow_utils.py +149 -0
  78. {luminarycloud-0.22.0.dist-info → luminarycloud-0.22.2.dist-info}/METADATA +1 -1
  79. {luminarycloud-0.22.0.dist-info → luminarycloud-0.22.2.dist-info}/RECORD +80 -76
  80. {luminarycloud-0.22.0.dist-info → luminarycloud-0.22.2.dist-info}/WHEEL +1 -1
  81. luminarycloud/_proto/api/v0/luminarycloud/inference/inference_pb2.py +0 -61
  82. luminarycloud/_proto/api/v0/luminarycloud/inference/inference_pb2.pyi +0 -85
  83. luminarycloud/_proto/api/v0/luminarycloud/inference/inference_pb2_grpc.py +0 -67
  84. luminarycloud/_proto/api/v0/luminarycloud/inference/inference_pb2_grpc.pyi +0 -26
  85. luminarycloud/_proto/inferenceservice/inferenceservice_pb2.py +0 -69
  86. luminarycloud/pipeline_util/dictable.py +0 -27
@@ -0,0 +1,466 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+ import builtins
6
+ import collections.abc
7
+ import google.protobuf.descriptor
8
+ import google.protobuf.internal.containers
9
+ import google.protobuf.internal.enum_type_wrapper
10
+ import google.protobuf.message
11
+ import luminarycloud._proto.base.base_pb2
12
+ import sys
13
+ import typing
14
+
15
+ if sys.version_info >= (3, 10):
16
+ import typing as typing_extensions
17
+ else:
18
+ import typing_extensions
19
+
20
+ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
21
+
22
+ class _VisualizationOutput:
23
+ ValueType = typing.NewType("ValueType", builtins.int)
24
+ V: typing_extensions.TypeAlias = ValueType
25
+
26
+ class _VisualizationOutputEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_VisualizationOutput.ValueType], builtins.type): # noqa: F821
27
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
28
+ INVALID: _VisualizationOutput.ValueType # 0
29
+ LUMINARY: _VisualizationOutput.ValueType # 1
30
+ VTK: _VisualizationOutput.ValueType # 2
31
+
32
+ class VisualizationOutput(_VisualizationOutput, metaclass=_VisualizationOutputEnumTypeWrapper):
33
+ """Visualization output types."""
34
+
35
+ INVALID: VisualizationOutput.ValueType # 0
36
+ LUMINARY: VisualizationOutput.ValueType # 1
37
+ VTK: VisualizationOutput.ValueType # 2
38
+ global___VisualizationOutput = VisualizationOutput
39
+
40
+ class _field_type:
41
+ ValueType = typing.NewType("ValueType", builtins.int)
42
+ V: typing_extensions.TypeAlias = ValueType
43
+
44
+ class _field_typeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_field_type.ValueType], builtins.type): # noqa: F821
45
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
46
+ UNKNOWN_TYPE: _field_type.ValueType # 0
47
+ SCALAR: _field_type.ValueType # 1
48
+ VECTOR: _field_type.ValueType # 2
49
+
50
+ class field_type(_field_type, metaclass=_field_typeEnumTypeWrapper): ...
51
+
52
+ UNKNOWN_TYPE: field_type.ValueType # 0
53
+ SCALAR: field_type.ValueType # 1
54
+ VECTOR: field_type.ValueType # 2
55
+ global___field_type = field_type
56
+
57
+ class _field_category:
58
+ ValueType = typing.NewType("ValueType", builtins.int)
59
+ V: typing_extensions.TypeAlias = ValueType
60
+
61
+ class _field_categoryEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_field_category.ValueType], builtins.type): # noqa: F821
62
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
63
+ UNKNOWN_CATEGORY: _field_category.ValueType # 0
64
+ NUMERIC: _field_category.ValueType # 1
65
+ SURFACE: _field_category.ValueType # 2
66
+ VOLUME: _field_category.ValueType # 3
67
+
68
+ class field_category(_field_category, metaclass=_field_categoryEnumTypeWrapper): ...
69
+
70
+ UNKNOWN_CATEGORY: field_category.ValueType # 0
71
+ NUMERIC: field_category.ValueType # 1
72
+ SURFACE: field_category.ValueType # 2
73
+ VOLUME: field_category.ValueType # 3
74
+ global___field_category = field_category
75
+
76
+ class CreateInferenceServiceJobRequest(google.protobuf.message.Message):
77
+ """Request message for creating an inference service job."""
78
+
79
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
80
+
81
+ REQUEST_ID_FIELD_NUMBER: builtins.int
82
+ PROJECT_ID_FIELD_NUMBER: builtins.int
83
+ MODEL_VERSION_ID_FIELD_NUMBER: builtins.int
84
+ GEOMETRY_FIELD_NUMBER: builtins.int
85
+ SURFACES_FIELD_NUMBER: builtins.int
86
+ INFERENCE_FIELDS_FIELD_NUMBER: builtins.int
87
+ SETTINGS_FIELD_NUMBER: builtins.int
88
+ PER_SURFACE_VISUALIZATIONS_FIELD_NUMBER: builtins.int
89
+ MERGED_VISUALIZATIONS_FIELD_NUMBER: builtins.int
90
+ CONDITIONS_FIELD_NUMBER: builtins.int
91
+ request_id: builtins.str
92
+ """Optional. Request ID used to deduplicate creation requests. If not provided, a new ID will be generated."""
93
+ project_id: builtins.str
94
+ """Required. Project ID where the inference job will be created."""
95
+ model_version_id: builtins.str
96
+ """Required. ID of the trained model version to use for inference."""
97
+ geometry: builtins.str
98
+ """Required. STL URL we will perform inference on."""
99
+ @property
100
+ def surfaces(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___SurfaceForInference]:
101
+ """STL defining the surfaces where inference will be performed"""
102
+ @property
103
+ def inference_fields(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
104
+ """Optional. Specific fields within the trained model to return inference results for."""
105
+ settings: builtins.bytes
106
+ """Optional. JSON encoded settings for DoMINO (e.g., stencil_size)."""
107
+ @property
108
+ def per_surface_visualizations(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[global___VisualizationOutput.ValueType]:
109
+ """Types of visualization to write for each surface"""
110
+ @property
111
+ def merged_visualizations(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[global___VisualizationOutput.ValueType]:
112
+ """Types of merged visualization to write"""
113
+ conditions: builtins.bytes
114
+ """Optional. JSON encoded conditions to apply to the model (e.g., alpha, mach number, etc.)."""
115
+ def __init__(
116
+ self,
117
+ *,
118
+ request_id: builtins.str = ...,
119
+ project_id: builtins.str = ...,
120
+ model_version_id: builtins.str = ...,
121
+ geometry: builtins.str = ...,
122
+ surfaces: collections.abc.Iterable[global___SurfaceForInference] | None = ...,
123
+ inference_fields: collections.abc.Iterable[builtins.str] | None = ...,
124
+ settings: builtins.bytes | None = ...,
125
+ per_surface_visualizations: collections.abc.Iterable[global___VisualizationOutput.ValueType] | None = ...,
126
+ merged_visualizations: collections.abc.Iterable[global___VisualizationOutput.ValueType] | None = ...,
127
+ conditions: builtins.bytes | None = ...,
128
+ ) -> None: ...
129
+ def HasField(self, field_name: typing_extensions.Literal["_conditions", b"_conditions", "_settings", b"_settings", "conditions", b"conditions", "settings", b"settings"]) -> builtins.bool: ...
130
+ def ClearField(self, field_name: typing_extensions.Literal["_conditions", b"_conditions", "_settings", b"_settings", "conditions", b"conditions", "geometry", b"geometry", "inference_fields", b"inference_fields", "merged_visualizations", b"merged_visualizations", "model_version_id", b"model_version_id", "per_surface_visualizations", b"per_surface_visualizations", "project_id", b"project_id", "request_id", b"request_id", "settings", b"settings", "surfaces", b"surfaces"]) -> None: ...
131
+ @typing.overload
132
+ def WhichOneof(self, oneof_group: typing_extensions.Literal["_conditions", b"_conditions"]) -> typing_extensions.Literal["conditions"] | None: ...
133
+ @typing.overload
134
+ def WhichOneof(self, oneof_group: typing_extensions.Literal["_settings", b"_settings"]) -> typing_extensions.Literal["settings"] | None: ...
135
+
136
+ global___CreateInferenceServiceJobRequest = CreateInferenceServiceJobRequest
137
+
138
+ class SurfaceForInference(google.protobuf.message.Message):
139
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
140
+
141
+ NAME_FIELD_NUMBER: builtins.int
142
+ URL_FIELD_NUMBER: builtins.int
143
+ name: builtins.str
144
+ """Name of the surface"""
145
+ url: builtins.str
146
+ """STL defining the surface"""
147
+ def __init__(
148
+ self,
149
+ *,
150
+ name: builtins.str = ...,
151
+ url: builtins.str = ...,
152
+ ) -> None: ...
153
+ def ClearField(self, field_name: typing_extensions.Literal["name", b"name", "url", b"url"]) -> None: ...
154
+
155
+ global___SurfaceForInference = SurfaceForInference
156
+
157
+ class DoubleVector(google.protobuf.message.Message):
158
+ """Double vector message for inference results."""
159
+
160
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
161
+
162
+ VALUES_FIELD_NUMBER: builtins.int
163
+ @property
164
+ def values(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.float]: ...
165
+ def __init__(
166
+ self,
167
+ *,
168
+ values: collections.abc.Iterable[builtins.float] | None = ...,
169
+ ) -> None: ...
170
+ def ClearField(self, field_name: typing_extensions.Literal["values", b"values"]) -> None: ...
171
+
172
+ global___DoubleVector = DoubleVector
173
+
174
+ class VisualizationExport(google.protobuf.message.Message):
175
+ """Visualization export information."""
176
+
177
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
178
+
179
+ TYPE_FIELD_NUMBER: builtins.int
180
+ URL_FIELD_NUMBER: builtins.int
181
+ type: global___VisualizationOutput.ValueType
182
+ url: builtins.str
183
+ def __init__(
184
+ self,
185
+ *,
186
+ type: global___VisualizationOutput.ValueType = ...,
187
+ url: builtins.str = ...,
188
+ ) -> None: ...
189
+ def ClearField(self, field_name: typing_extensions.Literal["type", b"type", "url", b"url"]) -> None: ...
190
+
191
+ global___VisualizationExport = VisualizationExport
192
+
193
+ class NumericResult(google.protobuf.message.Message):
194
+ """Inference result value."""
195
+
196
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
197
+
198
+ SCALAR_FIELD_NUMBER: builtins.int
199
+ VECTOR_FIELD_NUMBER: builtins.int
200
+ scalar: builtins.float
201
+ @property
202
+ def vector(self) -> global___DoubleVector: ...
203
+ def __init__(
204
+ self,
205
+ *,
206
+ scalar: builtins.float = ...,
207
+ vector: global___DoubleVector | None = ...,
208
+ ) -> None: ...
209
+ def HasField(self, field_name: typing_extensions.Literal["scalar", b"scalar", "value", b"value", "vector", b"vector"]) -> builtins.bool: ...
210
+ def ClearField(self, field_name: typing_extensions.Literal["scalar", b"scalar", "value", b"value", "vector", b"vector"]) -> None: ...
211
+ def WhichOneof(self, oneof_group: typing_extensions.Literal["value", b"value"]) -> typing_extensions.Literal["scalar", "vector"] | None: ...
212
+
213
+ global___NumericResult = NumericResult
214
+
215
+ class InferenceResult(google.protobuf.message.Message):
216
+ """An inference service job."""
217
+
218
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
219
+
220
+ class NumberOutputsEntry(google.protobuf.message.Message):
221
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
222
+
223
+ KEY_FIELD_NUMBER: builtins.int
224
+ VALUE_FIELD_NUMBER: builtins.int
225
+ key: builtins.str
226
+ @property
227
+ def value(self) -> global___NumericResult: ...
228
+ def __init__(
229
+ self,
230
+ *,
231
+ key: builtins.str = ...,
232
+ value: global___NumericResult | None = ...,
233
+ ) -> None: ...
234
+ def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ...
235
+ def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ...
236
+
237
+ class SurfaceResultsEntry(google.protobuf.message.Message):
238
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
239
+
240
+ KEY_FIELD_NUMBER: builtins.int
241
+ VALUE_FIELD_NUMBER: builtins.int
242
+ key: builtins.str
243
+ value: builtins.str
244
+ def __init__(
245
+ self,
246
+ *,
247
+ key: builtins.str = ...,
248
+ value: builtins.str = ...,
249
+ ) -> None: ...
250
+ def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ...
251
+
252
+ class VolumeResultsEntry(google.protobuf.message.Message):
253
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
254
+
255
+ KEY_FIELD_NUMBER: builtins.int
256
+ VALUE_FIELD_NUMBER: builtins.int
257
+ key: builtins.str
258
+ value: builtins.str
259
+ def __init__(
260
+ self,
261
+ *,
262
+ key: builtins.str = ...,
263
+ value: builtins.str = ...,
264
+ ) -> None: ...
265
+ def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ...
266
+
267
+ NAME_FIELD_NUMBER: builtins.int
268
+ NUMBER_OUTPUTS_FIELD_NUMBER: builtins.int
269
+ SURFACE_RESULTS_FIELD_NUMBER: builtins.int
270
+ VOLUME_RESULTS_FIELD_NUMBER: builtins.int
271
+ VISUALIZATIONS_FIELD_NUMBER: builtins.int
272
+ name: builtins.str
273
+ """Name of surface"""
274
+ @property
275
+ def number_outputs(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, global___NumericResult]:
276
+ """Map of number outputs (e.g., lift and drag forces)."""
277
+ @property
278
+ def surface_results(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
279
+ """Map of surface results (e.g., URL to data in GCS for surface pressure)."""
280
+ @property
281
+ def volume_results(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
282
+ """Map of volume results (e.g., URL to data in GCS for pressure, velocity)."""
283
+ @property
284
+ def visualizations(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___VisualizationExport]:
285
+ """List of visualization exports."""
286
+ def __init__(
287
+ self,
288
+ *,
289
+ name: builtins.str = ...,
290
+ number_outputs: collections.abc.Mapping[builtins.str, global___NumericResult] | None = ...,
291
+ surface_results: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
292
+ volume_results: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
293
+ visualizations: collections.abc.Iterable[global___VisualizationExport] | None = ...,
294
+ ) -> None: ...
295
+ def ClearField(self, field_name: typing_extensions.Literal["name", b"name", "number_outputs", b"number_outputs", "surface_results", b"surface_results", "visualizations", b"visualizations", "volume_results", b"volume_results"]) -> None: ...
296
+
297
+ global___InferenceResult = InferenceResult
298
+
299
+ class InferenceServiceJob(google.protobuf.message.Message):
300
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
301
+
302
+ JOB_ID_FIELD_NUMBER: builtins.int
303
+ RESULTS_FIELD_NUMBER: builtins.int
304
+ MERGED_VISUALIZATIONS_FIELD_NUMBER: builtins.int
305
+ STATUS_FIELD_NUMBER: builtins.int
306
+ job_id: builtins.str
307
+ """Unique identifier for the job."""
308
+ @property
309
+ def results(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___InferenceResult]: ...
310
+ @property
311
+ def merged_visualizations(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___VisualizationExport]: ...
312
+ @property
313
+ def status(self) -> luminarycloud._proto.base.base_pb2.JobStatus:
314
+ """Current status of the job (e.g., Active, Completed, Failed)."""
315
+ def __init__(
316
+ self,
317
+ *,
318
+ job_id: builtins.str = ...,
319
+ results: collections.abc.Iterable[global___InferenceResult] | None = ...,
320
+ merged_visualizations: collections.abc.Iterable[global___VisualizationExport] | None = ...,
321
+ status: luminarycloud._proto.base.base_pb2.JobStatus | None = ...,
322
+ ) -> None: ...
323
+ def HasField(self, field_name: typing_extensions.Literal["status", b"status"]) -> builtins.bool: ...
324
+ def ClearField(self, field_name: typing_extensions.Literal["job_id", b"job_id", "merged_visualizations", b"merged_visualizations", "results", b"results", "status", b"status"]) -> None: ...
325
+
326
+ global___InferenceServiceJob = InferenceServiceJob
327
+
328
+ class GetInferenceFieldsRequest(google.protobuf.message.Message):
329
+ """Request message for getting inference fields of a model version"""
330
+
331
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
332
+
333
+ MODEL_VERSION_ID_FIELD_NUMBER: builtins.int
334
+ model_version_id: builtins.str
335
+ def __init__(
336
+ self,
337
+ *,
338
+ model_version_id: builtins.str = ...,
339
+ ) -> None: ...
340
+ def ClearField(self, field_name: typing_extensions.Literal["model_version_id", b"model_version_id"]) -> None: ...
341
+
342
+ global___GetInferenceFieldsRequest = GetInferenceFieldsRequest
343
+
344
+ class InferenceField(google.protobuf.message.Message):
345
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
346
+
347
+ NAME_FIELD_NUMBER: builtins.int
348
+ TYPE_FIELD_NUMBER: builtins.int
349
+ CATEGORY_FIELD_NUMBER: builtins.int
350
+ name: builtins.str
351
+ type: global___field_type.ValueType
352
+ category: global___field_category.ValueType
353
+ def __init__(
354
+ self,
355
+ *,
356
+ name: builtins.str = ...,
357
+ type: global___field_type.ValueType = ...,
358
+ category: global___field_category.ValueType = ...,
359
+ ) -> None: ...
360
+ def ClearField(self, field_name: typing_extensions.Literal["category", b"category", "name", b"name", "type", b"type"]) -> None: ...
361
+
362
+ global___InferenceField = InferenceField
363
+
364
+ class GetInferenceFieldsResponse(google.protobuf.message.Message):
365
+ """Response message for for getting inference fields of a model version"""
366
+
367
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
368
+
369
+ INFERENCE_FIELDS_FIELD_NUMBER: builtins.int
370
+ @property
371
+ def inference_fields(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___InferenceField]: ...
372
+ def __init__(
373
+ self,
374
+ *,
375
+ inference_fields: collections.abc.Iterable[global___InferenceField] | None = ...,
376
+ ) -> None: ...
377
+ def ClearField(self, field_name: typing_extensions.Literal["inference_fields", b"inference_fields"]) -> None: ...
378
+
379
+ global___GetInferenceFieldsResponse = GetInferenceFieldsResponse
380
+
381
+ class GetInferenceServiceJobRequest(google.protobuf.message.Message):
382
+ """Request message for getting an inference service job."""
383
+
384
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
385
+
386
+ JOB_ID_FIELD_NUMBER: builtins.int
387
+ job_id: builtins.str
388
+ """Required. Inference job ID."""
389
+ def __init__(
390
+ self,
391
+ *,
392
+ job_id: builtins.str = ...,
393
+ ) -> None: ...
394
+ def ClearField(self, field_name: typing_extensions.Literal["job_id", b"job_id"]) -> None: ...
395
+
396
+ global___GetInferenceServiceJobRequest = GetInferenceServiceJobRequest
397
+
398
+ class GetInferenceServiceJobResponse(google.protobuf.message.Message):
399
+ """Response message for getting an inference service job."""
400
+
401
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
402
+
403
+ JOB_FIELD_NUMBER: builtins.int
404
+ @property
405
+ def job(self) -> global___InferenceServiceJob:
406
+ """The inference service job."""
407
+ def __init__(
408
+ self,
409
+ *,
410
+ job: global___InferenceServiceJob | None = ...,
411
+ ) -> None: ...
412
+ def HasField(self, field_name: typing_extensions.Literal["job", b"job"]) -> builtins.bool: ...
413
+ def ClearField(self, field_name: typing_extensions.Literal["job", b"job"]) -> None: ...
414
+
415
+ global___GetInferenceServiceJobResponse = GetInferenceServiceJobResponse
416
+
417
+ class ListInferenceServiceJobsRequest(google.protobuf.message.Message):
418
+ """Request message for listing inference service jobs."""
419
+
420
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
421
+
422
+ PROJECT_ID_FIELD_NUMBER: builtins.int
423
+ project_id: builtins.str
424
+ """Required. Project ID to list inference jobs for."""
425
+ def __init__(
426
+ self,
427
+ *,
428
+ project_id: builtins.str = ...,
429
+ ) -> None: ...
430
+ def ClearField(self, field_name: typing_extensions.Literal["project_id", b"project_id"]) -> None: ...
431
+
432
+ global___ListInferenceServiceJobsRequest = ListInferenceServiceJobsRequest
433
+
434
+ class ListInferenceServiceJobsResponse(google.protobuf.message.Message):
435
+ """Response message for listing inference service jobs."""
436
+
437
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
438
+
439
+ JOBS_FIELD_NUMBER: builtins.int
440
+ @property
441
+ def jobs(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___InferenceServiceJob]:
442
+ """List of inference service jobs."""
443
+ def __init__(
444
+ self,
445
+ *,
446
+ jobs: collections.abc.Iterable[global___InferenceServiceJob] | None = ...,
447
+ ) -> None: ...
448
+ def ClearField(self, field_name: typing_extensions.Literal["jobs", b"jobs"]) -> None: ...
449
+
450
+ global___ListInferenceServiceJobsResponse = ListInferenceServiceJobsResponse
451
+
452
+ class DeleteInferenceJobRequest(google.protobuf.message.Message):
453
+ """Request message for deleting an inference service job."""
454
+
455
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
456
+
457
+ JOB_ID_FIELD_NUMBER: builtins.int
458
+ job_id: builtins.str
459
+ def __init__(
460
+ self,
461
+ *,
462
+ job_id: builtins.str = ...,
463
+ ) -> None: ...
464
+ def ClearField(self, field_name: typing_extensions.Literal["job_id", b"job_id"]) -> None: ...
465
+
466
+ global___DeleteInferenceJobRequest = DeleteInferenceJobRequest