autoassembler 0.3.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (198) hide show
  1. autoassembler/.fernignore +7 -0
  2. autoassembler/__init__.py +537 -0
  3. autoassembler/_custom/__init__.py +56 -0
  4. autoassembler/_custom/assemblies.py +226 -0
  5. autoassembler/_custom/assemblies_api.py +188 -0
  6. autoassembler/_custom/credentials.py +248 -0
  7. autoassembler/_custom/http.py +42 -0
  8. autoassembler/_custom/operations.py +258 -0
  9. autoassembler/_custom/planning.py +598 -0
  10. autoassembler/_custom/planning_api.py +225 -0
  11. autoassembler/_default_clients.py +32 -0
  12. autoassembler/_version.py +8 -0
  13. autoassembler/alpha/__init__.py +63 -0
  14. autoassembler/alpha/client.py +82 -0
  15. autoassembler/alpha/jobs/__init__.py +39 -0
  16. autoassembler/alpha/jobs/client.py +338 -0
  17. autoassembler/alpha/jobs/raw_client.py +641 -0
  18. autoassembler/alpha/jobs/types/__init__.py +42 -0
  19. autoassembler/alpha/jobs/types/cancel_job_jobs_response.py +12 -0
  20. autoassembler/alpha/jobs/types/list_jobs_jobs_response.py +30 -0
  21. autoassembler/alpha/jobs/types/list_jobs_jobs_response_pagination.py +22 -0
  22. autoassembler/alpha/jobs/types/retry_job_jobs_response.py +16 -0
  23. autoassembler/alpha/planning/__init__.py +49 -0
  24. autoassembler/alpha/planning/client.py +201 -0
  25. autoassembler/alpha/planning/raw_client.py +268 -0
  26. autoassembler/alpha/planning/types/__init__.py +47 -0
  27. autoassembler/alpha/planning/types/apply_ops_planning_request_namespace.py +5 -0
  28. autoassembler/alpha/planning/types/apply_ops_planning_request_ops_item.py +13 -0
  29. autoassembler/alpha/planning/types/apply_ops_planning_request_ops_item_op.py +58 -0
  30. autoassembler/alpha/planning/types/apply_ops_planning_response.py +13 -0
  31. autoassembler/alpha/raw_client.py +13 -0
  32. autoassembler/assemblies/__init__.py +73 -0
  33. autoassembler/assemblies/client.py +1177 -0
  34. autoassembler/assemblies/raw_client.py +1557 -0
  35. autoassembler/assemblies/types/__init__.py +71 -0
  36. autoassembler/assemblies/types/delete_assembly_response.py +12 -0
  37. autoassembler/assemblies/types/download_assembly_cad_request_namespace.py +5 -0
  38. autoassembler/assemblies/types/get_assembly_info_request_namespace.py +5 -0
  39. autoassembler/assemblies/types/get_status_request_namespace.py +5 -0
  40. autoassembler/assemblies/types/get_status_response.py +16 -0
  41. autoassembler/assemblies/types/get_status_response_progress.py +13 -0
  42. autoassembler/assemblies/types/get_status_response_status.py +7 -0
  43. autoassembler/assemblies/types/get_structure_request_namespace.py +5 -0
  44. autoassembler/assemblies/types/list_assembly_versions_request_namespace.py +5 -0
  45. autoassembler/assemblies/types/list_connections_request_namespace.py +5 -0
  46. autoassembler/assemblies/types/process_request_namespace.py +5 -0
  47. autoassembler/assemblies/types/update_assembly_info_request_namespace.py +5 -0
  48. autoassembler/auth/__init__.py +34 -0
  49. autoassembler/auth/client.py +282 -0
  50. autoassembler/auth/raw_client.py +413 -0
  51. autoassembler/auth/types/__init__.py +36 -0
  52. autoassembler/auth/types/create_access_token_request_grant_type.py +7 -0
  53. autoassembler/base_client.py +328 -0
  54. autoassembler/client.py +262 -0
  55. autoassembler/core/__init__.py +127 -0
  56. autoassembler/core/api_error.py +23 -0
  57. autoassembler/core/client_wrapper.py +147 -0
  58. autoassembler/core/datetime_utils.py +70 -0
  59. autoassembler/core/file.py +67 -0
  60. autoassembler/core/force_multipart.py +18 -0
  61. autoassembler/core/http_client.py +965 -0
  62. autoassembler/core/http_response.py +63 -0
  63. autoassembler/core/http_sse/__init__.py +42 -0
  64. autoassembler/core/http_sse/_api.py +455 -0
  65. autoassembler/core/http_sse/_decoders.py +74 -0
  66. autoassembler/core/http_sse/_exceptions.py +7 -0
  67. autoassembler/core/http_sse/_models.py +17 -0
  68. autoassembler/core/jsonable_encoder.py +133 -0
  69. autoassembler/core/logging.py +107 -0
  70. autoassembler/core/parse_error.py +36 -0
  71. autoassembler/core/pydantic_utilities.py +486 -0
  72. autoassembler/core/query_encoder.py +58 -0
  73. autoassembler/core/remove_none_from_dict.py +11 -0
  74. autoassembler/core/request_options.py +40 -0
  75. autoassembler/core/serialization.py +347 -0
  76. autoassembler/environment.py +7 -0
  77. autoassembler/errors/__init__.py +56 -0
  78. autoassembler/errors/bad_request_error.py +10 -0
  79. autoassembler/errors/conflict_error.py +10 -0
  80. autoassembler/errors/forbidden_error.py +11 -0
  81. autoassembler/errors/internal_server_error.py +11 -0
  82. autoassembler/errors/not_found_error.py +11 -0
  83. autoassembler/errors/unauthorized_error.py +10 -0
  84. autoassembler/errors/unprocessable_entity_error.py +11 -0
  85. autoassembler/operation.py +196 -0
  86. autoassembler/operations/__init__.py +4 -0
  87. autoassembler/operations/client.py +209 -0
  88. autoassembler/operations/raw_client.py +343 -0
  89. autoassembler/planning/__init__.py +70 -0
  90. autoassembler/planning/client.py +1174 -0
  91. autoassembler/planning/raw_client.py +1349 -0
  92. autoassembler/planning/types/__init__.py +68 -0
  93. autoassembler/planning/types/adapt_request_namespace.py +5 -0
  94. autoassembler/planning/types/create_mpp_request_body.py +8 -0
  95. autoassembler/planning/types/create_mpp_request_namespace.py +5 -0
  96. autoassembler/planning/types/delete_mpp_request_namespace.py +5 -0
  97. autoassembler/planning/types/delete_mpp_response.py +12 -0
  98. autoassembler/planning/types/evaluate_dfa_request_namespace.py +5 -0
  99. autoassembler/planning/types/get_mpp_request_namespace.py +5 -0
  100. autoassembler/planning/types/get_mpp_response.py +27 -0
  101. autoassembler/planning/types/list_mpps_request_namespace.py +5 -0
  102. autoassembler/planning/types/plan_request_namespace.py +5 -0
  103. autoassembler/planning/types/validate_request_namespace.py +5 -0
  104. autoassembler/py.typed +0 -0
  105. autoassembler/sessions/__init__.py +4 -0
  106. autoassembler/sessions/client.py +102 -0
  107. autoassembler/sessions/raw_client.py +126 -0
  108. autoassembler/types/__init__.py +344 -0
  109. autoassembler/types/access_token_response.py +14 -0
  110. autoassembler/types/active_session.py +25 -0
  111. autoassembler/types/active_session_namespace.py +5 -0
  112. autoassembler/types/adapt_mpp_accepted.py +26 -0
  113. autoassembler/types/assembly.py +30 -0
  114. autoassembler/types/assembly_connection.py +21 -0
  115. autoassembler/types/assembly_connection_relationship.py +5 -0
  116. autoassembler/types/assembly_connections_response.py +13 -0
  117. autoassembler/types/assembly_diff_metadata.py +35 -0
  118. autoassembler/types/assembly_diff_response.py +34 -0
  119. autoassembler/types/assembly_info.py +36 -0
  120. autoassembler/types/assembly_json_response.py +15 -0
  121. autoassembler/types/assembly_process_metadata.py +32 -0
  122. autoassembler/types/assembly_process_response.py +18 -0
  123. autoassembler/types/assembly_search_hit.py +31 -0
  124. autoassembler/types/assembly_version_summary.py +27 -0
  125. autoassembler/types/conflict_error_body.py +19 -0
  126. autoassembler/types/conflict_error_body_error.py +5 -0
  127. autoassembler/types/create_mpp_request.py +13 -0
  128. autoassembler/types/device_authorization_response.py +17 -0
  129. autoassembler/types/diff_accepted.py +42 -0
  130. autoassembler/types/diff_context_node.py +20 -0
  131. autoassembler/types/diff_details.py +73 -0
  132. autoassembler/types/diff_error_response.py +38 -0
  133. autoassembler/types/diff_flags.py +74 -0
  134. autoassembler/types/diff_ml_semantics.py +55 -0
  135. autoassembler/types/diff_node.py +26 -0
  136. autoassembler/types/diff_node_pair_with_parts.py +90 -0
  137. autoassembler/types/diff_node_with_parent.py +15 -0
  138. autoassembler/types/diff_reference_target_nodes.py +25 -0
  139. autoassembler/types/diff_report.py +24 -0
  140. autoassembler/types/diff_rigid_alignment.py +30 -0
  141. autoassembler/types/diff_summary.py +121 -0
  142. autoassembler/types/diff_summary_assembly_labels.py +44 -0
  143. autoassembler/types/diff_summary_geometric_diffs.py +24 -0
  144. autoassembler/types/diff_summary_persistent_edges_congruence.py +24 -0
  145. autoassembler/types/diff_summary_persistent_edges_congruence_pose.py +24 -0
  146. autoassembler/types/diff_summary_persistent_nodes_congruence.py +24 -0
  147. autoassembler/types/diff_summary_persistent_nodes_congruence_pose.py +24 -0
  148. autoassembler/types/diff_summary_total_parts.py +24 -0
  149. autoassembler/types/diff_swap.py +65 -0
  150. autoassembler/types/diff_swap_confidence.py +5 -0
  151. autoassembler/types/diff_swap_group.py +92 -0
  152. autoassembler/types/diff_validation_issue.py +38 -0
  153. autoassembler/types/diff_validation_issue_severity.py +5 -0
  154. autoassembler/types/diff_validation_result.py +35 -0
  155. autoassembler/types/diff_warning.py +79 -0
  156. autoassembler/types/diff_warning_reason.py +18 -0
  157. autoassembler/types/diff_warning_severity.py +5 -0
  158. autoassembler/types/error_response.py +30 -0
  159. autoassembler/types/filter.py +19 -0
  160. autoassembler/types/filter_field.py +7 -0
  161. autoassembler/types/filter_operator.py +5 -0
  162. autoassembler/types/job.py +123 -0
  163. autoassembler/types/job_progress.py +24 -0
  164. autoassembler/types/job_status.py +5 -0
  165. autoassembler/types/list_operations_response.py +25 -0
  166. autoassembler/types/manufacturing_process_plan.py +57 -0
  167. autoassembler/types/mpp_adapt_metadata.py +48 -0
  168. autoassembler/types/mpp_adapt_response.py +22 -0
  169. autoassembler/types/mpp_evaluate_dfa_metadata.py +47 -0
  170. autoassembler/types/mpp_evaluate_dfa_response.py +22 -0
  171. autoassembler/types/mpp_plan_metadata.py +47 -0
  172. autoassembler/types/mpp_plan_response.py +22 -0
  173. autoassembler/types/mpp_summary.py +20 -0
  174. autoassembler/types/mpp_validate_metadata.py +47 -0
  175. autoassembler/types/mpp_validate_response.py +22 -0
  176. autoassembler/types/o_auth_error_response.py +14 -0
  177. autoassembler/types/o_auth_error_response_error.py +18 -0
  178. autoassembler/types/operation.py +27 -0
  179. autoassembler/types/operation_error.py +21 -0
  180. autoassembler/types/operation_metadata.py +148 -0
  181. autoassembler/types/operation_response.py +94 -0
  182. autoassembler/types/process_assembly_accepted.py +14 -0
  183. autoassembler/types/process_assembly_response.py +55 -0
  184. autoassembler/types/process_assembly_skipped.py +14 -0
  185. autoassembler/types/search_assemblies_response.py +14 -0
  186. autoassembler/types/seq_plan_accepted.py +24 -0
  187. autoassembler/types/sever.py +33 -0
  188. autoassembler/types/sever_kind.py +5 -0
  189. autoassembler/types/sever_source.py +5 -0
  190. autoassembler/types/sort.py +8 -0
  191. autoassembler/types/upload_response.py +19 -0
  192. autoassembler/types/user_info.py +19 -0
  193. autoassembler/types/user_info_response.py +23 -0
  194. autoassembler/types/user_info_response_providers.py +14 -0
  195. autoassembler-0.3.1.dist-info/METADATA +209 -0
  196. autoassembler-0.3.1.dist-info/RECORD +198 -0
  197. autoassembler-0.3.1.dist-info/WHEEL +4 -0
  198. autoassembler-0.3.1.dist-info/licenses/LICENSE +21 -0
