luminarycloud 0.16.1__py3-none-any.whl → 0.17.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/_auth/auth.py +23 -34
- luminarycloud/_client/client.py +21 -5
- luminarycloud/_client/retry_interceptor.py +7 -0
- luminarycloud/_helpers/_create_geometry.py +0 -2
- luminarycloud/_helpers/_wait_for_mesh.py +14 -4
- luminarycloud/_helpers/warnings/__init__.py +0 -1
- luminarycloud/_proto/api/v0/luminarycloud/geometry/geometry_pb2.py +120 -120
- luminarycloud/_proto/api/v0/luminarycloud/geometry/geometry_pb2.pyi +2 -8
- luminarycloud/_proto/api/v0/luminarycloud/mesh/mesh_pb2.py +25 -3
- luminarycloud/_proto/api/v0/luminarycloud/mesh/mesh_pb2.pyi +30 -0
- luminarycloud/_proto/api/v0/luminarycloud/mesh/mesh_pb2_grpc.py +34 -0
- luminarycloud/_proto/api/v0/luminarycloud/mesh/mesh_pb2_grpc.pyi +12 -0
- luminarycloud/_proto/api/v0/luminarycloud/project_ui_state/project_ui_state_pb2.py +97 -0
- luminarycloud/_proto/api/v0/luminarycloud/project_ui_state/project_ui_state_pb2.pyi +93 -0
- luminarycloud/_proto/api/v0/luminarycloud/project_ui_state/project_ui_state_pb2_grpc.py +132 -0
- luminarycloud/_proto/api/v0/luminarycloud/project_ui_state/project_ui_state_pb2_grpc.pyi +44 -0
- luminarycloud/_proto/api/v0/luminarycloud/thirdpartyintegration/onshape/onshape_pb2.py +88 -34
- luminarycloud/_proto/api/v0/luminarycloud/thirdpartyintegration/onshape/onshape_pb2.pyi +96 -6
- luminarycloud/_proto/api/v0/luminarycloud/thirdpartyintegration/onshape/onshape_pb2_grpc.py +68 -0
- luminarycloud/_proto/api/v0/luminarycloud/thirdpartyintegration/onshape/onshape_pb2_grpc.pyi +24 -0
- luminarycloud/_proto/api/v0/luminarycloud/vis/vis_pb2.py +153 -133
- luminarycloud/_proto/api/v0/luminarycloud/vis/vis_pb2.pyi +51 -3
- luminarycloud/_proto/cad/shape_pb2.py +78 -19
- luminarycloud/_proto/cad/transformation_pb2.py +34 -15
- luminarycloud/_proto/geometry/geometry_pb2.py +62 -62
- luminarycloud/_proto/geometry/geometry_pb2.pyi +3 -5
- luminarycloud/_proto/hexmesh/hexmesh_pb2.py +17 -4
- luminarycloud/_proto/hexmesh/hexmesh_pb2.pyi +22 -1
- luminarycloud/_proto/quantity/quantity_pb2.py +19 -19
- luminarycloud/_proto/upload/upload_pb2.py +25 -15
- luminarycloud/_proto/upload/upload_pb2.pyi +31 -2
- luminarycloud/feature_modification.py +0 -5
- luminarycloud/geometry.py +15 -2
- luminarycloud/mesh.py +16 -0
- luminarycloud/named_variable_set.py +3 -4
- luminarycloud/outputs/stopping_conditions.py +0 -3
- luminarycloud/physics_ai/architectures.py +0 -4
- luminarycloud/physics_ai/inference.py +0 -4
- luminarycloud/physics_ai/models.py +0 -4
- luminarycloud/physics_ai/solution.py +2 -2
- luminarycloud/pipelines/__init__.py +6 -0
- luminarycloud/pipelines/arguments.py +105 -0
- luminarycloud/pipelines/core.py +204 -20
- luminarycloud/pipelines/operators.py +11 -9
- luminarycloud/pipelines/parameters.py +25 -4
- luminarycloud/project.py +37 -11
- luminarycloud/simulation_param.py +0 -2
- luminarycloud/simulation_template.py +1 -3
- luminarycloud/solution.py +1 -3
- luminarycloud/vis/__init__.py +2 -0
- luminarycloud/vis/data_extraction.py +201 -31
- luminarycloud/vis/filters.py +94 -35
- luminarycloud/vis/primitives.py +78 -1
- luminarycloud/vis/visualization.py +44 -6
- luminarycloud/volume_selection.py +0 -4
- {luminarycloud-0.16.1.dist-info → luminarycloud-0.17.0.dist-info}/METADATA +1 -1
- {luminarycloud-0.16.1.dist-info → luminarycloud-0.17.0.dist-info}/RECORD +58 -54
- luminarycloud/_helpers/warnings/experimental.py +0 -48
- {luminarycloud-0.16.1.dist-info → luminarycloud-0.17.0.dist-info}/WHEEL +0 -0
|
@@ -17,7 +17,7 @@ from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
|
17
17
|
from luminarycloud._proto.ratelimit import ratelimit_pb2 as proto_dot_ratelimit_dot_ratelimit__pb2
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\nFproto/api/v0/luminarycloud/thirdpartyintegration/onshape/onshape.proto\x12\x41luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape\x1a\x1cgoogle/api/annotations.proto\x1a\x1fproto/ratelimit/ratelimit.proto\" \n\x1eGetAuthenticationStatusRequest\"3\n\x1cGetAuthenticationStatusReply\x12\x13\n\x0b\x61uth_active\x18\x01 \x01(\x08\"m\n\x0bOnshapePath\x12\x16\n\x0e\x63ompany_prefix\x18\x01 \x01(\t\x12\x13\n\x0b\x64ocument_id\x18\x02 \x01(\t\x12\x0e\n\x06w_or_v\x18\x03 \x01(\t\x12\r\n\x05wv_id\x18\x04 \x01(\t\x12\x12\n\nelement_id\x18\x05 \x01(\t\"e\n\x0fOnshapeVariable\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\r\n\x05value\x18\x03 \x01(\t\x12\x12\n\nexpression\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\">\n\x12OnshapeCompanyInfo\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0e\n\x06prefix\x18\x03 \x01(\t\"`\n\x16OnshapeDocumentVersion\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x15\n\rmodified_time\x18\x03 \x01(\x03\x12\x15\n\rcreation_time\x18\x04 \x01(\x03\"b\n\x18OnshapeDocumentWorkspace\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x15\n\rmodified_time\x18\x03 \x01(\x03\x12\x15\n\rcreation_time\x18\x04 \x01(\x03\"\
|
|
20
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\nFproto/api/v0/luminarycloud/thirdpartyintegration/onshape/onshape.proto\x12\x41luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape\x1a\x1cgoogle/api/annotations.proto\x1a\x1fproto/ratelimit/ratelimit.proto\" \n\x1eGetAuthenticationStatusRequest\"3\n\x1cGetAuthenticationStatusReply\x12\x13\n\x0b\x61uth_active\x18\x01 \x01(\x08\"m\n\x0bOnshapePath\x12\x16\n\x0e\x63ompany_prefix\x18\x01 \x01(\t\x12\x13\n\x0b\x64ocument_id\x18\x02 \x01(\t\x12\x0e\n\x06w_or_v\x18\x03 \x01(\t\x12\r\n\x05wv_id\x18\x04 \x01(\t\x12\x12\n\nelement_id\x18\x05 \x01(\t\"e\n\x0fOnshapeVariable\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\r\n\x05value\x18\x03 \x01(\t\x12\x12\n\nexpression\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\">\n\x12OnshapeCompanyInfo\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0e\n\x06prefix\x18\x03 \x01(\t\"`\n\x16OnshapeDocumentVersion\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x15\n\rmodified_time\x18\x03 \x01(\x03\x12\x15\n\rcreation_time\x18\x04 \x01(\x03\"b\n\x18OnshapeDocumentWorkspace\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x15\n\rmodified_time\x18\x03 \x01(\x03\x12\x15\n\rcreation_time\x18\x04 \x01(\x03\"\xdd\x02\n\x0fOnshapeDocument\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x16\n\tthumbnail\x18\x03 \x01(\x0cH\x00\x88\x01\x01\x12k\n\x08versions\x18\x04 \x03(\x0b\x32Y.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeDocumentVersion\x12o\n\nworkspaces\x18\x05 \x03(\x0b\x32[.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeDocumentWorkspace\x12\x15\n\rmodified_time\x18\x06 \x01(\x03\x12\x15\n\rcreation_time\x18\x07 \x01(\x03\x42\x0c\n\n_thumbnail\"\x83\x01\n\x13OnshapeDocumentOnly\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x16\n\tthumbnail\x18\x03 \x01(\x0cH\x00\x88\x01\x01\x12\x15\n\rmodified_time\x18\x04 \x01(\x03\x12\x15\n\rcreation_time\x18\x05 \x01(\x03\x42\x0c\n\n_thumbnail\"X\n\x14ListDocumentsRequest\x12\x11\n\tnext_page\x18\x01 \x01(\t\x12\x15\n\rprevious_page\x18\x02 \x01(\t\x12\x16\n\x0e\x63ompany_prefix\x18\x03 \x01(\t\"\xa9\x01\n\x12ListDocumentsReply\x12i\n\tdocuments\x18\x01 \x03(\x0b\x32V.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeDocumentOnly\x12\x11\n\tnext_page\x18\x02 \x01(\t\x12\x15\n\rprevious_page\x18\x03 \x01(\t\"\x80\x01\n ListWorkspacesAndVersionsRequest\x12\\\n\x04path\x18\x01 \x01(\x0b\x32N.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapePath\"\xfe\x01\n\x1eListWorkspacesAndVersionsReply\x12o\n\nworkspaces\x18\x01 \x03(\x0b\x32[.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeDocumentWorkspace\x12k\n\x08versions\x18\x02 \x03(\x0b\x32Y.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeDocumentVersion\"p\n,ListDocumentsWithWorkspaceAndVersionsRequest\x12\x11\n\tnext_page\x18\x01 \x01(\t\x12\x15\n\rprevious_page\x18\x02 \x01(\t\x12\x16\n\x0e\x63ompany_prefix\x18\x03 \x01(\t\"\xbd\x01\n*ListDocumentsWithWorkspaceAndVersionsReply\x12\x65\n\tdocuments\x18\x01 \x03(\x0b\x32R.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeDocument\x12\x11\n\tnext_page\x18\x02 \x01(\t\x12\x15\n\rprevious_page\x18\x03 \x01(\t\"\xb5\x01\n\x0eOnshapeElement\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x63\n\x04type\x18\x03 \x01(\x0e\x32U.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeElementType\x12\x16\n\tthumbnail\x18\x04 \x01(\x0cH\x00\x88\x01\x01\x42\x0c\n\n_thumbnail\"\x82\x01\n\"ListImportablesForSelectionRequest\x12\\\n\x04path\x18\x01 \x01(\x0b\x32N.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapePath\"\x87\x01\n ListImportablesForSelectionReply\x12\x63\n\x08\x65lements\x18\x01 \x03(\x0b\x32Q.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeElement\"}\n\x1dListPartsForImportableRequest\x12\\\n\x04path\x18\x01 \x01(\x0b\x32N.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapePath\"M\n\x0bOnshapePart\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x16\n\tthumbnail\x18\x03 \x01(\x0cH\x00\x88\x01\x01\x42\x0c\n\n_thumbnail\"|\n\x1bListPartsForImportableReply\x12]\n\x05parts\x18\x01 \x03(\x0b\x32N.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapePart\"\x1b\n\x19GetCompanyPrefixesRequest\"\x83\x01\n\x17GetCompanyPrefixesReply\x12h\n\tcompanies\x18\x01 \x03(\x0b\x32U.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeCompanyInfo\"u\n\x15\x46\x65tchVariablesRequest\x12\\\n\x04path\x18\x01 \x01(\x0b\x32N.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapePath\"\x82\x01\n\x13\x46\x65tchVariablesReply\x12\x65\n\tvariables\x18\x02 \x03(\x0b\x32R.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeVariableJ\x04\x08\x01\x10\x02\"u\n\x15GetElementNameRequest\x12\\\n\x04path\x18\x01 \x01(\x0b\x32N.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapePath\"#\n\x13GetElementNameReply\x12\x0c\n\x04name\x18\x01 \x01(\t*3\n\x12OnshapeElementType\x12\x0f\n\x0bPART_STUDIO\x10\x00\x12\x0c\n\x08\x41SSEMBLY\x10\x01\x32\xaf\x14\n\x0eOnshapeService\x12\xa8\x02\n\x17GetAuthenticationStatus\x12\x61.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.GetAuthenticationStatusRequest\x1a_.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.GetAuthenticationStatusReply\"I\x82\xd3\xe4\x93\x02\x39\x12\x37/v0/thirdpartyintegration/onshape/authentication-status\x8a\xb5\x18\x06\x08<\x12\x02\x08\x01\x12\x8a\x02\n\x0e\x46\x65tchVariables\x12X.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.FetchVariablesRequest\x1aV.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.FetchVariablesReply\"F\x82\xd3\xe4\x93\x02\x36\"1/v0/thirdpartyintegration/onshape/fetch-variables:\x01*\x8a\xb5\x18\x06\x08\n\x12\x02\x08\x05\x12\xc6\x02\n%ListDocumentsWithWorkspaceAndVersions\x12o.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.ListDocumentsWithWorkspaceAndVersionsRequest\x1am.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.ListDocumentsWithWorkspaceAndVersionsReply\"=\x82\xd3\xe4\x93\x02-\x12+/v0/thirdpartyintegration/onshape/documents\x8a\xb5\x18\x06\x08\n\x12\x02\x08\x05\x12\x83\x02\n\rListDocuments\x12W.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.ListDocumentsRequest\x1aU.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.ListDocumentsReply\"B\x82\xd3\xe4\x93\x02\x32\x12\x30/v0/thirdpartyintegration/onshape/documents-only\x8a\xb5\x18\x06\x08\n\x12\x02\x08\x05\x12\xb0\x02\n\x19ListWorkspacesAndVersions\x12\x63.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.ListWorkspacesAndVersionsRequest\x1a\x61.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.ListWorkspacesAndVersionsReply\"K\x82\xd3\xe4\x93\x02;\x12\x39/v0/thirdpartyintegration/onshape/workspaces-and-versions\x8a\xb5\x18\x06\x08\n\x12\x02\x08\x05\x12\xad\x02\n\x1bListImportablesForSelection\x12\x65.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.ListImportablesForSelectionRequest\x1a\x63.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.ListImportablesForSelectionReply\"B\x82\xd3\xe4\x93\x02\x32\"-/v0/thirdpartyintegration/onshape/importables:\x01*\x8a\xb5\x18\x06\x08\n\x12\x02\x08\x05\x12\x98\x02\n\x16ListPartsForImportable\x12`.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.ListPartsForImportableRequest\x1a^.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.ListPartsForImportableReply\"<\x82\xd3\xe4\x93\x02,\"\'/v0/thirdpartyintegration/onshape/parts:\x01*\x8a\xb5\x18\x06\x08\n\x12\x02\x08\x05\x12\x8d\x02\n\x12GetCompanyPrefixes\x12\\.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.GetCompanyPrefixesRequest\x1aZ.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.GetCompanyPrefixesReply\"=\x82\xd3\xe4\x93\x02-\x12+/v0/thirdpartyintegration/onshape/companies\x8a\xb5\x18\x06\x08<\x12\x02\x08\x01\x12\x87\x02\n\x0eGetElementName\x12X.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.GetElementNameRequest\x1aV.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.GetElementNameReply\"C\x82\xd3\xe4\x93\x02\x33\"./v0/thirdpartyintegration/onshape/element-name:\x01*\x8a\xb5\x18\x06\x08\n\x12\x02\x08\x05\x42QZOluminarycloud.com/core/proto/api/v0/luminarycloud/thirdpartyintegration/onshapeb\x06proto3')
|
|
21
21
|
|
|
22
22
|
_ONSHAPEELEMENTTYPE = DESCRIPTOR.enum_types_by_name['OnshapeElementType']
|
|
23
23
|
OnshapeElementType = enum_type_wrapper.EnumTypeWrapper(_ONSHAPEELEMENTTYPE)
|
|
@@ -43,10 +43,15 @@ _LISTDOCUMENTSWITHWORKSPACEANDVERSIONSREPLY = DESCRIPTOR.message_types_by_name['
|
|
|
43
43
|
_ONSHAPEELEMENT = DESCRIPTOR.message_types_by_name['OnshapeElement']
|
|
44
44
|
_LISTIMPORTABLESFORSELECTIONREQUEST = DESCRIPTOR.message_types_by_name['ListImportablesForSelectionRequest']
|
|
45
45
|
_LISTIMPORTABLESFORSELECTIONREPLY = DESCRIPTOR.message_types_by_name['ListImportablesForSelectionReply']
|
|
46
|
+
_LISTPARTSFORIMPORTABLEREQUEST = DESCRIPTOR.message_types_by_name['ListPartsForImportableRequest']
|
|
47
|
+
_ONSHAPEPART = DESCRIPTOR.message_types_by_name['OnshapePart']
|
|
48
|
+
_LISTPARTSFORIMPORTABLEREPLY = DESCRIPTOR.message_types_by_name['ListPartsForImportableReply']
|
|
46
49
|
_GETCOMPANYPREFIXESREQUEST = DESCRIPTOR.message_types_by_name['GetCompanyPrefixesRequest']
|
|
47
50
|
_GETCOMPANYPREFIXESREPLY = DESCRIPTOR.message_types_by_name['GetCompanyPrefixesReply']
|
|
48
51
|
_FETCHVARIABLESREQUEST = DESCRIPTOR.message_types_by_name['FetchVariablesRequest']
|
|
49
52
|
_FETCHVARIABLESREPLY = DESCRIPTOR.message_types_by_name['FetchVariablesReply']
|
|
53
|
+
_GETELEMENTNAMEREQUEST = DESCRIPTOR.message_types_by_name['GetElementNameRequest']
|
|
54
|
+
_GETELEMENTNAMEREPLY = DESCRIPTOR.message_types_by_name['GetElementNameReply']
|
|
50
55
|
GetAuthenticationStatusRequest = _reflection.GeneratedProtocolMessageType('GetAuthenticationStatusRequest', (_message.Message,), {
|
|
51
56
|
'DESCRIPTOR' : _GETAUTHENTICATIONSTATUSREQUEST,
|
|
52
57
|
'__module__' : 'proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2'
|
|
@@ -173,6 +178,27 @@ ListImportablesForSelectionReply = _reflection.GeneratedProtocolMessageType('Lis
|
|
|
173
178
|
})
|
|
174
179
|
_sym_db.RegisterMessage(ListImportablesForSelectionReply)
|
|
175
180
|
|
|
181
|
+
ListPartsForImportableRequest = _reflection.GeneratedProtocolMessageType('ListPartsForImportableRequest', (_message.Message,), {
|
|
182
|
+
'DESCRIPTOR' : _LISTPARTSFORIMPORTABLEREQUEST,
|
|
183
|
+
'__module__' : 'proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2'
|
|
184
|
+
# @@protoc_insertion_point(class_scope:luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.ListPartsForImportableRequest)
|
|
185
|
+
})
|
|
186
|
+
_sym_db.RegisterMessage(ListPartsForImportableRequest)
|
|
187
|
+
|
|
188
|
+
OnshapePart = _reflection.GeneratedProtocolMessageType('OnshapePart', (_message.Message,), {
|
|
189
|
+
'DESCRIPTOR' : _ONSHAPEPART,
|
|
190
|
+
'__module__' : 'proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2'
|
|
191
|
+
# @@protoc_insertion_point(class_scope:luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapePart)
|
|
192
|
+
})
|
|
193
|
+
_sym_db.RegisterMessage(OnshapePart)
|
|
194
|
+
|
|
195
|
+
ListPartsForImportableReply = _reflection.GeneratedProtocolMessageType('ListPartsForImportableReply', (_message.Message,), {
|
|
196
|
+
'DESCRIPTOR' : _LISTPARTSFORIMPORTABLEREPLY,
|
|
197
|
+
'__module__' : 'proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2'
|
|
198
|
+
# @@protoc_insertion_point(class_scope:luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.ListPartsForImportableReply)
|
|
199
|
+
})
|
|
200
|
+
_sym_db.RegisterMessage(ListPartsForImportableReply)
|
|
201
|
+
|
|
176
202
|
GetCompanyPrefixesRequest = _reflection.GeneratedProtocolMessageType('GetCompanyPrefixesRequest', (_message.Message,), {
|
|
177
203
|
'DESCRIPTOR' : _GETCOMPANYPREFIXESREQUEST,
|
|
178
204
|
'__module__' : 'proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2'
|
|
@@ -201,6 +227,20 @@ FetchVariablesReply = _reflection.GeneratedProtocolMessageType('FetchVariablesRe
|
|
|
201
227
|
})
|
|
202
228
|
_sym_db.RegisterMessage(FetchVariablesReply)
|
|
203
229
|
|
|
230
|
+
GetElementNameRequest = _reflection.GeneratedProtocolMessageType('GetElementNameRequest', (_message.Message,), {
|
|
231
|
+
'DESCRIPTOR' : _GETELEMENTNAMEREQUEST,
|
|
232
|
+
'__module__' : 'proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2'
|
|
233
|
+
# @@protoc_insertion_point(class_scope:luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.GetElementNameRequest)
|
|
234
|
+
})
|
|
235
|
+
_sym_db.RegisterMessage(GetElementNameRequest)
|
|
236
|
+
|
|
237
|
+
GetElementNameReply = _reflection.GeneratedProtocolMessageType('GetElementNameReply', (_message.Message,), {
|
|
238
|
+
'DESCRIPTOR' : _GETELEMENTNAMEREPLY,
|
|
239
|
+
'__module__' : 'proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2'
|
|
240
|
+
# @@protoc_insertion_point(class_scope:luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.GetElementNameReply)
|
|
241
|
+
})
|
|
242
|
+
_sym_db.RegisterMessage(GetElementNameReply)
|
|
243
|
+
|
|
204
244
|
_ONSHAPESERVICE = DESCRIPTOR.services_by_name['OnshapeService']
|
|
205
245
|
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
206
246
|
|
|
@@ -218,10 +258,14 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
218
258
|
_ONSHAPESERVICE.methods_by_name['ListWorkspacesAndVersions']._serialized_options = b'\202\323\344\223\002;\0229/v0/thirdpartyintegration/onshape/workspaces-and-versions\212\265\030\006\010\n\022\002\010\005'
|
|
219
259
|
_ONSHAPESERVICE.methods_by_name['ListImportablesForSelection']._options = None
|
|
220
260
|
_ONSHAPESERVICE.methods_by_name['ListImportablesForSelection']._serialized_options = b'\202\323\344\223\0022\"-/v0/thirdpartyintegration/onshape/importables:\001*\212\265\030\006\010\n\022\002\010\005'
|
|
261
|
+
_ONSHAPESERVICE.methods_by_name['ListPartsForImportable']._options = None
|
|
262
|
+
_ONSHAPESERVICE.methods_by_name['ListPartsForImportable']._serialized_options = b'\202\323\344\223\002,\"\'/v0/thirdpartyintegration/onshape/parts:\001*\212\265\030\006\010\n\022\002\010\005'
|
|
221
263
|
_ONSHAPESERVICE.methods_by_name['GetCompanyPrefixes']._options = None
|
|
222
264
|
_ONSHAPESERVICE.methods_by_name['GetCompanyPrefixes']._serialized_options = b'\202\323\344\223\002-\022+/v0/thirdpartyintegration/onshape/companies\212\265\030\006\010<\022\002\010\001'
|
|
223
|
-
|
|
224
|
-
|
|
265
|
+
_ONSHAPESERVICE.methods_by_name['GetElementName']._options = None
|
|
266
|
+
_ONSHAPESERVICE.methods_by_name['GetElementName']._serialized_options = b'\202\323\344\223\0023\"./v0/thirdpartyintegration/onshape/element-name:\001*\212\265\030\006\010\n\022\002\010\005'
|
|
267
|
+
_ONSHAPEELEMENTTYPE._serialized_start=3567
|
|
268
|
+
_ONSHAPEELEMENTTYPE._serialized_end=3618
|
|
225
269
|
_GETAUTHENTICATIONSTATUSREQUEST._serialized_start=204
|
|
226
270
|
_GETAUTHENTICATIONSTATUSREQUEST._serialized_end=236
|
|
227
271
|
_GETAUTHENTICATIONSTATUSREPLY._serialized_start=238
|
|
@@ -237,35 +281,45 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
237
281
|
_ONSHAPEDOCUMENTWORKSPACE._serialized_start=667
|
|
238
282
|
_ONSHAPEDOCUMENTWORKSPACE._serialized_end=765
|
|
239
283
|
_ONSHAPEDOCUMENT._serialized_start=768
|
|
240
|
-
_ONSHAPEDOCUMENT._serialized_end=
|
|
241
|
-
_ONSHAPEDOCUMENTONLY._serialized_start=
|
|
242
|
-
_ONSHAPEDOCUMENTONLY._serialized_end=
|
|
243
|
-
_LISTDOCUMENTSREQUEST._serialized_start=
|
|
244
|
-
_LISTDOCUMENTSREQUEST._serialized_end=
|
|
245
|
-
_LISTDOCUMENTSREPLY._serialized_start=
|
|
246
|
-
_LISTDOCUMENTSREPLY._serialized_end=
|
|
247
|
-
_LISTWORKSPACESANDVERSIONSREQUEST._serialized_start=
|
|
248
|
-
_LISTWORKSPACESANDVERSIONSREQUEST._serialized_end=
|
|
249
|
-
_LISTWORKSPACESANDVERSIONSREPLY._serialized_start=
|
|
250
|
-
_LISTWORKSPACESANDVERSIONSREPLY._serialized_end=
|
|
251
|
-
_LISTDOCUMENTSWITHWORKSPACEANDVERSIONSREQUEST._serialized_start=
|
|
252
|
-
_LISTDOCUMENTSWITHWORKSPACEANDVERSIONSREQUEST._serialized_end=
|
|
253
|
-
_LISTDOCUMENTSWITHWORKSPACEANDVERSIONSREPLY._serialized_start=
|
|
254
|
-
_LISTDOCUMENTSWITHWORKSPACEANDVERSIONSREPLY._serialized_end=
|
|
255
|
-
_ONSHAPEELEMENT._serialized_start=
|
|
256
|
-
_ONSHAPEELEMENT._serialized_end=
|
|
257
|
-
_LISTIMPORTABLESFORSELECTIONREQUEST._serialized_start=
|
|
258
|
-
_LISTIMPORTABLESFORSELECTIONREQUEST._serialized_end=
|
|
259
|
-
_LISTIMPORTABLESFORSELECTIONREPLY._serialized_start=
|
|
260
|
-
_LISTIMPORTABLESFORSELECTIONREPLY._serialized_end=
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
284
|
+
_ONSHAPEDOCUMENT._serialized_end=1117
|
|
285
|
+
_ONSHAPEDOCUMENTONLY._serialized_start=1120
|
|
286
|
+
_ONSHAPEDOCUMENTONLY._serialized_end=1251
|
|
287
|
+
_LISTDOCUMENTSREQUEST._serialized_start=1253
|
|
288
|
+
_LISTDOCUMENTSREQUEST._serialized_end=1341
|
|
289
|
+
_LISTDOCUMENTSREPLY._serialized_start=1344
|
|
290
|
+
_LISTDOCUMENTSREPLY._serialized_end=1513
|
|
291
|
+
_LISTWORKSPACESANDVERSIONSREQUEST._serialized_start=1516
|
|
292
|
+
_LISTWORKSPACESANDVERSIONSREQUEST._serialized_end=1644
|
|
293
|
+
_LISTWORKSPACESANDVERSIONSREPLY._serialized_start=1647
|
|
294
|
+
_LISTWORKSPACESANDVERSIONSREPLY._serialized_end=1901
|
|
295
|
+
_LISTDOCUMENTSWITHWORKSPACEANDVERSIONSREQUEST._serialized_start=1903
|
|
296
|
+
_LISTDOCUMENTSWITHWORKSPACEANDVERSIONSREQUEST._serialized_end=2015
|
|
297
|
+
_LISTDOCUMENTSWITHWORKSPACEANDVERSIONSREPLY._serialized_start=2018
|
|
298
|
+
_LISTDOCUMENTSWITHWORKSPACEANDVERSIONSREPLY._serialized_end=2207
|
|
299
|
+
_ONSHAPEELEMENT._serialized_start=2210
|
|
300
|
+
_ONSHAPEELEMENT._serialized_end=2391
|
|
301
|
+
_LISTIMPORTABLESFORSELECTIONREQUEST._serialized_start=2394
|
|
302
|
+
_LISTIMPORTABLESFORSELECTIONREQUEST._serialized_end=2524
|
|
303
|
+
_LISTIMPORTABLESFORSELECTIONREPLY._serialized_start=2527
|
|
304
|
+
_LISTIMPORTABLESFORSELECTIONREPLY._serialized_end=2662
|
|
305
|
+
_LISTPARTSFORIMPORTABLEREQUEST._serialized_start=2664
|
|
306
|
+
_LISTPARTSFORIMPORTABLEREQUEST._serialized_end=2789
|
|
307
|
+
_ONSHAPEPART._serialized_start=2791
|
|
308
|
+
_ONSHAPEPART._serialized_end=2868
|
|
309
|
+
_LISTPARTSFORIMPORTABLEREPLY._serialized_start=2870
|
|
310
|
+
_LISTPARTSFORIMPORTABLEREPLY._serialized_end=2994
|
|
311
|
+
_GETCOMPANYPREFIXESREQUEST._serialized_start=2996
|
|
312
|
+
_GETCOMPANYPREFIXESREQUEST._serialized_end=3023
|
|
313
|
+
_GETCOMPANYPREFIXESREPLY._serialized_start=3026
|
|
314
|
+
_GETCOMPANYPREFIXESREPLY._serialized_end=3157
|
|
315
|
+
_FETCHVARIABLESREQUEST._serialized_start=3159
|
|
316
|
+
_FETCHVARIABLESREQUEST._serialized_end=3276
|
|
317
|
+
_FETCHVARIABLESREPLY._serialized_start=3279
|
|
318
|
+
_FETCHVARIABLESREPLY._serialized_end=3409
|
|
319
|
+
_GETELEMENTNAMEREQUEST._serialized_start=3411
|
|
320
|
+
_GETELEMENTNAMEREQUEST._serialized_end=3528
|
|
321
|
+
_GETELEMENTNAMEREPLY._serialized_start=3530
|
|
322
|
+
_GETELEMENTNAMEREPLY._serialized_end=3565
|
|
323
|
+
_ONSHAPESERVICE._serialized_start=3621
|
|
324
|
+
_ONSHAPESERVICE._serialized_end=6228
|
|
271
325
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -207,13 +207,15 @@ class OnshapeDocument(google.protobuf.message.Message):
|
|
|
207
207
|
*,
|
|
208
208
|
id: builtins.str = ...,
|
|
209
209
|
name: builtins.str = ...,
|
|
210
|
-
thumbnail: builtins.bytes = ...,
|
|
210
|
+
thumbnail: builtins.bytes | None = ...,
|
|
211
211
|
versions: collections.abc.Iterable[global___OnshapeDocumentVersion] | None = ...,
|
|
212
212
|
workspaces: collections.abc.Iterable[global___OnshapeDocumentWorkspace] | None = ...,
|
|
213
213
|
modified_time: builtins.int = ...,
|
|
214
214
|
creation_time: builtins.int = ...,
|
|
215
215
|
) -> None: ...
|
|
216
|
-
def
|
|
216
|
+
def HasField(self, field_name: typing_extensions.Literal["_thumbnail", b"_thumbnail", "thumbnail", b"thumbnail"]) -> builtins.bool: ...
|
|
217
|
+
def ClearField(self, field_name: typing_extensions.Literal["_thumbnail", b"_thumbnail", "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: ...
|
|
218
|
+
def WhichOneof(self, oneof_group: typing_extensions.Literal["_thumbnail", b"_thumbnail"]) -> typing_extensions.Literal["thumbnail"] | None: ...
|
|
217
219
|
|
|
218
220
|
global___OnshapeDocument = OnshapeDocument
|
|
219
221
|
|
|
@@ -236,11 +238,13 @@ class OnshapeDocumentOnly(google.protobuf.message.Message):
|
|
|
236
238
|
*,
|
|
237
239
|
id: builtins.str = ...,
|
|
238
240
|
name: builtins.str = ...,
|
|
239
|
-
thumbnail: builtins.bytes = ...,
|
|
241
|
+
thumbnail: builtins.bytes | None = ...,
|
|
240
242
|
modified_time: builtins.int = ...,
|
|
241
243
|
creation_time: builtins.int = ...,
|
|
242
244
|
) -> None: ...
|
|
243
|
-
def
|
|
245
|
+
def HasField(self, field_name: typing_extensions.Literal["_thumbnail", b"_thumbnail", "thumbnail", b"thumbnail"]) -> builtins.bool: ...
|
|
246
|
+
def ClearField(self, field_name: typing_extensions.Literal["_thumbnail", b"_thumbnail", "creation_time", b"creation_time", "id", b"id", "modified_time", b"modified_time", "name", b"name", "thumbnail", b"thumbnail"]) -> None: ...
|
|
247
|
+
def WhichOneof(self, oneof_group: typing_extensions.Literal["_thumbnail", b"_thumbnail"]) -> typing_extensions.Literal["thumbnail"] | None: ...
|
|
244
248
|
|
|
245
249
|
global___OnshapeDocumentOnly = OnshapeDocumentOnly
|
|
246
250
|
|
|
@@ -413,9 +417,11 @@ class OnshapeElement(google.protobuf.message.Message):
|
|
|
413
417
|
id: builtins.str = ...,
|
|
414
418
|
name: builtins.str = ...,
|
|
415
419
|
type: global___OnshapeElementType.ValueType = ...,
|
|
416
|
-
thumbnail: builtins.bytes = ...,
|
|
420
|
+
thumbnail: builtins.bytes | None = ...,
|
|
417
421
|
) -> None: ...
|
|
418
|
-
def
|
|
422
|
+
def HasField(self, field_name: typing_extensions.Literal["_thumbnail", b"_thumbnail", "thumbnail", b"thumbnail"]) -> builtins.bool: ...
|
|
423
|
+
def ClearField(self, field_name: typing_extensions.Literal["_thumbnail", b"_thumbnail", "id", b"id", "name", b"name", "thumbnail", b"thumbnail", "type", b"type"]) -> None: ...
|
|
424
|
+
def WhichOneof(self, oneof_group: typing_extensions.Literal["_thumbnail", b"_thumbnail"]) -> typing_extensions.Literal["thumbnail"] | None: ...
|
|
419
425
|
|
|
420
426
|
global___OnshapeElement = OnshapeElement
|
|
421
427
|
|
|
@@ -451,6 +457,60 @@ class ListImportablesForSelectionReply(google.protobuf.message.Message):
|
|
|
451
457
|
|
|
452
458
|
global___ListImportablesForSelectionReply = ListImportablesForSelectionReply
|
|
453
459
|
|
|
460
|
+
class ListPartsForImportableRequest(google.protobuf.message.Message):
|
|
461
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
462
|
+
|
|
463
|
+
PATH_FIELD_NUMBER: builtins.int
|
|
464
|
+
@property
|
|
465
|
+
def path(self) -> global___OnshapePath: ...
|
|
466
|
+
def __init__(
|
|
467
|
+
self,
|
|
468
|
+
*,
|
|
469
|
+
path: global___OnshapePath | None = ...,
|
|
470
|
+
) -> None: ...
|
|
471
|
+
def HasField(self, field_name: typing_extensions.Literal["path", b"path"]) -> builtins.bool: ...
|
|
472
|
+
def ClearField(self, field_name: typing_extensions.Literal["path", b"path"]) -> None: ...
|
|
473
|
+
|
|
474
|
+
global___ListPartsForImportableRequest = ListPartsForImportableRequest
|
|
475
|
+
|
|
476
|
+
class OnshapePart(google.protobuf.message.Message):
|
|
477
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
478
|
+
|
|
479
|
+
ID_FIELD_NUMBER: builtins.int
|
|
480
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
481
|
+
THUMBNAIL_FIELD_NUMBER: builtins.int
|
|
482
|
+
id: builtins.str
|
|
483
|
+
name: builtins.str
|
|
484
|
+
thumbnail: builtins.bytes
|
|
485
|
+
"""Thumbnail in PNG"""
|
|
486
|
+
def __init__(
|
|
487
|
+
self,
|
|
488
|
+
*,
|
|
489
|
+
id: builtins.str = ...,
|
|
490
|
+
name: builtins.str = ...,
|
|
491
|
+
thumbnail: builtins.bytes | None = ...,
|
|
492
|
+
) -> None: ...
|
|
493
|
+
def HasField(self, field_name: typing_extensions.Literal["_thumbnail", b"_thumbnail", "thumbnail", b"thumbnail"]) -> builtins.bool: ...
|
|
494
|
+
def ClearField(self, field_name: typing_extensions.Literal["_thumbnail", b"_thumbnail", "id", b"id", "name", b"name", "thumbnail", b"thumbnail"]) -> None: ...
|
|
495
|
+
def WhichOneof(self, oneof_group: typing_extensions.Literal["_thumbnail", b"_thumbnail"]) -> typing_extensions.Literal["thumbnail"] | None: ...
|
|
496
|
+
|
|
497
|
+
global___OnshapePart = OnshapePart
|
|
498
|
+
|
|
499
|
+
class ListPartsForImportableReply(google.protobuf.message.Message):
|
|
500
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
501
|
+
|
|
502
|
+
PARTS_FIELD_NUMBER: builtins.int
|
|
503
|
+
@property
|
|
504
|
+
def parts(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___OnshapePart]: ...
|
|
505
|
+
def __init__(
|
|
506
|
+
self,
|
|
507
|
+
*,
|
|
508
|
+
parts: collections.abc.Iterable[global___OnshapePart] | None = ...,
|
|
509
|
+
) -> None: ...
|
|
510
|
+
def ClearField(self, field_name: typing_extensions.Literal["parts", b"parts"]) -> None: ...
|
|
511
|
+
|
|
512
|
+
global___ListPartsForImportableReply = ListPartsForImportableReply
|
|
513
|
+
|
|
454
514
|
class GetCompanyPrefixesRequest(google.protobuf.message.Message):
|
|
455
515
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
456
516
|
|
|
@@ -505,3 +565,33 @@ class FetchVariablesReply(google.protobuf.message.Message):
|
|
|
505
565
|
def ClearField(self, field_name: typing_extensions.Literal["variables", b"variables"]) -> None: ...
|
|
506
566
|
|
|
507
567
|
global___FetchVariablesReply = FetchVariablesReply
|
|
568
|
+
|
|
569
|
+
class GetElementNameRequest(google.protobuf.message.Message):
|
|
570
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
571
|
+
|
|
572
|
+
PATH_FIELD_NUMBER: builtins.int
|
|
573
|
+
@property
|
|
574
|
+
def path(self) -> global___OnshapePath: ...
|
|
575
|
+
def __init__(
|
|
576
|
+
self,
|
|
577
|
+
*,
|
|
578
|
+
path: global___OnshapePath | None = ...,
|
|
579
|
+
) -> None: ...
|
|
580
|
+
def HasField(self, field_name: typing_extensions.Literal["path", b"path"]) -> builtins.bool: ...
|
|
581
|
+
def ClearField(self, field_name: typing_extensions.Literal["path", b"path"]) -> None: ...
|
|
582
|
+
|
|
583
|
+
global___GetElementNameRequest = GetElementNameRequest
|
|
584
|
+
|
|
585
|
+
class GetElementNameReply(google.protobuf.message.Message):
|
|
586
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
587
|
+
|
|
588
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
589
|
+
name: builtins.str
|
|
590
|
+
def __init__(
|
|
591
|
+
self,
|
|
592
|
+
*,
|
|
593
|
+
name: builtins.str = ...,
|
|
594
|
+
) -> None: ...
|
|
595
|
+
def ClearField(self, field_name: typing_extensions.Literal["name", b"name"]) -> None: ...
|
|
596
|
+
|
|
597
|
+
global___GetElementNameReply = GetElementNameReply
|
|
@@ -46,11 +46,21 @@ class OnshapeServiceStub(object):
|
|
|
46
46
|
request_serializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.ListImportablesForSelectionRequest.SerializeToString,
|
|
47
47
|
response_deserializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.ListImportablesForSelectionReply.FromString,
|
|
48
48
|
)
|
|
49
|
+
self.ListPartsForImportable = channel.unary_unary(
|
|
50
|
+
'/luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeService/ListPartsForImportable',
|
|
51
|
+
request_serializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.ListPartsForImportableRequest.SerializeToString,
|
|
52
|
+
response_deserializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.ListPartsForImportableReply.FromString,
|
|
53
|
+
)
|
|
49
54
|
self.GetCompanyPrefixes = channel.unary_unary(
|
|
50
55
|
'/luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeService/GetCompanyPrefixes',
|
|
51
56
|
request_serializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.GetCompanyPrefixesRequest.SerializeToString,
|
|
52
57
|
response_deserializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.GetCompanyPrefixesReply.FromString,
|
|
53
58
|
)
|
|
59
|
+
self.GetElementName = channel.unary_unary(
|
|
60
|
+
'/luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeService/GetElementName',
|
|
61
|
+
request_serializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.GetElementNameRequest.SerializeToString,
|
|
62
|
+
response_deserializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.GetElementNameReply.FromString,
|
|
63
|
+
)
|
|
54
64
|
|
|
55
65
|
|
|
56
66
|
class OnshapeServiceServicer(object):
|
|
@@ -101,6 +111,13 @@ class OnshapeServiceServicer(object):
|
|
|
101
111
|
context.set_details('Method not implemented!')
|
|
102
112
|
raise NotImplementedError('Method not implemented!')
|
|
103
113
|
|
|
114
|
+
def ListPartsForImportable(self, request, context):
|
|
115
|
+
"""Given a request with an OnshapePath, returns the parts it contains.
|
|
116
|
+
"""
|
|
117
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
118
|
+
context.set_details('Method not implemented!')
|
|
119
|
+
raise NotImplementedError('Method not implemented!')
|
|
120
|
+
|
|
104
121
|
def GetCompanyPrefixes(self, request, context):
|
|
105
122
|
"""Returns information about the companies the user is associated with.
|
|
106
123
|
"""
|
|
@@ -108,6 +125,13 @@ class OnshapeServiceServicer(object):
|
|
|
108
125
|
context.set_details('Method not implemented!')
|
|
109
126
|
raise NotImplementedError('Method not implemented!')
|
|
110
127
|
|
|
128
|
+
def GetElementName(self, request, context):
|
|
129
|
+
"""Gets the human-readable name of an Onshape element.
|
|
130
|
+
"""
|
|
131
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
132
|
+
context.set_details('Method not implemented!')
|
|
133
|
+
raise NotImplementedError('Method not implemented!')
|
|
134
|
+
|
|
111
135
|
|
|
112
136
|
def add_OnshapeServiceServicer_to_server(servicer, server):
|
|
113
137
|
rpc_method_handlers = {
|
|
@@ -141,11 +165,21 @@ def add_OnshapeServiceServicer_to_server(servicer, server):
|
|
|
141
165
|
request_deserializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.ListImportablesForSelectionRequest.FromString,
|
|
142
166
|
response_serializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.ListImportablesForSelectionReply.SerializeToString,
|
|
143
167
|
),
|
|
168
|
+
'ListPartsForImportable': grpc.unary_unary_rpc_method_handler(
|
|
169
|
+
servicer.ListPartsForImportable,
|
|
170
|
+
request_deserializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.ListPartsForImportableRequest.FromString,
|
|
171
|
+
response_serializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.ListPartsForImportableReply.SerializeToString,
|
|
172
|
+
),
|
|
144
173
|
'GetCompanyPrefixes': grpc.unary_unary_rpc_method_handler(
|
|
145
174
|
servicer.GetCompanyPrefixes,
|
|
146
175
|
request_deserializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.GetCompanyPrefixesRequest.FromString,
|
|
147
176
|
response_serializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.GetCompanyPrefixesReply.SerializeToString,
|
|
148
177
|
),
|
|
178
|
+
'GetElementName': grpc.unary_unary_rpc_method_handler(
|
|
179
|
+
servicer.GetElementName,
|
|
180
|
+
request_deserializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.GetElementNameRequest.FromString,
|
|
181
|
+
response_serializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.GetElementNameReply.SerializeToString,
|
|
182
|
+
),
|
|
149
183
|
}
|
|
150
184
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
151
185
|
'luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeService', rpc_method_handlers)
|
|
@@ -260,6 +294,23 @@ class OnshapeService(object):
|
|
|
260
294
|
options, channel_credentials,
|
|
261
295
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
262
296
|
|
|
297
|
+
@staticmethod
|
|
298
|
+
def ListPartsForImportable(request,
|
|
299
|
+
target,
|
|
300
|
+
options=(),
|
|
301
|
+
channel_credentials=None,
|
|
302
|
+
call_credentials=None,
|
|
303
|
+
insecure=False,
|
|
304
|
+
compression=None,
|
|
305
|
+
wait_for_ready=None,
|
|
306
|
+
timeout=None,
|
|
307
|
+
metadata=None):
|
|
308
|
+
return grpc.experimental.unary_unary(request, target, '/luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeService/ListPartsForImportable',
|
|
309
|
+
proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.ListPartsForImportableRequest.SerializeToString,
|
|
310
|
+
proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.ListPartsForImportableReply.FromString,
|
|
311
|
+
options, channel_credentials,
|
|
312
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
313
|
+
|
|
263
314
|
@staticmethod
|
|
264
315
|
def GetCompanyPrefixes(request,
|
|
265
316
|
target,
|
|
@@ -276,3 +327,20 @@ class OnshapeService(object):
|
|
|
276
327
|
proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.GetCompanyPrefixesReply.FromString,
|
|
277
328
|
options, channel_credentials,
|
|
278
329
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
330
|
+
|
|
331
|
+
@staticmethod
|
|
332
|
+
def GetElementName(request,
|
|
333
|
+
target,
|
|
334
|
+
options=(),
|
|
335
|
+
channel_credentials=None,
|
|
336
|
+
call_credentials=None,
|
|
337
|
+
insecure=False,
|
|
338
|
+
compression=None,
|
|
339
|
+
wait_for_ready=None,
|
|
340
|
+
timeout=None,
|
|
341
|
+
metadata=None):
|
|
342
|
+
return grpc.experimental.unary_unary(request, target, '/luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeService/GetElementName',
|
|
343
|
+
proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.GetElementNameRequest.SerializeToString,
|
|
344
|
+
proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.GetElementNameReply.FromString,
|
|
345
|
+
options, channel_credentials,
|
|
346
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
luminarycloud/_proto/api/v0/luminarycloud/thirdpartyintegration/onshape/onshape_pb2_grpc.pyi
CHANGED
|
@@ -44,11 +44,21 @@ class OnshapeServiceStub:
|
|
|
44
44
|
luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.ListImportablesForSelectionReply,
|
|
45
45
|
]
|
|
46
46
|
"""Given a request specifying a document and a workspace or version, lists the importable elements."""
|
|
47
|
+
ListPartsForImportable: grpc.UnaryUnaryMultiCallable[
|
|
48
|
+
luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.ListPartsForImportableRequest,
|
|
49
|
+
luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.ListPartsForImportableReply,
|
|
50
|
+
]
|
|
51
|
+
"""Given a request with an OnshapePath, returns the parts it contains."""
|
|
47
52
|
GetCompanyPrefixes: grpc.UnaryUnaryMultiCallable[
|
|
48
53
|
luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.GetCompanyPrefixesRequest,
|
|
49
54
|
luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.GetCompanyPrefixesReply,
|
|
50
55
|
]
|
|
51
56
|
"""Returns information about the companies the user is associated with."""
|
|
57
|
+
GetElementName: grpc.UnaryUnaryMultiCallable[
|
|
58
|
+
luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.GetElementNameRequest,
|
|
59
|
+
luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.GetElementNameReply,
|
|
60
|
+
]
|
|
61
|
+
"""Gets the human-readable name of an Onshape element."""
|
|
52
62
|
|
|
53
63
|
class OnshapeServiceServicer(metaclass=abc.ABCMeta):
|
|
54
64
|
"""Public API service for Onshape third-party integration functionality.
|
|
@@ -100,11 +110,25 @@ class OnshapeServiceServicer(metaclass=abc.ABCMeta):
|
|
|
100
110
|
) -> luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.ListImportablesForSelectionReply:
|
|
101
111
|
"""Given a request specifying a document and a workspace or version, lists the importable elements."""
|
|
102
112
|
@abc.abstractmethod
|
|
113
|
+
def ListPartsForImportable(
|
|
114
|
+
self,
|
|
115
|
+
request: luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.ListPartsForImportableRequest,
|
|
116
|
+
context: grpc.ServicerContext,
|
|
117
|
+
) -> luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.ListPartsForImportableReply:
|
|
118
|
+
"""Given a request with an OnshapePath, returns the parts it contains."""
|
|
119
|
+
@abc.abstractmethod
|
|
103
120
|
def GetCompanyPrefixes(
|
|
104
121
|
self,
|
|
105
122
|
request: luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.GetCompanyPrefixesRequest,
|
|
106
123
|
context: grpc.ServicerContext,
|
|
107
124
|
) -> luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.GetCompanyPrefixesReply:
|
|
108
125
|
"""Returns information about the companies the user is associated with."""
|
|
126
|
+
@abc.abstractmethod
|
|
127
|
+
def GetElementName(
|
|
128
|
+
self,
|
|
129
|
+
request: luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.GetElementNameRequest,
|
|
130
|
+
context: grpc.ServicerContext,
|
|
131
|
+
) -> luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.GetElementNameReply:
|
|
132
|
+
"""Gets the human-readable name of an Onshape element."""
|
|
109
133
|
|
|
110
134
|
def add_OnshapeServiceServicer_to_server(servicer: OnshapeServiceServicer, server: grpc.Server) -> None: ...
|