luminarycloud 0.15.0__py3-none-any.whl → 0.15.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.
- luminarycloud/_client/client.py +4 -0
- luminarycloud/_proto/api/v0/luminarycloud/geometry/geometry_pb2.py +81 -81
- luminarycloud/_proto/api/v0/luminarycloud/geometry/geometry_pb2.pyi +4 -1
- luminarycloud/_proto/api/v0/luminarycloud/inference/inference_pb2.py +61 -0
- luminarycloud/_proto/api/v0/luminarycloud/inference/inference_pb2.pyi +76 -0
- luminarycloud/_proto/api/v0/luminarycloud/inference/inference_pb2_grpc.py +67 -0
- luminarycloud/_proto/api/v0/luminarycloud/inference/inference_pb2_grpc.pyi +26 -0
- luminarycloud/_proto/api/v0/luminarycloud/mesh/mesh_pb2.py +29 -27
- luminarycloud/_proto/api/v0/luminarycloud/mesh/mesh_pb2.pyi +5 -1
- 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/geometry/geometry_pb2.py +8 -1
- luminarycloud/_proto/geometry/geometry_pb2.pyi +19 -0
- luminarycloud/_proto/hexmesh/hexmesh_pb2.py +37 -37
- luminarycloud/_proto/hexmesh/hexmesh_pb2.pyi +4 -4
- luminarycloud/_proto/inferenceservice/inferenceservice_pb2.py +69 -0
- luminarycloud/_proto/inferenceservice/inferenceservice_pb2.pyi +80 -0
- 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/physics_ai/inference.py +55 -0
- 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.2.dist-info}/METADATA +1 -1
- {luminarycloud-0.15.0.dist-info → luminarycloud-0.15.2.dist-info}/RECORD +35 -27
- {luminarycloud-0.15.0.dist-info → luminarycloud-0.15.2.dist-info}/WHEEL +0 -0
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: proto/inferenceservice/inferenceservice.proto
|
|
4
|
+
"""Generated protocol buffer code."""
|
|
5
|
+
from google.protobuf import descriptor as _descriptor
|
|
6
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
7
|
+
from google.protobuf import message as _message
|
|
8
|
+
from google.protobuf import reflection as _reflection
|
|
9
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
10
|
+
# @@protoc_insertion_point(imports)
|
|
11
|
+
|
|
12
|
+
_sym_db = _symbol_database.Default()
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from luminarycloud._proto.base import base_pb2 as proto_dot_base_dot_base__pb2
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-proto/inferenceservice/inferenceservice.proto\x12\x1fluminary.proto.inferenceservice\x1a\x15proto/base/base.proto\"q\n CreateInferenceServiceJobRequest\x12\x0f\n\x07stl_url\x18\x01 \x01(\t\x12\x11\n\tmodel_url\x18\x02 \x01(\t\x12\x13\n\x0b\x63onfig_name\x18\x03 \x01(\t\x12\x14\n\x0cstencil_size\x18\x04 \x01(\x05\"5\n!CreateInferenceServiceJobResponse\x12\x10\n\x08response\x18\x01 \x01(\x0c\"*\n\x1bPingInferenceServiceRequest\x12\x0b\n\x03msg\x18\x01 \x01(\t\"+\n\x1cPingInferenceServiceResponse\x12\x0b\n\x03msg\x18\x01 \x01(\t2\xcd\x02\n\x10InferenceService\x12\xa2\x01\n\x19\x43reateInferenceServiceJob\x12\x41.luminary.proto.inferenceservice.CreateInferenceServiceJobRequest\x1a\x42.luminary.proto.inferenceservice.CreateInferenceServiceJobResponse\x12\x93\x01\n\x14PingInferenceService\x12<.luminary.proto.inferenceservice.PingInferenceServiceRequest\x1a=.luminary.proto.inferenceservice.PingInferenceServiceResponseB/Z-luminarycloud.com/core/proto/inferenceserviceb\x06proto3')
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
_CREATEINFERENCESERVICEJOBREQUEST = DESCRIPTOR.message_types_by_name['CreateInferenceServiceJobRequest']
|
|
23
|
+
_CREATEINFERENCESERVICEJOBRESPONSE = DESCRIPTOR.message_types_by_name['CreateInferenceServiceJobResponse']
|
|
24
|
+
_PINGINFERENCESERVICEREQUEST = DESCRIPTOR.message_types_by_name['PingInferenceServiceRequest']
|
|
25
|
+
_PINGINFERENCESERVICERESPONSE = DESCRIPTOR.message_types_by_name['PingInferenceServiceResponse']
|
|
26
|
+
CreateInferenceServiceJobRequest = _reflection.GeneratedProtocolMessageType('CreateInferenceServiceJobRequest', (_message.Message,), {
|
|
27
|
+
'DESCRIPTOR' : _CREATEINFERENCESERVICEJOBREQUEST,
|
|
28
|
+
'__module__' : 'proto.inferenceservice.inferenceservice_pb2'
|
|
29
|
+
# @@protoc_insertion_point(class_scope:luminary.proto.inferenceservice.CreateInferenceServiceJobRequest)
|
|
30
|
+
})
|
|
31
|
+
_sym_db.RegisterMessage(CreateInferenceServiceJobRequest)
|
|
32
|
+
|
|
33
|
+
CreateInferenceServiceJobResponse = _reflection.GeneratedProtocolMessageType('CreateInferenceServiceJobResponse', (_message.Message,), {
|
|
34
|
+
'DESCRIPTOR' : _CREATEINFERENCESERVICEJOBRESPONSE,
|
|
35
|
+
'__module__' : 'proto.inferenceservice.inferenceservice_pb2'
|
|
36
|
+
# @@protoc_insertion_point(class_scope:luminary.proto.inferenceservice.CreateInferenceServiceJobResponse)
|
|
37
|
+
})
|
|
38
|
+
_sym_db.RegisterMessage(CreateInferenceServiceJobResponse)
|
|
39
|
+
|
|
40
|
+
PingInferenceServiceRequest = _reflection.GeneratedProtocolMessageType('PingInferenceServiceRequest', (_message.Message,), {
|
|
41
|
+
'DESCRIPTOR' : _PINGINFERENCESERVICEREQUEST,
|
|
42
|
+
'__module__' : 'proto.inferenceservice.inferenceservice_pb2'
|
|
43
|
+
# @@protoc_insertion_point(class_scope:luminary.proto.inferenceservice.PingInferenceServiceRequest)
|
|
44
|
+
})
|
|
45
|
+
_sym_db.RegisterMessage(PingInferenceServiceRequest)
|
|
46
|
+
|
|
47
|
+
PingInferenceServiceResponse = _reflection.GeneratedProtocolMessageType('PingInferenceServiceResponse', (_message.Message,), {
|
|
48
|
+
'DESCRIPTOR' : _PINGINFERENCESERVICERESPONSE,
|
|
49
|
+
'__module__' : 'proto.inferenceservice.inferenceservice_pb2'
|
|
50
|
+
# @@protoc_insertion_point(class_scope:luminary.proto.inferenceservice.PingInferenceServiceResponse)
|
|
51
|
+
})
|
|
52
|
+
_sym_db.RegisterMessage(PingInferenceServiceResponse)
|
|
53
|
+
|
|
54
|
+
_INFERENCESERVICE = DESCRIPTOR.services_by_name['InferenceService']
|
|
55
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
56
|
+
|
|
57
|
+
DESCRIPTOR._options = None
|
|
58
|
+
DESCRIPTOR._serialized_options = b'Z-luminarycloud.com/core/proto/inferenceservice'
|
|
59
|
+
_CREATEINFERENCESERVICEJOBREQUEST._serialized_start=105
|
|
60
|
+
_CREATEINFERENCESERVICEJOBREQUEST._serialized_end=218
|
|
61
|
+
_CREATEINFERENCESERVICEJOBRESPONSE._serialized_start=220
|
|
62
|
+
_CREATEINFERENCESERVICEJOBRESPONSE._serialized_end=273
|
|
63
|
+
_PINGINFERENCESERVICEREQUEST._serialized_start=275
|
|
64
|
+
_PINGINFERENCESERVICEREQUEST._serialized_end=317
|
|
65
|
+
_PINGINFERENCESERVICERESPONSE._serialized_start=319
|
|
66
|
+
_PINGINFERENCESERVICERESPONSE._serialized_end=362
|
|
67
|
+
_INFERENCESERVICE._serialized_start=365
|
|
68
|
+
_INFERENCESERVICE._serialized_end=698
|
|
69
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
import builtins
|
|
6
|
+
import google.protobuf.descriptor
|
|
7
|
+
import google.protobuf.message
|
|
8
|
+
import sys
|
|
9
|
+
|
|
10
|
+
if sys.version_info >= (3, 8):
|
|
11
|
+
import typing as typing_extensions
|
|
12
|
+
else:
|
|
13
|
+
import typing_extensions
|
|
14
|
+
|
|
15
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
16
|
+
|
|
17
|
+
class CreateInferenceServiceJobRequest(google.protobuf.message.Message):
|
|
18
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
19
|
+
|
|
20
|
+
STL_URL_FIELD_NUMBER: builtins.int
|
|
21
|
+
MODEL_URL_FIELD_NUMBER: builtins.int
|
|
22
|
+
CONFIG_NAME_FIELD_NUMBER: builtins.int
|
|
23
|
+
STENCIL_SIZE_FIELD_NUMBER: builtins.int
|
|
24
|
+
stl_url: builtins.str
|
|
25
|
+
model_url: builtins.str
|
|
26
|
+
config_name: builtins.str
|
|
27
|
+
stencil_size: builtins.int
|
|
28
|
+
def __init__(
|
|
29
|
+
self,
|
|
30
|
+
*,
|
|
31
|
+
stl_url: builtins.str = ...,
|
|
32
|
+
model_url: builtins.str = ...,
|
|
33
|
+
config_name: builtins.str = ...,
|
|
34
|
+
stencil_size: builtins.int = ...,
|
|
35
|
+
) -> None: ...
|
|
36
|
+
def ClearField(self, field_name: typing_extensions.Literal["config_name", b"config_name", "model_url", b"model_url", "stencil_size", b"stencil_size", "stl_url", b"stl_url"]) -> None: ...
|
|
37
|
+
|
|
38
|
+
global___CreateInferenceServiceJobRequest = CreateInferenceServiceJobRequest
|
|
39
|
+
|
|
40
|
+
class CreateInferenceServiceJobResponse(google.protobuf.message.Message):
|
|
41
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
42
|
+
|
|
43
|
+
RESPONSE_FIELD_NUMBER: builtins.int
|
|
44
|
+
response: builtins.bytes
|
|
45
|
+
def __init__(
|
|
46
|
+
self,
|
|
47
|
+
*,
|
|
48
|
+
response: builtins.bytes = ...,
|
|
49
|
+
) -> None: ...
|
|
50
|
+
def ClearField(self, field_name: typing_extensions.Literal["response", b"response"]) -> None: ...
|
|
51
|
+
|
|
52
|
+
global___CreateInferenceServiceJobResponse = CreateInferenceServiceJobResponse
|
|
53
|
+
|
|
54
|
+
class PingInferenceServiceRequest(google.protobuf.message.Message):
|
|
55
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
56
|
+
|
|
57
|
+
MSG_FIELD_NUMBER: builtins.int
|
|
58
|
+
msg: builtins.str
|
|
59
|
+
def __init__(
|
|
60
|
+
self,
|
|
61
|
+
*,
|
|
62
|
+
msg: builtins.str = ...,
|
|
63
|
+
) -> None: ...
|
|
64
|
+
def ClearField(self, field_name: typing_extensions.Literal["msg", b"msg"]) -> None: ...
|
|
65
|
+
|
|
66
|
+
global___PingInferenceServiceRequest = PingInferenceServiceRequest
|
|
67
|
+
|
|
68
|
+
class PingInferenceServiceResponse(google.protobuf.message.Message):
|
|
69
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
70
|
+
|
|
71
|
+
MSG_FIELD_NUMBER: builtins.int
|
|
72
|
+
msg: builtins.str
|
|
73
|
+
def __init__(
|
|
74
|
+
self,
|
|
75
|
+
*,
|
|
76
|
+
msg: builtins.str = ...,
|
|
77
|
+
) -> None: ...
|
|
78
|
+
def ClearField(self, field_name: typing_extensions.Literal["msg", b"msg"]) -> None: ...
|
|
79
|
+
|
|
80
|
+
global___PingInferenceServiceResponse = PingInferenceServiceResponse
|
|
@@ -15,12 +15,15 @@ _sym_db = _symbol_database.Default()
|
|
|
15
15
|
from luminarycloud._proto.base import base_pb2 as proto_dot_base_dot_base__pb2
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-proto/parametricworker/parametricworker.proto\x12\x1fluminary.proto.parametricworker\x1a\x15proto/base/base.proto\"\
|
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-proto/parametricworker/parametricworker.proto\x12\x1fluminary.proto.parametricworker\x1a\x15proto/base/base.proto\"\x8f\x05\n\tParameter\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x12\n\x05owner\x18\x02 \x01(\tH\x01\x88\x01\x01\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tH\x02\x88\x01\x01\x12\x45\n\x05\x66loat\x18\x04 \x01(\x0b\x32\x34.luminary.proto.parametricworker.Parameter.FloatTypeH\x00\x12G\n\x06matrix\x18\x05 \x01(\x0b\x32\x35.luminary.proto.parametricworker.Parameter.MatrixTypeH\x00\x1ar\n\tFloatType\x12\x31\n\x07\x61\x64_type\x18\x01 \x01(\x0b\x32 .luminary.proto.base.AdFloatType\x12\x10\n\x03min\x18\x02 \x01(\x01H\x00\x88\x01\x01\x12\x10\n\x03max\x18\x03 \x01(\x01H\x01\x88\x01\x01\x42\x06\n\x04_minB\x06\n\x04_max\x1a\x9f\x02\n\nMatrixType\x12\x30\n\tad_matrix\x18\x01 \x01(\x0b\x32\x1d.luminary.proto.base.AdMatrix\x12J\n\x07min_max\x18\x02 \x03(\x0b\x32\x39.luminary.proto.parametricworker.Parameter.MatrixType.Row\x1a\x92\x01\n\x03Row\x12N\n\x05value\x18\x01 \x03(\x0b\x32?.luminary.proto.parametricworker.Parameter.MatrixType.Row.Value\x1a;\n\x05Value\x12\x10\n\x03min\x18\x01 \x01(\x01H\x00\x88\x01\x01\x12\x10\n\x03max\x18\x02 \x01(\x01H\x01\x88\x01\x01\x42\x06\n\x04_minB\x06\n\x04_maxB\x06\n\x04typeB\x08\n\x06_ownerB\x0e\n\x0c_description\"\x1b\n\x0bOpenRequest\x12\x0c\n\x04path\x18\x01 \x01(\t\"\x0b\n\tOpenReply\"\x16\n\x14GetParametersRequest\"T\n\x12GetParametersReply\x12>\n\nparameters\x18\x01 \x03(\x0b\x32*.luminary.proto.parametricworker.Parameter\"Y\n\x17UpdateParametersRequest\x12>\n\nparameters\x18\x01 \x03(\x0b\x32*.luminary.proto.parametricworker.Parameter\"\x17\n\x15UpdateParametersReply\"\x1c\n\rExportRequest\x12\x0b\n\x03\x64ir\x18\x01 \x01(\t\"\x1b\n\x0b\x45xportReply\x12\x0c\n\x04path\x18\x01 \x01(\t\"\x11\n\x0fShutdownRequest\"\x0f\n\rShutdownReply2\xce\x04\n\x10ParametricWorker\x12`\n\x04Open\x12,.luminary.proto.parametricworker.OpenRequest\x1a*.luminary.proto.parametricworker.OpenReply\x12{\n\rGetParameters\x12\x35.luminary.proto.parametricworker.GetParametersRequest\x1a\x33.luminary.proto.parametricworker.GetParametersReply\x12\x84\x01\n\x10UpdateParameters\x12\x38.luminary.proto.parametricworker.UpdateParametersRequest\x1a\x36.luminary.proto.parametricworker.UpdateParametersReply\x12\x66\n\x06\x45xport\x12..luminary.proto.parametricworker.ExportRequest\x1a,.luminary.proto.parametricworker.ExportReply\x12l\n\x08Shutdown\x12\x30.luminary.proto.parametricworker.ShutdownRequest\x1a..luminary.proto.parametricworker.ShutdownReplyB/Z-luminarycloud.com/core/proto/parametricworkerb\x06proto3')
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
_PARAMETER = DESCRIPTOR.message_types_by_name['Parameter']
|
|
23
23
|
_PARAMETER_FLOATTYPE = _PARAMETER.nested_types_by_name['FloatType']
|
|
24
|
+
_PARAMETER_MATRIXTYPE = _PARAMETER.nested_types_by_name['MatrixType']
|
|
25
|
+
_PARAMETER_MATRIXTYPE_ROW = _PARAMETER_MATRIXTYPE.nested_types_by_name['Row']
|
|
26
|
+
_PARAMETER_MATRIXTYPE_ROW_VALUE = _PARAMETER_MATRIXTYPE_ROW.nested_types_by_name['Value']
|
|
24
27
|
_OPENREQUEST = DESCRIPTOR.message_types_by_name['OpenRequest']
|
|
25
28
|
_OPENREPLY = DESCRIPTOR.message_types_by_name['OpenReply']
|
|
26
29
|
_GETPARAMETERSREQUEST = DESCRIPTOR.message_types_by_name['GetParametersRequest']
|
|
@@ -39,12 +42,36 @@ Parameter = _reflection.GeneratedProtocolMessageType('Parameter', (_message.Mess
|
|
|
39
42
|
# @@protoc_insertion_point(class_scope:luminary.proto.parametricworker.Parameter.FloatType)
|
|
40
43
|
})
|
|
41
44
|
,
|
|
45
|
+
|
|
46
|
+
'MatrixType' : _reflection.GeneratedProtocolMessageType('MatrixType', (_message.Message,), {
|
|
47
|
+
|
|
48
|
+
'Row' : _reflection.GeneratedProtocolMessageType('Row', (_message.Message,), {
|
|
49
|
+
|
|
50
|
+
'Value' : _reflection.GeneratedProtocolMessageType('Value', (_message.Message,), {
|
|
51
|
+
'DESCRIPTOR' : _PARAMETER_MATRIXTYPE_ROW_VALUE,
|
|
52
|
+
'__module__' : 'proto.parametricworker.parametricworker_pb2'
|
|
53
|
+
# @@protoc_insertion_point(class_scope:luminary.proto.parametricworker.Parameter.MatrixType.Row.Value)
|
|
54
|
+
})
|
|
55
|
+
,
|
|
56
|
+
'DESCRIPTOR' : _PARAMETER_MATRIXTYPE_ROW,
|
|
57
|
+
'__module__' : 'proto.parametricworker.parametricworker_pb2'
|
|
58
|
+
# @@protoc_insertion_point(class_scope:luminary.proto.parametricworker.Parameter.MatrixType.Row)
|
|
59
|
+
})
|
|
60
|
+
,
|
|
61
|
+
'DESCRIPTOR' : _PARAMETER_MATRIXTYPE,
|
|
62
|
+
'__module__' : 'proto.parametricworker.parametricworker_pb2'
|
|
63
|
+
# @@protoc_insertion_point(class_scope:luminary.proto.parametricworker.Parameter.MatrixType)
|
|
64
|
+
})
|
|
65
|
+
,
|
|
42
66
|
'DESCRIPTOR' : _PARAMETER,
|
|
43
67
|
'__module__' : 'proto.parametricworker.parametricworker_pb2'
|
|
44
68
|
# @@protoc_insertion_point(class_scope:luminary.proto.parametricworker.Parameter)
|
|
45
69
|
})
|
|
46
70
|
_sym_db.RegisterMessage(Parameter)
|
|
47
71
|
_sym_db.RegisterMessage(Parameter.FloatType)
|
|
72
|
+
_sym_db.RegisterMessage(Parameter.MatrixType)
|
|
73
|
+
_sym_db.RegisterMessage(Parameter.MatrixType.Row)
|
|
74
|
+
_sym_db.RegisterMessage(Parameter.MatrixType.Row.Value)
|
|
48
75
|
|
|
49
76
|
OpenRequest = _reflection.GeneratedProtocolMessageType('OpenRequest', (_message.Message,), {
|
|
50
77
|
'DESCRIPTOR' : _OPENREQUEST,
|
|
@@ -122,29 +149,35 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
122
149
|
DESCRIPTOR._options = None
|
|
123
150
|
DESCRIPTOR._serialized_options = b'Z-luminarycloud.com/core/proto/parametricworker'
|
|
124
151
|
_PARAMETER._serialized_start=106
|
|
125
|
-
_PARAMETER._serialized_end=
|
|
126
|
-
_PARAMETER_FLOATTYPE._serialized_start=
|
|
127
|
-
_PARAMETER_FLOATTYPE._serialized_end=
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
152
|
+
_PARAMETER._serialized_end=761
|
|
153
|
+
_PARAMETER_FLOATTYPE._serialized_start=323
|
|
154
|
+
_PARAMETER_FLOATTYPE._serialized_end=437
|
|
155
|
+
_PARAMETER_MATRIXTYPE._serialized_start=440
|
|
156
|
+
_PARAMETER_MATRIXTYPE._serialized_end=727
|
|
157
|
+
_PARAMETER_MATRIXTYPE_ROW._serialized_start=581
|
|
158
|
+
_PARAMETER_MATRIXTYPE_ROW._serialized_end=727
|
|
159
|
+
_PARAMETER_MATRIXTYPE_ROW_VALUE._serialized_start=668
|
|
160
|
+
_PARAMETER_MATRIXTYPE_ROW_VALUE._serialized_end=727
|
|
161
|
+
_OPENREQUEST._serialized_start=763
|
|
162
|
+
_OPENREQUEST._serialized_end=790
|
|
163
|
+
_OPENREPLY._serialized_start=792
|
|
164
|
+
_OPENREPLY._serialized_end=803
|
|
165
|
+
_GETPARAMETERSREQUEST._serialized_start=805
|
|
166
|
+
_GETPARAMETERSREQUEST._serialized_end=827
|
|
167
|
+
_GETPARAMETERSREPLY._serialized_start=829
|
|
168
|
+
_GETPARAMETERSREPLY._serialized_end=913
|
|
169
|
+
_UPDATEPARAMETERSREQUEST._serialized_start=915
|
|
170
|
+
_UPDATEPARAMETERSREQUEST._serialized_end=1004
|
|
171
|
+
_UPDATEPARAMETERSREPLY._serialized_start=1006
|
|
172
|
+
_UPDATEPARAMETERSREPLY._serialized_end=1029
|
|
173
|
+
_EXPORTREQUEST._serialized_start=1031
|
|
174
|
+
_EXPORTREQUEST._serialized_end=1059
|
|
175
|
+
_EXPORTREPLY._serialized_start=1061
|
|
176
|
+
_EXPORTREPLY._serialized_end=1088
|
|
177
|
+
_SHUTDOWNREQUEST._serialized_start=1090
|
|
178
|
+
_SHUTDOWNREQUEST._serialized_end=1107
|
|
179
|
+
_SHUTDOWNREPLY._serialized_start=1109
|
|
180
|
+
_SHUTDOWNREPLY._serialized_end=1124
|
|
181
|
+
_PARAMETRICWORKER._serialized_start=1127
|
|
182
|
+
_PARAMETRICWORKER._serialized_end=1717
|
|
150
183
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -47,10 +47,62 @@ class Parameter(google.protobuf.message.Message):
|
|
|
47
47
|
@typing.overload
|
|
48
48
|
def WhichOneof(self, oneof_group: typing_extensions.Literal["_min", b"_min"]) -> typing_extensions.Literal["min"] | None: ...
|
|
49
49
|
|
|
50
|
+
class MatrixType(google.protobuf.message.Message):
|
|
51
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
52
|
+
|
|
53
|
+
class Row(google.protobuf.message.Message):
|
|
54
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
55
|
+
|
|
56
|
+
class Value(google.protobuf.message.Message):
|
|
57
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
58
|
+
|
|
59
|
+
MIN_FIELD_NUMBER: builtins.int
|
|
60
|
+
MAX_FIELD_NUMBER: builtins.int
|
|
61
|
+
min: builtins.float
|
|
62
|
+
max: builtins.float
|
|
63
|
+
def __init__(
|
|
64
|
+
self,
|
|
65
|
+
*,
|
|
66
|
+
min: builtins.float | None = ...,
|
|
67
|
+
max: builtins.float | None = ...,
|
|
68
|
+
) -> None: ...
|
|
69
|
+
def HasField(self, field_name: typing_extensions.Literal["_max", b"_max", "_min", b"_min", "max", b"max", "min", b"min"]) -> builtins.bool: ...
|
|
70
|
+
def ClearField(self, field_name: typing_extensions.Literal["_max", b"_max", "_min", b"_min", "max", b"max", "min", b"min"]) -> None: ...
|
|
71
|
+
@typing.overload
|
|
72
|
+
def WhichOneof(self, oneof_group: typing_extensions.Literal["_max", b"_max"]) -> typing_extensions.Literal["max"] | None: ...
|
|
73
|
+
@typing.overload
|
|
74
|
+
def WhichOneof(self, oneof_group: typing_extensions.Literal["_min", b"_min"]) -> typing_extensions.Literal["min"] | None: ...
|
|
75
|
+
|
|
76
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
77
|
+
@property
|
|
78
|
+
def value(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Parameter.MatrixType.Row.Value]: ...
|
|
79
|
+
def __init__(
|
|
80
|
+
self,
|
|
81
|
+
*,
|
|
82
|
+
value: collections.abc.Iterable[global___Parameter.MatrixType.Row.Value] | None = ...,
|
|
83
|
+
) -> None: ...
|
|
84
|
+
def ClearField(self, field_name: typing_extensions.Literal["value", b"value"]) -> None: ...
|
|
85
|
+
|
|
86
|
+
AD_MATRIX_FIELD_NUMBER: builtins.int
|
|
87
|
+
MIN_MAX_FIELD_NUMBER: builtins.int
|
|
88
|
+
@property
|
|
89
|
+
def ad_matrix(self) -> luminarycloud._proto.base.base_pb2.AdMatrix: ...
|
|
90
|
+
@property
|
|
91
|
+
def min_max(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Parameter.MatrixType.Row]: ...
|
|
92
|
+
def __init__(
|
|
93
|
+
self,
|
|
94
|
+
*,
|
|
95
|
+
ad_matrix: luminarycloud._proto.base.base_pb2.AdMatrix | None = ...,
|
|
96
|
+
min_max: collections.abc.Iterable[global___Parameter.MatrixType.Row] | None = ...,
|
|
97
|
+
) -> None: ...
|
|
98
|
+
def HasField(self, field_name: typing_extensions.Literal["ad_matrix", b"ad_matrix"]) -> builtins.bool: ...
|
|
99
|
+
def ClearField(self, field_name: typing_extensions.Literal["ad_matrix", b"ad_matrix", "min_max", b"min_max"]) -> None: ...
|
|
100
|
+
|
|
50
101
|
NAME_FIELD_NUMBER: builtins.int
|
|
51
102
|
OWNER_FIELD_NUMBER: builtins.int
|
|
52
103
|
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
53
104
|
FLOAT_FIELD_NUMBER: builtins.int
|
|
105
|
+
MATRIX_FIELD_NUMBER: builtins.int
|
|
54
106
|
name: builtins.str
|
|
55
107
|
"""Name of the parameter."""
|
|
56
108
|
owner: builtins.str
|
|
@@ -61,6 +113,8 @@ class Parameter(google.protobuf.message.Message):
|
|
|
61
113
|
"""Description of the parameter."""
|
|
62
114
|
@property
|
|
63
115
|
def float(self) -> global___Parameter.FloatType: ...
|
|
116
|
+
@property
|
|
117
|
+
def matrix(self) -> global___Parameter.MatrixType: ...
|
|
64
118
|
def __init__(
|
|
65
119
|
self,
|
|
66
120
|
*,
|
|
@@ -68,15 +122,16 @@ class Parameter(google.protobuf.message.Message):
|
|
|
68
122
|
owner: builtins.str | None = ...,
|
|
69
123
|
description: builtins.str | None = ...,
|
|
70
124
|
float: global___Parameter.FloatType | None = ...,
|
|
125
|
+
matrix: global___Parameter.MatrixType | None = ...,
|
|
71
126
|
) -> None: ...
|
|
72
|
-
def HasField(self, field_name: typing_extensions.Literal["_description", b"_description", "_owner", b"_owner", "description", b"description", "float", b"float", "owner", b"owner", "type", b"type"]) -> builtins.bool: ...
|
|
73
|
-
def ClearField(self, field_name: typing_extensions.Literal["_description", b"_description", "_owner", b"_owner", "description", b"description", "float", b"float", "name", b"name", "owner", b"owner", "type", b"type"]) -> None: ...
|
|
127
|
+
def HasField(self, field_name: typing_extensions.Literal["_description", b"_description", "_owner", b"_owner", "description", b"description", "float", b"float", "matrix", b"matrix", "owner", b"owner", "type", b"type"]) -> builtins.bool: ...
|
|
128
|
+
def ClearField(self, field_name: typing_extensions.Literal["_description", b"_description", "_owner", b"_owner", "description", b"description", "float", b"float", "matrix", b"matrix", "name", b"name", "owner", b"owner", "type", b"type"]) -> None: ...
|
|
74
129
|
@typing.overload
|
|
75
130
|
def WhichOneof(self, oneof_group: typing_extensions.Literal["_description", b"_description"]) -> typing_extensions.Literal["description"] | None: ...
|
|
76
131
|
@typing.overload
|
|
77
132
|
def WhichOneof(self, oneof_group: typing_extensions.Literal["_owner", b"_owner"]) -> typing_extensions.Literal["owner"] | None: ...
|
|
78
133
|
@typing.overload
|
|
79
|
-
def WhichOneof(self, oneof_group: typing_extensions.Literal["type", b"type"]) -> typing_extensions.Literal["float"] | None: ...
|
|
134
|
+
def WhichOneof(self, oneof_group: typing_extensions.Literal["type", b"type"]) -> typing_extensions.Literal["float", "matrix"] | None: ...
|
|
80
135
|
|
|
81
136
|
global___Parameter = Parameter
|
|
82
137
|
|