@@ -0,0 +1,7 @@
1
+ # Fern reads this from its OUTPUT directory (src/autoassembler/); paths are
2
+ # relative to here. Listed files are never overwritten or deleted on regeneration.
3
+ client.py
4
+ operation.py
5
+ _custom/
6
+ _version.py
7
+ py.typed
@@ -0,0 +1,537 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ # isort: skip_file
4
+
5
+ import typing
6
+ from importlib import import_module
7
+
8
+ if typing.TYPE_CHECKING:
9
+ from .types import (
10
+ AccessTokenResponse,
11
+ ActiveSession,
12
+ ActiveSessionNamespace,
13
+ AdaptMppAccepted,
14
+ AssemblyConnection,
15
+ AssemblyConnectionRelationship,
16
+ AssemblyConnectionsResponse,
17
+ AssemblyDiffMetadata,
18
+ AssemblyDiffResponse,
19
+ AssemblyInfo,
20
+ AssemblyJsonResponse,
21
+ AssemblyProcessMetadata,
22
+ AssemblyProcessResponse,
23
+ AssemblySearchHit,
24
+ AssemblyVersionSummary,
25
+ ConflictErrorBody,
26
+ ConflictErrorBodyError,
27
+ CreateMppRequest,
28
+ DeviceAuthorizationResponse,
29
+ DiffAccepted,
30
+ DiffContextNode,
31
+ DiffDetails,
32
+ DiffErrorResponse,
33
+ DiffFlags,
34
+ DiffMlSemantics,
35
+ DiffNode,
36
+ DiffNodePairWithParts,
37
+ DiffNodeWithParent,
38
+ DiffReferenceTargetNodes,
39
+ DiffReport,
40
+ DiffRigidAlignment,
41
+ DiffSummary,
42
+ DiffSummaryAssemblyLabels,
43
+ DiffSummaryGeometricDiffs,
44
+ DiffSummaryPersistentEdgesCongruence,
45
+ DiffSummaryPersistentEdgesCongruencePose,
46
+ DiffSummaryPersistentNodesCongruence,
47
+ DiffSummaryPersistentNodesCongruencePose,
48
+ DiffSummaryTotalParts,
49
+ DiffSwap,
50
+ DiffSwapConfidence,
51
+ DiffSwapGroup,
52
+ DiffValidationIssue,
53
+ DiffValidationIssueSeverity,
54
+ DiffValidationResult,
55
+ DiffWarning,
56
+ DiffWarningReason,
57
+ DiffWarningSeverity,
58
+ ErrorResponse,
59
+ Filter,
60
+ FilterField,
61
+ FilterOperator,
62
+ Job,
63
+ JobProgress,
64
+ JobStatus,
65
+ ListOperationsResponse,
66
+ ManufacturingProcessPlan,
67
+ MppAdaptMetadata,
68
+ MppAdaptResponse,
69
+ MppEvaluateDfaMetadata,
70
+ MppEvaluateDfaResponse,
71
+ MppPlanMetadata,
72
+ MppPlanResponse,
73
+ MppSummary,
74
+ MppValidateMetadata,
75
+ MppValidateResponse,
76
+ OAuthErrorResponse,
77
+ OAuthErrorResponseError,
78
+ OperationError,
79
+ OperationMetadata,
80
+ OperationMetadata_AssemblyDiff,
81
+ OperationMetadata_AssemblyProcess,
82
+ OperationMetadata_MppAdapt,
83
+ OperationMetadata_MppEvaluateDfa,
84
+ OperationMetadata_MppPlan,
85
+ OperationMetadata_MppValidate,
86
+ OperationResponse,
87
+ OperationResponse_AssemblyDiff,
88
+ OperationResponse_AssemblyProcess,
89
+ OperationResponse_MppAdapt,
90
+ OperationResponse_MppEvaluateDfa,
91
+ OperationResponse_MppPlan,
92
+ OperationResponse_MppValidate,
93
+ ProcessAssemblyAccepted,
94
+ ProcessAssemblyResponse,
95
+ ProcessAssemblyResponse_AlreadyProcessed,
96
+ ProcessAssemblyResponse_CacheCleared,
97
+ ProcessAssemblyResponse_Ok,
98
+ ProcessAssemblySkipped,
99
+ SearchAssembliesResponse,
100
+ SeqPlanAccepted,
101
+ Sever,
102
+ SeverKind,
103
+ SeverSource,
104
+ Sort,
105
+ UploadResponse,
106
+ UserInfo,
107
+ UserInfoResponse,
108
+ UserInfoResponseProviders,
109
+ )
110
+ from .errors import (
111
+ BadRequestError,
112
+ ConflictError,
113
+ ForbiddenError,
114
+ InternalServerError,
115
+ NotFoundError,
116
+ UnauthorizedError,
117
+ UnprocessableEntityError,
118
+ )
119
+ from . import alpha, assemblies, auth, operations, planning, sessions
120
+ from ._custom.assemblies import Assembly, AssemblyStatus, Namespace
121
+ from ._custom.credentials import CredentialsError, DeviceAuthorizationError, login, logout
122
+ from ._custom.operations import AnyOperation, UnknownOperationMetadata, UnknownOperationResponse
123
+ from ._custom.planning import (
124
+ DfaOutcome,
125
+ FeasibilityOutcome,
126
+ FeasibilityStatus,
127
+ Part,
128
+ PlanOutcome,
129
+ PlanningStatus,
130
+ ProcessPlan,
131
+ Station,
132
+ StationDfaReport,
133
+ StationFeasibility,
134
+ StationPlanStatus,
135
+ )
136
+ from ._default_clients import DefaultAioHttpClient, DefaultAsyncHttpxClient
137
+ from ._version import API_VERSION, __version__
138
+ from .assemblies import (
139
+ DeleteAssemblyResponse,
140
+ DownloadAssemblyCadRequestNamespace,
141
+ GetAssemblyInfoRequestNamespace,
142
+ GetStatusRequestNamespace,
143
+ GetStatusResponse,
144
+ GetStatusResponseProgress,
145
+ GetStatusResponseStatus,
146
+ GetStructureRequestNamespace,
147
+ ListAssemblyVersionsRequestNamespace,
148
+ ListConnectionsRequestNamespace,
149
+ ProcessRequestNamespace,
150
+ UpdateAssemblyInfoRequestNamespace,
151
+ )
152
+ from .auth import CreateAccessTokenRequestGrantType
153
+ from .client import AsyncAutoAssembler, AutoAssembler
154
+ from .core.api_error import ApiError
155
+ from .core.parse_error import ParsingError
156
+ from .environment import AutoAssemblerEnvironment
157
+ from .operation import AsyncOperation, Operation, OperationFailed, OperationTimeout
158
+ from .planning import (
159
+ AdaptRequestNamespace,
160
+ CreateMppRequestBody,
161
+ CreateMppRequestNamespace,
162
+ DeleteMppRequestNamespace,
163
+ DeleteMppResponse,
164
+ EvaluateDfaRequestNamespace,
165
+ GetMppRequestNamespace,
166
+ GetMppResponse,
167
+ ListMppsRequestNamespace,
168
+ PlanRequestNamespace,
169
+ ValidateRequestNamespace,
170
+ )
171
+ _dynamic_imports: typing.Dict[str, str] = {
172
+ "API_VERSION": "._version",
173
+ "AccessTokenResponse": ".types",
174
+ "ActiveSession": ".types",
175
+ "ActiveSessionNamespace": ".types",
176
+ "AdaptMppAccepted": ".types",
177
+ "AdaptRequestNamespace": ".planning",
178
+ "AnyOperation": "._custom.operations",
179
+ "ApiError": ".core.api_error",
180
+ "Assembly": "._custom.assemblies",
181
+ "AssemblyConnection": ".types",
182
+ "AssemblyConnectionRelationship": ".types",
183
+ "AssemblyConnectionsResponse": ".types",
184
+ "AssemblyDiffMetadata": ".types",
185
+ "AssemblyDiffResponse": ".types",
186
+ "AssemblyInfo": ".types",
187
+ "AssemblyJsonResponse": ".types",
188
+ "AssemblyProcessMetadata": ".types",
189
+ "AssemblyProcessResponse": ".types",
190
+ "AssemblySearchHit": ".types",
191
+ "AssemblyStatus": "._custom.assemblies",
192
+ "AssemblyVersionSummary": ".types",
193
+ "AsyncAutoAssembler": ".client",
194
+ "AsyncOperation": ".operation",
195
+ "AutoAssembler": ".client",
196
+ "AutoAssemblerEnvironment": ".environment",
197
+ "BadRequestError": ".errors",
198
+ "ConflictError": ".errors",
199
+ "ConflictErrorBody": ".types",
200
+ "ConflictErrorBodyError": ".types",
201
+ "CreateAccessTokenRequestGrantType": ".auth",
202
+ "CreateMppRequest": ".types",
203
+ "CreateMppRequestBody": ".planning",
204
+ "CreateMppRequestNamespace": ".planning",
205
+ "CredentialsError": "._custom.credentials",
206
+ "DefaultAioHttpClient": "._default_clients",
207
+ "DefaultAsyncHttpxClient": "._default_clients",
208
+ "DeleteAssemblyResponse": ".assemblies",
209
+ "DeleteMppRequestNamespace": ".planning",
210
+ "DeleteMppResponse": ".planning",
211
+ "DeviceAuthorizationError": "._custom.credentials",
212
+ "DeviceAuthorizationResponse": ".types",
213
+ "DfaOutcome": "._custom.planning",
214
+ "DiffAccepted": ".types",
215
+ "DiffContextNode": ".types",
216
+ "DiffDetails": ".types",
217
+ "DiffErrorResponse": ".types",
218
+ "DiffFlags": ".types",
219
+ "DiffMlSemantics": ".types",
220
+ "DiffNode": ".types",
221
+ "DiffNodePairWithParts": ".types",
222
+ "DiffNodeWithParent": ".types",
223
+ "DiffReferenceTargetNodes": ".types",
224
+ "DiffReport": ".types",
225
+ "DiffRigidAlignment": ".types",
226
+ "DiffSummary": ".types",
227
+ "DiffSummaryAssemblyLabels": ".types",
228
+ "DiffSummaryGeometricDiffs": ".types",
229
+ "DiffSummaryPersistentEdgesCongruence": ".types",
230
+ "DiffSummaryPersistentEdgesCongruencePose": ".types",
231
+ "DiffSummaryPersistentNodesCongruence": ".types",
232
+ "DiffSummaryPersistentNodesCongruencePose": ".types",
233
+ "DiffSummaryTotalParts": ".types",
234
+ "DiffSwap": ".types",
235
+ "DiffSwapConfidence": ".types",
236
+ "DiffSwapGroup": ".types",
237
+ "DiffValidationIssue": ".types",
238
+ "DiffValidationIssueSeverity": ".types",
239
+ "DiffValidationResult": ".types",
240
+ "DiffWarning": ".types",
241
+ "DiffWarningReason": ".types",
242
+ "DiffWarningSeverity": ".types",
243
+ "DownloadAssemblyCadRequestNamespace": ".assemblies",
244
+ "ErrorResponse": ".types",
245
+ "EvaluateDfaRequestNamespace": ".planning",
246
+ "FeasibilityOutcome": "._custom.planning",
247
+ "FeasibilityStatus": "._custom.planning",
248
+ "Filter": ".types",
249
+ "FilterField": ".types",
250
+ "FilterOperator": ".types",
251
+ "ForbiddenError": ".errors",
252
+ "GetAssemblyInfoRequestNamespace": ".assemblies",
253
+ "GetMppRequestNamespace": ".planning",
254
+ "GetMppResponse": ".planning",
255
+ "GetStatusRequestNamespace": ".assemblies",
256
+ "GetStatusResponse": ".assemblies",
257
+ "GetStatusResponseProgress": ".assemblies",
258
+ "GetStatusResponseStatus": ".assemblies",
259
+ "GetStructureRequestNamespace": ".assemblies",
260
+ "InternalServerError": ".errors",
261
+ "Job": ".types",
262
+ "JobProgress": ".types",
263
+ "JobStatus": ".types",
264
+ "ListAssemblyVersionsRequestNamespace": ".assemblies",
265
+ "ListConnectionsRequestNamespace": ".assemblies",
266
+ "ListMppsRequestNamespace": ".planning",
267
+ "ListOperationsResponse": ".types",
268
+ "ManufacturingProcessPlan": ".types",
269
+ "MppAdaptMetadata": ".types",
270
+ "MppAdaptResponse": ".types",
271
+ "MppEvaluateDfaMetadata": ".types",
272
+ "MppEvaluateDfaResponse": ".types",
273
+ "MppPlanMetadata": ".types",
274
+ "MppPlanResponse": ".types",
275
+ "MppSummary": ".types",
276
+ "MppValidateMetadata": ".types",
277
+ "MppValidateResponse": ".types",
278
+ "Namespace": "._custom.assemblies",
279
+ "NotFoundError": ".errors",
280
+ "OAuthErrorResponse": ".types",
281
+ "OAuthErrorResponseError": ".types",
282
+ "Operation": ".operation",
283
+ "OperationError": ".types",
284
+ "OperationFailed": ".operation",
285
+ "OperationMetadata": ".types",
286
+ "OperationMetadata_AssemblyDiff": ".types",
287
+ "OperationMetadata_AssemblyProcess": ".types",
288
+ "OperationMetadata_MppAdapt": ".types",
289
+ "OperationMetadata_MppEvaluateDfa": ".types",
290
+ "OperationMetadata_MppPlan": ".types",
291
+ "OperationMetadata_MppValidate": ".types",
292
+ "OperationResponse": ".types",
293
+ "OperationResponse_AssemblyDiff": ".types",
294
+ "OperationResponse_AssemblyProcess": ".types",
295
+ "OperationResponse_MppAdapt": ".types",
296
+ "OperationResponse_MppEvaluateDfa": ".types",
297
+ "OperationResponse_MppPlan": ".types",
298
+ "OperationResponse_MppValidate": ".types",
299
+ "OperationTimeout": ".operation",
300
+ "ParsingError": ".core.parse_error",
301
+ "Part": "._custom.planning",
302
+ "PlanOutcome": "._custom.planning",
303
+ "PlanRequestNamespace": ".planning",
304
+ "PlanningStatus": "._custom.planning",
305
+ "ProcessAssemblyAccepted": ".types",
306
+ "ProcessAssemblyResponse": ".types",
307
+ "ProcessAssemblyResponse_AlreadyProcessed": ".types",
308
+ "ProcessAssemblyResponse_CacheCleared": ".types",
309
+ "ProcessAssemblyResponse_Ok": ".types",
310
+ "ProcessAssemblySkipped": ".types",
311
+ "ProcessPlan": "._custom.planning",
312
+ "ProcessRequestNamespace": ".assemblies",
313
+ "SearchAssembliesResponse": ".types",
314
+ "SeqPlanAccepted": ".types",
315
+ "Sever": ".types",
316
+ "SeverKind": ".types",
317
+ "SeverSource": ".types",
318
+ "Sort": ".types",
319
+ "Station": "._custom.planning",
320
+ "StationDfaReport": "._custom.planning",
321
+ "StationFeasibility": "._custom.planning",
322
+ "StationPlanStatus": "._custom.planning",
323
+ "UnauthorizedError": ".errors",
324
+ "UnknownOperationMetadata": "._custom.operations",
325
+ "UnknownOperationResponse": "._custom.operations",
326
+ "UnprocessableEntityError": ".errors",
327
+ "UpdateAssemblyInfoRequestNamespace": ".assemblies",
328
+ "UploadResponse": ".types",
329
+ "UserInfo": ".types",
330
+ "UserInfoResponse": ".types",
331
+ "UserInfoResponseProviders": ".types",
332
+ "ValidateRequestNamespace": ".planning",
333
+ "__version__": "._version",
334
+ "alpha": ".alpha",
335
+ "assemblies": ".assemblies",
336
+ "auth": ".auth",
337
+ "login": "._custom.credentials",
338
+ "logout": "._custom.credentials",
339
+ "operations": ".operations",
340
+ "planning": ".planning",
341
+ "sessions": ".sessions",
342
+ }
343
+
344
+
345
+ def __getattr__(attr_name: str) -> typing.Any:
346
+ module_name = _dynamic_imports.get(attr_name)
347
+ if module_name is None:
348
+ raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}")
349
+ try:
350
+ module = import_module(module_name, __package__)
351
+ if module_name == f".{attr_name}":
352
+ return module
353
+ else:
354
+ return getattr(module, attr_name)
355
+ except ImportError as e:
356
+ raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e
357
+ except AttributeError as e:
358
+ raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e
359
+
360
+
361
+ def __dir__():
362
+ lazy_attrs = list(_dynamic_imports.keys())
363
+ return sorted(lazy_attrs)
364
+
365
+
366
+ __all__ = [
367
+ "API_VERSION",
368
+ "AccessTokenResponse",
369
+ "ActiveSession",
370
+ "ActiveSessionNamespace",
371
+ "AdaptMppAccepted",
372
+ "AdaptRequestNamespace",
373
+ "AnyOperation",
374
+ "ApiError",
375
+ "Assembly",
376
+ "AssemblyConnection",
377
+ "AssemblyConnectionRelationship",
378
+ "AssemblyConnectionsResponse",
379
+ "AssemblyDiffMetadata",
380
+ "AssemblyDiffResponse",
381
+ "AssemblyInfo",
382
+ "AssemblyJsonResponse",
383
+ "AssemblyProcessMetadata",
384
+ "AssemblyProcessResponse",
385
+ "AssemblySearchHit",
386
+ "AssemblyStatus",
387
+ "AssemblyVersionSummary",
388
+ "AsyncAutoAssembler",
389
+ "AsyncOperation",
390
+ "AutoAssembler",
391
+ "AutoAssemblerEnvironment",
392
+ "BadRequestError",
393
+ "ConflictError",
394
+ "ConflictErrorBody",
395
+ "ConflictErrorBodyError",
396
+ "CreateAccessTokenRequestGrantType",
397
+ "CreateMppRequest",
398
+ "CreateMppRequestBody",
399
+ "CreateMppRequestNamespace",
400
+ "CredentialsError",
401
+ "DefaultAioHttpClient",
402
+ "DefaultAsyncHttpxClient",
403
+ "DeleteAssemblyResponse",
404
+ "DeleteMppRequestNamespace",
405
+ "DeleteMppResponse",
406
+ "DeviceAuthorizationError",
407
+ "DeviceAuthorizationResponse",
408
+ "DfaOutcome",
409
+ "DiffAccepted",
410
+ "DiffContextNode",
411
+ "DiffDetails",
412
+ "DiffErrorResponse",
413
+ "DiffFlags",
414
+ "DiffMlSemantics",
415
+ "DiffNode",
416
+ "DiffNodePairWithParts",
417
+ "DiffNodeWithParent",
418
+ "DiffReferenceTargetNodes",
419
+ "DiffReport",
420
+ "DiffRigidAlignment",
421
+ "DiffSummary",
422
+ "DiffSummaryAssemblyLabels",
423
+ "DiffSummaryGeometricDiffs",
424
+ "DiffSummaryPersistentEdgesCongruence",
425
+ "DiffSummaryPersistentEdgesCongruencePose",
426
+ "DiffSummaryPersistentNodesCongruence",
427
+ "DiffSummaryPersistentNodesCongruencePose",
428
+ "DiffSummaryTotalParts",
429
+ "DiffSwap",
430
+ "DiffSwapConfidence",
431
+ "DiffSwapGroup",
432
+ "DiffValidationIssue",
433
+ "DiffValidationIssueSeverity",
434
+ "DiffValidationResult",
435
+ "DiffWarning",
436
+ "DiffWarningReason",
437
+ "DiffWarningSeverity",
438
+ "DownloadAssemblyCadRequestNamespace",
439
+ "ErrorResponse",
440
+ "EvaluateDfaRequestNamespace",
441
+ "FeasibilityOutcome",
442
+ "FeasibilityStatus",
443
+ "Filter",
444
+ "FilterField",
445
+ "FilterOperator",
446
+ "ForbiddenError",
447
+ "GetAssemblyInfoRequestNamespace",
448
+ "GetMppRequestNamespace",
449
+ "GetMppResponse",
450
+ "GetStatusRequestNamespace",
451
+ "GetStatusResponse",
452
+ "GetStatusResponseProgress",
453
+ "GetStatusResponseStatus",
454
+ "GetStructureRequestNamespace",
455
+ "InternalServerError",
456
+ "Job",
457
+ "JobProgress",
458
+ "JobStatus",
459
+ "ListAssemblyVersionsRequestNamespace",
460
+ "ListConnectionsRequestNamespace",
461
+ "ListMppsRequestNamespace",
462
+ "ListOperationsResponse",
463
+ "ManufacturingProcessPlan",
464
+ "MppAdaptMetadata",
465
+ "MppAdaptResponse",
466
+ "MppEvaluateDfaMetadata",
467
+ "MppEvaluateDfaResponse",
468
+ "MppPlanMetadata",
469
+ "MppPlanResponse",
470
+ "MppSummary",
471
+ "MppValidateMetadata",
472
+ "MppValidateResponse",
473
+ "Namespace",
474
+ "NotFoundError",
475
+ "OAuthErrorResponse",
476
+ "OAuthErrorResponseError",
477
+ "Operation",
478
+ "OperationError",
479
+ "OperationFailed",
480
+ "OperationMetadata",
481
+ "OperationMetadata_AssemblyDiff",
482
+ "OperationMetadata_AssemblyProcess",
483
+ "OperationMetadata_MppAdapt",
484
+ "OperationMetadata_MppEvaluateDfa",
485
+ "OperationMetadata_MppPlan",
486
+ "OperationMetadata_MppValidate",
487
+ "OperationResponse",
488
+ "OperationResponse_AssemblyDiff",
489
+ "OperationResponse_AssemblyProcess",
490
+ "OperationResponse_MppAdapt",
491
+ "OperationResponse_MppEvaluateDfa",
492
+ "OperationResponse_MppPlan",
493
+ "OperationResponse_MppValidate",
494
+ "OperationTimeout",
495
+ "ParsingError",
496
+ "Part",
497
+ "PlanOutcome",
498
+ "PlanRequestNamespace",
499
+ "PlanningStatus",
500
+ "ProcessAssemblyAccepted",
501
+ "ProcessAssemblyResponse",
502
+ "ProcessAssemblyResponse_AlreadyProcessed",
503
+ "ProcessAssemblyResponse_CacheCleared",
504
+ "ProcessAssemblyResponse_Ok",
505
+ "ProcessAssemblySkipped",
506
+ "ProcessPlan",
507
+ "ProcessRequestNamespace",
508
+ "SearchAssembliesResponse",
509
+ "SeqPlanAccepted",
510
+ "Sever",
511
+ "SeverKind",
512
+ "SeverSource",
513
+ "Sort",
514
+ "Station",
515
+ "StationDfaReport",
516
+ "StationFeasibility",
517
+ "StationPlanStatus",
518
+ "UnauthorizedError",
519
+ "UnknownOperationMetadata",
520
+ "UnknownOperationResponse",
521
+ "UnprocessableEntityError",
522
+ "UpdateAssemblyInfoRequestNamespace",
523
+ "UploadResponse",
524
+ "UserInfo",
525
+ "UserInfoResponse",
526
+ "UserInfoResponseProviders",
527
+ "ValidateRequestNamespace",
528
+ "__version__",
529
+ "alpha",
530
+ "assemblies",
531
+ "auth",
532
+ "login",
533
+ "logout",
534
+ "operations",
535
+ "planning",
536
+ "sessions",
537
+ ]
@@ -0,0 +1,56 @@
1
+ """Hand-written layer: the curated namespaces, handles and outcome types."""
2
+
3
+ from .assemblies import Assemblies, Assembly, AssemblyStatus, Namespace
4
+ from .assemblies_api import AssembliesApi, AsyncAssembliesApi
5
+ from .operations import (
6
+ AnyOperation,
7
+ AsyncOperations,
8
+ Operations,
9
+ UnknownOperationMetadata,
10
+ UnknownOperationResponse,
11
+ )
12
+ from .planning import (
13
+ DfaOutcome,
14
+ FeasibilityOutcome,
15
+ FeasibilityStatus,
16
+ Part,
17
+ Planning,
18
+ PlanningStatus,
19
+ PlanOutcome,
20
+ ProcessPlan,
21
+ Station,
22
+ StationDfaReport,
23
+ StationFeasibility,
24
+ StationOutcomes,
25
+ StationPlanStatus,
26
+ )
27
+ from .planning_api import AsyncPlanningApi, PlanningApi
28
+
29
+ __all__ = [
30
+ "AnyOperation",
31
+ "Assemblies",
32
+ "AssembliesApi",
33
+ "Assembly",
34
+ "AssemblyStatus",
35
+ "AsyncAssembliesApi",
36
+ "AsyncOperations",
37
+ "AsyncPlanningApi",
38
+ "DfaOutcome",
39
+ "FeasibilityOutcome",
40
+ "FeasibilityStatus",
41
+ "Namespace",
42
+ "Operations",
43
+ "Part",
44
+ "PlanOutcome",
45
+ "Planning",
46
+ "PlanningApi",
47
+ "PlanningStatus",
48
+ "ProcessPlan",
49
+ "Station",
50
+ "StationDfaReport",
51
+ "StationFeasibility",
52
+ "StationOutcomes",
53
+ "StationPlanStatus",
54
+ "UnknownOperationMetadata",
55
+ "UnknownOperationResponse",
56
+ ]