luminarycloud 0.15.4__py3-none-any.whl → 0.16.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- luminarycloud/_helpers/__init__.py +1 -0
- luminarycloud/_helpers/_code_representation.py +18 -3
- luminarycloud/_helpers/_create_geometry.py +36 -17
- luminarycloud/_helpers/download.py +67 -1
- luminarycloud/_proto/api/v0/luminarycloud/geometry/geometry_pb2.pyi +1 -2
- luminarycloud/_proto/api/v0/luminarycloud/inference/inference_pb2.py +9 -9
- luminarycloud/_proto/api/v0/luminarycloud/inference/inference_pb2.pyi +7 -4
- luminarycloud/_proto/api/v0/luminarycloud/physics_ai/physics_ai_pb2.py +45 -21
- luminarycloud/_proto/api/v0/luminarycloud/physics_ai/physics_ai_pb2.pyi +65 -0
- luminarycloud/_proto/api/v0/luminarycloud/physics_ai/physics_ai_pb2_grpc.py +34 -0
- luminarycloud/_proto/api/v0/luminarycloud/physics_ai/physics_ai_pb2_grpc.pyi +12 -0
- luminarycloud/_proto/api/v0/luminarycloud/thirdpartyintegration/onshape/onshape_pb2.py +191 -82
- luminarycloud/_proto/api/v0/luminarycloud/thirdpartyintegration/onshape/onshape_pb2.pyi +327 -74
- luminarycloud/_proto/api/v0/luminarycloud/thirdpartyintegration/onshape/onshape_pb2_grpc.py +140 -65
- luminarycloud/_proto/api/v0/luminarycloud/thirdpartyintegration/onshape/onshape_pb2_grpc.pyi +74 -38
- luminarycloud/_proto/api/v0/luminarycloud/upload/upload_pb2.py +6 -2
- luminarycloud/_proto/api/v0/luminarycloud/upload/upload_pb2_grpc.py +71 -0
- luminarycloud/_proto/api/v0/luminarycloud/upload/upload_pb2_grpc.pyi +32 -0
- luminarycloud/_proto/assistant/assistant_pb2.py +76 -75
- luminarycloud/_proto/assistant/assistant_pb2.pyi +21 -18
- luminarycloud/_proto/assistant/assistant_pb2_grpc.py +14 -14
- luminarycloud/_proto/assistant/assistant_pb2_grpc.pyi +8 -8
- luminarycloud/_proto/base/base_pb2.py +7 -6
- luminarycloud/_proto/base/base_pb2.pyi +4 -0
- luminarycloud/_proto/client/simulation_pb2.py +188 -186
- luminarycloud/_proto/client/simulation_pb2.pyi +10 -2
- luminarycloud/_proto/geometry/geometry_pb2.py +63 -64
- luminarycloud/_proto/geometry/geometry_pb2.pyi +5 -1
- luminarycloud/_proto/inferenceservice/inferenceservice_pb2.py +11 -11
- luminarycloud/_proto/inferenceservice/inferenceservice_pb2.pyi +12 -4
- luminarycloud/_proto/quantity/quantity_pb2.py +11 -2
- luminarycloud/_proto/quantity/quantity_pb2.pyi +6 -0
- luminarycloud/_proto/table/table_pb2.pyi +4 -2
- luminarycloud/_proto/upload/upload_pb2.py +47 -7
- luminarycloud/_proto/upload/upload_pb2.pyi +62 -0
- luminarycloud/enum/quantity_type.py +15 -0
- luminarycloud/mesh.py +8 -1
- luminarycloud/params/simulation/physics/fluid/solution_controls/fluid_relaxation_method/fluid_implicit_relaxation/robust_startup/__init__.py +1 -0
- luminarycloud/params/simulation/physics/fluid/solution_controls/fluid_relaxation_method/fluid_implicit_relaxation/robust_startup/robust_startup_auto_.py +30 -0
- luminarycloud/params/simulation/physics/fluid/solution_controls/fluid_relaxation_method/fluid_implicit_relaxation/robust_startup/robust_startup_on_.py +1 -1
- luminarycloud/params/simulation/physics/fluid/solution_controls/fluid_relaxation_method/fluid_implicit_relaxation_.py +7 -3
- luminarycloud/params/simulation/physics/fluid/solution_controls_fluid_.py +4 -0
- luminarycloud/params/simulation/physics/fluid/turbulence_.py +1 -1
- luminarycloud/params/simulation/physics/fluid_.py +1 -1
- luminarycloud/params/simulation/physics/heat/solution_controls/heat_relaxation_method/heat_implicit_relaxation_.py +1 -1
- luminarycloud/params/simulation/physics/heat/solution_controls_heat_.py +1 -1
- luminarycloud/physics_ai/__init__.py +4 -0
- luminarycloud/physics_ai/inference.py +140 -4
- luminarycloud/physics_ai/solution.py +60 -0
- luminarycloud/tables.py +6 -8
- luminarycloud/vis/data_extraction.py +4 -5
- luminarycloud/vis/display.py +26 -11
- luminarycloud/vis/filters.py +116 -68
- luminarycloud/vis/primitives.py +3 -2
- luminarycloud/vis/visualization.py +197 -40
- {luminarycloud-0.15.4.dist-info → luminarycloud-0.16.0.dist-info}/METADATA +1 -1
- {luminarycloud-0.15.4.dist-info → luminarycloud-0.16.0.dist-info}/RECORD +58 -56
- {luminarycloud-0.15.4.dist-info → luminarycloud-0.16.0.dist-info}/WHEEL +0 -0
|
@@ -6,16 +6,56 @@ import builtins
|
|
|
6
6
|
import collections.abc
|
|
7
7
|
import google.protobuf.descriptor
|
|
8
8
|
import google.protobuf.internal.containers
|
|
9
|
+
import google.protobuf.internal.enum_type_wrapper
|
|
9
10
|
import google.protobuf.message
|
|
10
11
|
import sys
|
|
12
|
+
import typing
|
|
11
13
|
|
|
12
|
-
if sys.version_info >= (3,
|
|
14
|
+
if sys.version_info >= (3, 10):
|
|
13
15
|
import typing as typing_extensions
|
|
14
16
|
else:
|
|
15
17
|
import typing_extensions
|
|
16
18
|
|
|
17
19
|
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
18
20
|
|
|
21
|
+
class _OnshapeElementType:
|
|
22
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
23
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
24
|
+
|
|
25
|
+
class _OnshapeElementTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_OnshapeElementType.ValueType], builtins.type): # noqa: F821
|
|
26
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
27
|
+
PART_STUDIO: _OnshapeElementType.ValueType # 0
|
|
28
|
+
ASSEMBLY: _OnshapeElementType.ValueType # 1
|
|
29
|
+
|
|
30
|
+
class OnshapeElementType(_OnshapeElementType, metaclass=_OnshapeElementTypeEnumTypeWrapper): ...
|
|
31
|
+
|
|
32
|
+
PART_STUDIO: OnshapeElementType.ValueType # 0
|
|
33
|
+
ASSEMBLY: OnshapeElementType.ValueType # 1
|
|
34
|
+
global___OnshapeElementType = OnshapeElementType
|
|
35
|
+
|
|
36
|
+
class GetAuthenticationStatusRequest(google.protobuf.message.Message):
|
|
37
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
38
|
+
|
|
39
|
+
def __init__(
|
|
40
|
+
self,
|
|
41
|
+
) -> None: ...
|
|
42
|
+
|
|
43
|
+
global___GetAuthenticationStatusRequest = GetAuthenticationStatusRequest
|
|
44
|
+
|
|
45
|
+
class GetAuthenticationStatusReply(google.protobuf.message.Message):
|
|
46
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
47
|
+
|
|
48
|
+
AUTH_ACTIVE_FIELD_NUMBER: builtins.int
|
|
49
|
+
auth_active: builtins.bool
|
|
50
|
+
def __init__(
|
|
51
|
+
self,
|
|
52
|
+
*,
|
|
53
|
+
auth_active: builtins.bool = ...,
|
|
54
|
+
) -> None: ...
|
|
55
|
+
def ClearField(self, field_name: typing_extensions.Literal["auth_active", b"auth_active"]) -> None: ...
|
|
56
|
+
|
|
57
|
+
global___GetAuthenticationStatusReply = GetAuthenticationStatusReply
|
|
58
|
+
|
|
19
59
|
class OnshapePath(google.protobuf.message.Message):
|
|
20
60
|
"""Provides the full description necessary to reference an element in Onshape."""
|
|
21
61
|
|
|
@@ -76,179 +116,392 @@ class OnshapeVariable(google.protobuf.message.Message):
|
|
|
76
116
|
|
|
77
117
|
global___OnshapeVariable = OnshapeVariable
|
|
78
118
|
|
|
79
|
-
class
|
|
119
|
+
class OnshapeCompanyInfo(google.protobuf.message.Message):
|
|
80
120
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
81
121
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
122
|
+
ID_FIELD_NUMBER: builtins.int
|
|
123
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
124
|
+
PREFIX_FIELD_NUMBER: builtins.int
|
|
125
|
+
id: builtins.str
|
|
126
|
+
name: builtins.str
|
|
127
|
+
prefix: builtins.str
|
|
85
128
|
def __init__(
|
|
86
129
|
self,
|
|
87
130
|
*,
|
|
88
|
-
|
|
131
|
+
id: builtins.str = ...,
|
|
132
|
+
name: builtins.str = ...,
|
|
133
|
+
prefix: builtins.str = ...,
|
|
89
134
|
) -> None: ...
|
|
90
|
-
def ClearField(self, field_name: typing_extensions.Literal["
|
|
135
|
+
def ClearField(self, field_name: typing_extensions.Literal["id", b"id", "name", b"name", "prefix", b"prefix"]) -> None: ...
|
|
91
136
|
|
|
92
|
-
|
|
137
|
+
global___OnshapeCompanyInfo = OnshapeCompanyInfo
|
|
93
138
|
|
|
94
|
-
class
|
|
95
|
-
|
|
139
|
+
class OnshapeDocumentVersion(google.protobuf.message.Message):
|
|
140
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
96
141
|
|
|
142
|
+
ID_FIELD_NUMBER: builtins.int
|
|
143
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
144
|
+
MODIFIED_TIME_FIELD_NUMBER: builtins.int
|
|
145
|
+
CREATION_TIME_FIELD_NUMBER: builtins.int
|
|
146
|
+
id: builtins.str
|
|
147
|
+
name: builtins.str
|
|
148
|
+
modified_time: builtins.int
|
|
149
|
+
creation_time: builtins.int
|
|
150
|
+
def __init__(
|
|
151
|
+
self,
|
|
152
|
+
*,
|
|
153
|
+
id: builtins.str = ...,
|
|
154
|
+
name: builtins.str = ...,
|
|
155
|
+
modified_time: builtins.int = ...,
|
|
156
|
+
creation_time: builtins.int = ...,
|
|
157
|
+
) -> None: ...
|
|
158
|
+
def ClearField(self, field_name: typing_extensions.Literal["creation_time", b"creation_time", "id", b"id", "modified_time", b"modified_time", "name", b"name"]) -> None: ...
|
|
159
|
+
|
|
160
|
+
global___OnshapeDocumentVersion = OnshapeDocumentVersion
|
|
161
|
+
|
|
162
|
+
class OnshapeDocumentWorkspace(google.protobuf.message.Message):
|
|
97
163
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
98
164
|
|
|
165
|
+
ID_FIELD_NUMBER: builtins.int
|
|
166
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
167
|
+
MODIFIED_TIME_FIELD_NUMBER: builtins.int
|
|
168
|
+
CREATION_TIME_FIELD_NUMBER: builtins.int
|
|
169
|
+
id: builtins.str
|
|
170
|
+
name: builtins.str
|
|
171
|
+
modified_time: builtins.int
|
|
172
|
+
creation_time: builtins.int
|
|
99
173
|
def __init__(
|
|
100
174
|
self,
|
|
175
|
+
*,
|
|
176
|
+
id: builtins.str = ...,
|
|
177
|
+
name: builtins.str = ...,
|
|
178
|
+
modified_time: builtins.int = ...,
|
|
179
|
+
creation_time: builtins.int = ...,
|
|
101
180
|
) -> None: ...
|
|
181
|
+
def ClearField(self, field_name: typing_extensions.Literal["creation_time", b"creation_time", "id", b"id", "modified_time", b"modified_time", "name", b"name"]) -> None: ...
|
|
182
|
+
|
|
183
|
+
global___OnshapeDocumentWorkspace = OnshapeDocumentWorkspace
|
|
184
|
+
|
|
185
|
+
class OnshapeDocument(google.protobuf.message.Message):
|
|
186
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
102
187
|
|
|
103
|
-
|
|
188
|
+
ID_FIELD_NUMBER: builtins.int
|
|
189
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
190
|
+
THUMBNAIL_FIELD_NUMBER: builtins.int
|
|
191
|
+
VERSIONS_FIELD_NUMBER: builtins.int
|
|
192
|
+
WORKSPACES_FIELD_NUMBER: builtins.int
|
|
193
|
+
MODIFIED_TIME_FIELD_NUMBER: builtins.int
|
|
194
|
+
CREATION_TIME_FIELD_NUMBER: builtins.int
|
|
195
|
+
id: builtins.str
|
|
196
|
+
name: builtins.str
|
|
197
|
+
thumbnail: builtins.bytes
|
|
198
|
+
"""Thumbnail in PNG"""
|
|
199
|
+
@property
|
|
200
|
+
def versions(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___OnshapeDocumentVersion]: ...
|
|
201
|
+
@property
|
|
202
|
+
def workspaces(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___OnshapeDocumentWorkspace]: ...
|
|
203
|
+
modified_time: builtins.int
|
|
204
|
+
creation_time: builtins.int
|
|
205
|
+
def __init__(
|
|
206
|
+
self,
|
|
207
|
+
*,
|
|
208
|
+
id: builtins.str = ...,
|
|
209
|
+
name: builtins.str = ...,
|
|
210
|
+
thumbnail: builtins.bytes = ...,
|
|
211
|
+
versions: collections.abc.Iterable[global___OnshapeDocumentVersion] | None = ...,
|
|
212
|
+
workspaces: collections.abc.Iterable[global___OnshapeDocumentWorkspace] | None = ...,
|
|
213
|
+
modified_time: builtins.int = ...,
|
|
214
|
+
creation_time: builtins.int = ...,
|
|
215
|
+
) -> None: ...
|
|
216
|
+
def ClearField(self, field_name: typing_extensions.Literal["creation_time", b"creation_time", "id", b"id", "modified_time", b"modified_time", "name", b"name", "thumbnail", b"thumbnail", "versions", b"versions", "workspaces", b"workspaces"]) -> None: ...
|
|
104
217
|
|
|
105
|
-
|
|
106
|
-
"""TODO: Figure out what to do here"""
|
|
218
|
+
global___OnshapeDocument = OnshapeDocument
|
|
107
219
|
|
|
220
|
+
class OnshapeDocumentOnly(google.protobuf.message.Message):
|
|
108
221
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
109
222
|
|
|
223
|
+
ID_FIELD_NUMBER: builtins.int
|
|
224
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
225
|
+
THUMBNAIL_FIELD_NUMBER: builtins.int
|
|
226
|
+
MODIFIED_TIME_FIELD_NUMBER: builtins.int
|
|
227
|
+
CREATION_TIME_FIELD_NUMBER: builtins.int
|
|
228
|
+
id: builtins.str
|
|
229
|
+
name: builtins.str
|
|
230
|
+
thumbnail: builtins.bytes
|
|
231
|
+
"""Thumbnail in PNG"""
|
|
232
|
+
modified_time: builtins.int
|
|
233
|
+
creation_time: builtins.int
|
|
110
234
|
def __init__(
|
|
111
235
|
self,
|
|
236
|
+
*,
|
|
237
|
+
id: builtins.str = ...,
|
|
238
|
+
name: builtins.str = ...,
|
|
239
|
+
thumbnail: builtins.bytes = ...,
|
|
240
|
+
modified_time: builtins.int = ...,
|
|
241
|
+
creation_time: builtins.int = ...,
|
|
112
242
|
) -> None: ...
|
|
243
|
+
def ClearField(self, field_name: typing_extensions.Literal["creation_time", b"creation_time", "id", b"id", "modified_time", b"modified_time", "name", b"name", "thumbnail", b"thumbnail"]) -> None: ...
|
|
113
244
|
|
|
114
|
-
|
|
245
|
+
global___OnshapeDocumentOnly = OnshapeDocumentOnly
|
|
115
246
|
|
|
116
|
-
class
|
|
247
|
+
class ListDocumentsRequest(google.protobuf.message.Message):
|
|
117
248
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
118
249
|
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
250
|
+
NEXT_PAGE_FIELD_NUMBER: builtins.int
|
|
251
|
+
PREVIOUS_PAGE_FIELD_NUMBER: builtins.int
|
|
252
|
+
COMPANY_PREFIX_FIELD_NUMBER: builtins.int
|
|
253
|
+
next_page: builtins.str
|
|
254
|
+
"""Value from reply to provide to get the next page.
|
|
255
|
+
Only one of next_page or previous_page should be supplied.
|
|
256
|
+
If neither supplied, then the first page is returned.
|
|
257
|
+
"""
|
|
258
|
+
previous_page: builtins.str
|
|
259
|
+
"""Value from reply to provide to get the previous page.
|
|
260
|
+
Only one of next_page or previous_page should be supplied.
|
|
261
|
+
If neither supplied, then the first page is returned.
|
|
262
|
+
"""
|
|
263
|
+
company_prefix: builtins.str
|
|
264
|
+
"""Company Prefix, as in https://{company_prefix}.onshape.com/...
|
|
265
|
+
Not needed if using next_page or previous_page
|
|
266
|
+
"""
|
|
122
267
|
def __init__(
|
|
123
268
|
self,
|
|
124
269
|
*,
|
|
125
|
-
|
|
270
|
+
next_page: builtins.str = ...,
|
|
271
|
+
previous_page: builtins.str = ...,
|
|
272
|
+
company_prefix: builtins.str = ...,
|
|
126
273
|
) -> None: ...
|
|
127
|
-
def ClearField(self, field_name: typing_extensions.Literal["
|
|
274
|
+
def ClearField(self, field_name: typing_extensions.Literal["company_prefix", b"company_prefix", "next_page", b"next_page", "previous_page", b"previous_page"]) -> None: ...
|
|
128
275
|
|
|
129
|
-
|
|
276
|
+
global___ListDocumentsRequest = ListDocumentsRequest
|
|
130
277
|
|
|
131
|
-
class
|
|
278
|
+
class ListDocumentsReply(google.protobuf.message.Message):
|
|
132
279
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
133
280
|
|
|
134
|
-
|
|
135
|
-
|
|
281
|
+
DOCUMENTS_FIELD_NUMBER: builtins.int
|
|
282
|
+
NEXT_PAGE_FIELD_NUMBER: builtins.int
|
|
283
|
+
PREVIOUS_PAGE_FIELD_NUMBER: builtins.int
|
|
284
|
+
@property
|
|
285
|
+
def documents(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___OnshapeDocumentOnly]: ...
|
|
286
|
+
next_page: builtins.str
|
|
287
|
+
"""(Encrypted) value to provide in request to get the next page.
|
|
288
|
+
If empty, then there are no more pages.
|
|
289
|
+
"""
|
|
290
|
+
previous_page: builtins.str
|
|
291
|
+
"""(Encrypted) value to provide in request to get the previous page.
|
|
292
|
+
If empty, there are no previous pages.
|
|
293
|
+
"""
|
|
136
294
|
def __init__(
|
|
137
295
|
self,
|
|
138
296
|
*,
|
|
139
|
-
|
|
297
|
+
documents: collections.abc.Iterable[global___OnshapeDocumentOnly] | None = ...,
|
|
298
|
+
next_page: builtins.str = ...,
|
|
299
|
+
previous_page: builtins.str = ...,
|
|
140
300
|
) -> None: ...
|
|
141
|
-
def ClearField(self, field_name: typing_extensions.Literal["
|
|
301
|
+
def ClearField(self, field_name: typing_extensions.Literal["documents", b"documents", "next_page", b"next_page", "previous_page", b"previous_page"]) -> None: ...
|
|
142
302
|
|
|
143
|
-
|
|
303
|
+
global___ListDocumentsReply = ListDocumentsReply
|
|
144
304
|
|
|
145
|
-
class
|
|
305
|
+
class ListWorkspacesAndVersionsRequest(google.protobuf.message.Message):
|
|
146
306
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
147
307
|
|
|
148
|
-
SESSION_FIELD_NUMBER: builtins.int
|
|
149
308
|
PATH_FIELD_NUMBER: builtins.int
|
|
150
|
-
PROJECT_ID_FIELD_NUMBER: builtins.int
|
|
151
|
-
session: builtins.str
|
|
152
|
-
"""JWT session key that identifies the user. Must be set."""
|
|
153
309
|
@property
|
|
154
310
|
def path(self) -> global___OnshapePath: ...
|
|
155
|
-
project_id: builtins.str
|
|
156
311
|
def __init__(
|
|
157
312
|
self,
|
|
158
313
|
*,
|
|
159
|
-
session: builtins.str = ...,
|
|
160
314
|
path: global___OnshapePath | None = ...,
|
|
161
|
-
project_id: builtins.str = ...,
|
|
162
315
|
) -> None: ...
|
|
163
316
|
def HasField(self, field_name: typing_extensions.Literal["path", b"path"]) -> builtins.bool: ...
|
|
164
|
-
def ClearField(self, field_name: typing_extensions.Literal["path", b"path"
|
|
317
|
+
def ClearField(self, field_name: typing_extensions.Literal["path", b"path"]) -> None: ...
|
|
165
318
|
|
|
166
|
-
|
|
319
|
+
global___ListWorkspacesAndVersionsRequest = ListWorkspacesAndVersionsRequest
|
|
167
320
|
|
|
168
|
-
class
|
|
321
|
+
class ListWorkspacesAndVersionsReply(google.protobuf.message.Message):
|
|
169
322
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
170
323
|
|
|
171
|
-
|
|
324
|
+
WORKSPACES_FIELD_NUMBER: builtins.int
|
|
325
|
+
VERSIONS_FIELD_NUMBER: builtins.int
|
|
172
326
|
@property
|
|
173
|
-
def
|
|
327
|
+
def workspaces(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___OnshapeDocumentWorkspace]: ...
|
|
328
|
+
@property
|
|
329
|
+
def versions(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___OnshapeDocumentVersion]: ...
|
|
174
330
|
def __init__(
|
|
175
331
|
self,
|
|
176
332
|
*,
|
|
177
|
-
|
|
333
|
+
workspaces: collections.abc.Iterable[global___OnshapeDocumentWorkspace] | None = ...,
|
|
334
|
+
versions: collections.abc.Iterable[global___OnshapeDocumentVersion] | None = ...,
|
|
178
335
|
) -> None: ...
|
|
179
|
-
def ClearField(self, field_name: typing_extensions.Literal["
|
|
336
|
+
def ClearField(self, field_name: typing_extensions.Literal["versions", b"versions", "workspaces", b"workspaces"]) -> None: ...
|
|
180
337
|
|
|
181
|
-
|
|
338
|
+
global___ListWorkspacesAndVersionsReply = ListWorkspacesAndVersionsReply
|
|
182
339
|
|
|
183
|
-
class
|
|
340
|
+
class ListDocumentsWithWorkspaceAndVersionsRequest(google.protobuf.message.Message):
|
|
341
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
342
|
+
|
|
343
|
+
NEXT_PAGE_FIELD_NUMBER: builtins.int
|
|
344
|
+
PREVIOUS_PAGE_FIELD_NUMBER: builtins.int
|
|
345
|
+
COMPANY_PREFIX_FIELD_NUMBER: builtins.int
|
|
346
|
+
next_page: builtins.str
|
|
347
|
+
"""Value from reply to provide to get the next page.
|
|
348
|
+
Only one of next_page or previous_page should be supplied.
|
|
349
|
+
If neither supplied, then the first page is returned.
|
|
350
|
+
"""
|
|
351
|
+
previous_page: builtins.str
|
|
352
|
+
"""Value from reply to provide to get the previous page.
|
|
353
|
+
Only one of next_page or previous_page should be supplied.
|
|
354
|
+
If neither supplied, then the first page is returned.
|
|
355
|
+
"""
|
|
356
|
+
company_prefix: builtins.str
|
|
357
|
+
"""Company Prefix, as in https://{company_prefix}.onshape.com/...
|
|
358
|
+
Not needed if using next_page or previous_page
|
|
359
|
+
"""
|
|
360
|
+
def __init__(
|
|
361
|
+
self,
|
|
362
|
+
*,
|
|
363
|
+
next_page: builtins.str = ...,
|
|
364
|
+
previous_page: builtins.str = ...,
|
|
365
|
+
company_prefix: builtins.str = ...,
|
|
366
|
+
) -> None: ...
|
|
367
|
+
def ClearField(self, field_name: typing_extensions.Literal["company_prefix", b"company_prefix", "next_page", b"next_page", "previous_page", b"previous_page"]) -> None: ...
|
|
368
|
+
|
|
369
|
+
global___ListDocumentsWithWorkspaceAndVersionsRequest = ListDocumentsWithWorkspaceAndVersionsRequest
|
|
370
|
+
|
|
371
|
+
class ListDocumentsWithWorkspaceAndVersionsReply(google.protobuf.message.Message):
|
|
372
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
373
|
+
|
|
374
|
+
DOCUMENTS_FIELD_NUMBER: builtins.int
|
|
375
|
+
NEXT_PAGE_FIELD_NUMBER: builtins.int
|
|
376
|
+
PREVIOUS_PAGE_FIELD_NUMBER: builtins.int
|
|
377
|
+
@property
|
|
378
|
+
def documents(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___OnshapeDocument]: ...
|
|
379
|
+
next_page: builtins.str
|
|
380
|
+
"""(Encrypted) value to provide in request to get the next page.
|
|
381
|
+
If empty, then there are no more pages.
|
|
382
|
+
"""
|
|
383
|
+
previous_page: builtins.str
|
|
384
|
+
"""(Encrypted) value to provide in request to get the previous page.
|
|
385
|
+
If empty, there are no previous pages.
|
|
386
|
+
"""
|
|
387
|
+
def __init__(
|
|
388
|
+
self,
|
|
389
|
+
*,
|
|
390
|
+
documents: collections.abc.Iterable[global___OnshapeDocument] | None = ...,
|
|
391
|
+
next_page: builtins.str = ...,
|
|
392
|
+
previous_page: builtins.str = ...,
|
|
393
|
+
) -> None: ...
|
|
394
|
+
def ClearField(self, field_name: typing_extensions.Literal["documents", b"documents", "next_page", b"next_page", "previous_page", b"previous_page"]) -> None: ...
|
|
395
|
+
|
|
396
|
+
global___ListDocumentsWithWorkspaceAndVersionsReply = ListDocumentsWithWorkspaceAndVersionsReply
|
|
397
|
+
|
|
398
|
+
class OnshapeElement(google.protobuf.message.Message):
|
|
399
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
400
|
+
|
|
401
|
+
ID_FIELD_NUMBER: builtins.int
|
|
402
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
403
|
+
TYPE_FIELD_NUMBER: builtins.int
|
|
404
|
+
THUMBNAIL_FIELD_NUMBER: builtins.int
|
|
405
|
+
id: builtins.str
|
|
406
|
+
name: builtins.str
|
|
407
|
+
type: global___OnshapeElementType.ValueType
|
|
408
|
+
thumbnail: builtins.bytes
|
|
409
|
+
"""Thumbnail in PNG"""
|
|
410
|
+
def __init__(
|
|
411
|
+
self,
|
|
412
|
+
*,
|
|
413
|
+
id: builtins.str = ...,
|
|
414
|
+
name: builtins.str = ...,
|
|
415
|
+
type: global___OnshapeElementType.ValueType = ...,
|
|
416
|
+
thumbnail: builtins.bytes = ...,
|
|
417
|
+
) -> None: ...
|
|
418
|
+
def ClearField(self, field_name: typing_extensions.Literal["id", b"id", "name", b"name", "thumbnail", b"thumbnail", "type", b"type"]) -> None: ...
|
|
419
|
+
|
|
420
|
+
global___OnshapeElement = OnshapeElement
|
|
421
|
+
|
|
422
|
+
class ListImportablesForSelectionRequest(google.protobuf.message.Message):
|
|
184
423
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
185
424
|
|
|
186
|
-
SESSION_FIELD_NUMBER: builtins.int
|
|
187
425
|
PATH_FIELD_NUMBER: builtins.int
|
|
188
|
-
session: builtins.str
|
|
189
|
-
"""JWT session key that identifies the user. Must be set."""
|
|
190
426
|
@property
|
|
191
|
-
def path(self) -> global___OnshapePath:
|
|
427
|
+
def path(self) -> global___OnshapePath:
|
|
428
|
+
"""Element should be empty in path (will be ignored)"""
|
|
192
429
|
def __init__(
|
|
193
430
|
self,
|
|
194
431
|
*,
|
|
195
|
-
session: builtins.str = ...,
|
|
196
432
|
path: global___OnshapePath | None = ...,
|
|
197
433
|
) -> None: ...
|
|
198
434
|
def HasField(self, field_name: typing_extensions.Literal["path", b"path"]) -> builtins.bool: ...
|
|
199
|
-
def ClearField(self, field_name: typing_extensions.Literal["path", b"path"
|
|
435
|
+
def ClearField(self, field_name: typing_extensions.Literal["path", b"path"]) -> None: ...
|
|
200
436
|
|
|
201
|
-
|
|
437
|
+
global___ListImportablesForSelectionRequest = ListImportablesForSelectionRequest
|
|
202
438
|
|
|
203
|
-
class
|
|
439
|
+
class ListImportablesForSelectionReply(google.protobuf.message.Message):
|
|
204
440
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
205
441
|
|
|
206
|
-
|
|
442
|
+
ELEMENTS_FIELD_NUMBER: builtins.int
|
|
207
443
|
@property
|
|
208
|
-
def
|
|
444
|
+
def elements(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___OnshapeElement]: ...
|
|
209
445
|
def __init__(
|
|
210
446
|
self,
|
|
211
447
|
*,
|
|
212
|
-
|
|
448
|
+
elements: collections.abc.Iterable[global___OnshapeElement] | None = ...,
|
|
213
449
|
) -> None: ...
|
|
214
|
-
def ClearField(self, field_name: typing_extensions.Literal["
|
|
450
|
+
def ClearField(self, field_name: typing_extensions.Literal["elements", b"elements"]) -> None: ...
|
|
215
451
|
|
|
216
|
-
|
|
452
|
+
global___ListImportablesForSelectionReply = ListImportablesForSelectionReply
|
|
453
|
+
|
|
454
|
+
class GetCompanyPrefixesRequest(google.protobuf.message.Message):
|
|
455
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
456
|
+
|
|
457
|
+
def __init__(
|
|
458
|
+
self,
|
|
459
|
+
) -> None: ...
|
|
460
|
+
|
|
461
|
+
global___GetCompanyPrefixesRequest = GetCompanyPrefixesRequest
|
|
462
|
+
|
|
463
|
+
class GetCompanyPrefixesReply(google.protobuf.message.Message):
|
|
464
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
217
465
|
|
|
218
|
-
|
|
466
|
+
COMPANIES_FIELD_NUMBER: builtins.int
|
|
467
|
+
@property
|
|
468
|
+
def companies(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___OnshapeCompanyInfo]: ...
|
|
469
|
+
def __init__(
|
|
470
|
+
self,
|
|
471
|
+
*,
|
|
472
|
+
companies: collections.abc.Iterable[global___OnshapeCompanyInfo] | None = ...,
|
|
473
|
+
) -> None: ...
|
|
474
|
+
def ClearField(self, field_name: typing_extensions.Literal["companies", b"companies"]) -> None: ...
|
|
475
|
+
|
|
476
|
+
global___GetCompanyPrefixesReply = GetCompanyPrefixesReply
|
|
477
|
+
|
|
478
|
+
class FetchVariablesRequest(google.protobuf.message.Message):
|
|
219
479
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
220
480
|
|
|
221
|
-
SESSION_FIELD_NUMBER: builtins.int
|
|
222
481
|
PATH_FIELD_NUMBER: builtins.int
|
|
223
|
-
VARIABLES_FIELD_NUMBER: builtins.int
|
|
224
|
-
session: builtins.str
|
|
225
|
-
"""JWT session key that identifies the user. Must be set."""
|
|
226
482
|
@property
|
|
227
483
|
def path(self) -> global___OnshapePath: ...
|
|
228
|
-
@property
|
|
229
|
-
def variables(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___OnshapeVariable]: ...
|
|
230
484
|
def __init__(
|
|
231
485
|
self,
|
|
232
486
|
*,
|
|
233
|
-
session: builtins.str = ...,
|
|
234
487
|
path: global___OnshapePath | None = ...,
|
|
235
|
-
variables: collections.abc.Iterable[global___OnshapeVariable] | None = ...,
|
|
236
488
|
) -> None: ...
|
|
237
489
|
def HasField(self, field_name: typing_extensions.Literal["path", b"path"]) -> builtins.bool: ...
|
|
238
|
-
def ClearField(self, field_name: typing_extensions.Literal["path", b"path"
|
|
490
|
+
def ClearField(self, field_name: typing_extensions.Literal["path", b"path"]) -> None: ...
|
|
239
491
|
|
|
240
|
-
|
|
492
|
+
global___FetchVariablesRequest = FetchVariablesRequest
|
|
241
493
|
|
|
242
|
-
class
|
|
494
|
+
class FetchVariablesReply(google.protobuf.message.Message):
|
|
243
495
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
244
496
|
|
|
245
|
-
|
|
246
|
-
|
|
497
|
+
NAMES_FIELD_NUMBER: builtins.int
|
|
498
|
+
@property
|
|
499
|
+
def names(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
|
247
500
|
def __init__(
|
|
248
501
|
self,
|
|
249
502
|
*,
|
|
250
|
-
|
|
503
|
+
names: collections.abc.Iterable[builtins.str] | None = ...,
|
|
251
504
|
) -> None: ...
|
|
252
|
-
def ClearField(self, field_name: typing_extensions.Literal["
|
|
505
|
+
def ClearField(self, field_name: typing_extensions.Literal["names", b"names"]) -> None: ...
|
|
253
506
|
|
|
254
|
-
|
|
507
|
+
global___FetchVariablesReply = FetchVariablesReply
|