wandelbots-api-client 25.11.0.dev12__py3-none-any.whl → 26.1.0.dev50__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 (31) hide show
  1. wandelbots_api_client/__init__.py +1 -1
  2. wandelbots_api_client/api/motion_api.py +3 -3
  3. wandelbots_api_client/api_client.py +1 -1
  4. wandelbots_api_client/configuration.py +1 -1
  5. wandelbots_api_client/v2/__init__.py +1 -1
  6. wandelbots_api_client/v2/api/bus_inputs_outputs_api.py +579 -0
  7. wandelbots_api_client/v2/api/jogging_api.py +1 -1
  8. wandelbots_api_client/v2/api/motion_group_models_api.py +530 -2
  9. wandelbots_api_client/v2/api/program_api.py +12 -12
  10. wandelbots_api_client/v2/api/trajectory_execution_api.py +1 -1
  11. wandelbots_api_client/v2/api_client.py +1 -1
  12. wandelbots_api_client/v2/configuration.py +1 -1
  13. wandelbots_api_client/v2/models/__init__.py +2 -0
  14. wandelbots_api_client/v2/models/blending_auto.py +1 -1
  15. wandelbots_api_client/v2/models/blending_position.py +15 -1
  16. wandelbots_api_client/v2/models/blending_space.py +37 -0
  17. wandelbots_api_client/v2/models/motion_group_description.py +4 -2
  18. wandelbots_api_client/v2_pydantic/__init__.py +1 -1
  19. wandelbots_api_client/v2_pydantic/api/bus_inputs_outputs_api.py +585 -0
  20. wandelbots_api_client/v2_pydantic/api/jogging_api.py +1 -1
  21. wandelbots_api_client/v2_pydantic/api/motion_group_models_api.py +536 -2
  22. wandelbots_api_client/v2_pydantic/api/program_api.py +12 -12
  23. wandelbots_api_client/v2_pydantic/api/trajectory_execution_api.py +1 -1
  24. wandelbots_api_client/v2_pydantic/api_client.py +1 -1
  25. wandelbots_api_client/v2_pydantic/configuration.py +1 -1
  26. wandelbots_api_client/v2_pydantic/models.py +401 -374
  27. {wandelbots_api_client-25.11.0.dev12.dist-info → wandelbots_api_client-26.1.0.dev50.dist-info}/METADATA +2 -2
  28. {wandelbots_api_client-25.11.0.dev12.dist-info → wandelbots_api_client-26.1.0.dev50.dist-info}/RECORD +31 -30
  29. {wandelbots_api_client-25.11.0.dev12.dist-info → wandelbots_api_client-26.1.0.dev50.dist-info}/WHEEL +0 -0
  30. {wandelbots_api_client-25.11.0.dev12.dist-info → wandelbots_api_client-26.1.0.dev50.dist-info}/licenses/LICENSE +0 -0
  31. {wandelbots_api_client-25.11.0.dev12.dist-info → wandelbots_api_client-26.1.0.dev50.dist-info}/top_level.txt +0 -0
@@ -47,7 +47,7 @@ class JoggingApi:
47
47
  async def execute_jogging(self, cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")], controller: Annotated[StrictStr, Field(description="Unique identifier to address a controller in the cell.")], client_request_generator: Callable[[AsyncGenerator[ExecuteJoggingResponse, None]], AsyncGenerator[ExecuteJoggingRequest, None]]) -> None: # noqa: E501
48
48
  """Execute Jogging # noqa: E501
49
49
 
50
- <!-- theme: success --> > Websocket endpoint Provides execution control over a dynamically adaptable jogging motion for a motion group. Jogging describes controlling a motion group by sending real-time commands to move either its joints or the TCP. The commands contain target velocities that may change at any time during execution, so the resulting motion cannot be computed upfront. ### Preconditions The motion group is not moved by any other endpoint. ### Requests #### 1. Send `InitializeJoggingRequest` to configure the jogging. - Sets the robot controller mode to control mode. - Sets rate and coordinate system for the jogging response. #### 2. Send `JointVelocityRequest` or `TcpVelocityRequest` to start the jogging motion. #### 3. Change or stop the jogging motion - Change the jogging direction and/or velocity during the jogging motion with `JointVelocityRequest` or `TcpVelocityRequest`. - To stop the jogging motion, send zero velocities via either request. ### Responses - `InitializeJoggingResponse` is sent to signal the success or failure of the `InitializeJoggingRequest`. - Jogging responses are streamed continuously after an `InitializeJoggingRequest` is processed. Jogging responses contain the robot controller state and the state of the jogging control. - `JoggingErrorResponse` with error details is sent in case of an unexpected error, e.g., controller disconnects during jogging. ### Tips and Tricks - In the `JoggingResponse`, verify that the robot control is in the desired state, e.g., standstill, with JoggingState. - Ensure that the websocket connection remains open until the jogging motion is stopped to avoid unexpected stops. # noqa: E501
50
+ <!-- theme: success --> > Websocket endpoint Provides execution control over a dynamically adaptable jogging motion for a motion group. Jogging describes controlling a motion group by sending real-time commands to move either its joints or the TCP. The commands contain target velocities that may change at any time during execution, so the resulting motion cannot be computed upfront. ### Preconditions The motion group is not moved by any other endpoint. ### Requests #### 1. Send `InitializeJoggingRequest` to configure the jogging. - Sets the robot controller mode to control mode. - Sets rate and coordinate system for the jogging response. #### 2. Send `JointVelocityRequest` or `TcpVelocityRequest` to start the jogging motion. - Commands can only be processed in the cycle rate of the controller - Sending commands faster will not increase the responsiveness of the jogging motion, it will lead to dropped commands - It is recommended to couple sending commands with the (state stream)[streamMotionGroupState], which can be subscribed to via nats as well. #### 3. Change or stop the jogging motion - Change the jogging direction and/or velocity during the jogging motion with `JointVelocityRequest` or `TcpVelocityRequest`. - To stop the jogging motion, send zero velocities via either request. ### Responses - `InitializeJoggingResponse` is sent to signal the success or failure of the `InitializeJoggingRequest`. - Jogging responses are streamed continuously after an `InitializeJoggingRequest` is processed. Jogging responses contain the robot controller state and the state of the jogging control. - `JoggingErrorResponse` with error details is sent in case of an unexpected error, e.g., controller disconnects during jogging. ### Tips and Tricks - In the `JoggingResponse`, verify that the robot control is in the desired state, e.g., standstill, with JoggingState. - Ensure that the websocket connection remains open until the jogging motion is stopped to avoid unexpected stops. # noqa: E501
51
51
  :param client_request_generator: An AsyncGenerator that yields request of type ExecuteJoggingRequest and takes an AsyncGenerator of ExecuteJoggingResponse as an input argument (required)
52
52
  :info All responses from the server will be yielded to client_request_generator through the (AsyncGenerator[ExecuteJoggingResponse, None])
53
53
  :type AsyncGenerator[ExecuteJoggingRequest, None]
@@ -22,8 +22,8 @@ from typing import Any, AsyncGenerator, Callable, Dict, List, Optional, Tuple, U
22
22
  from typing_extensions import Annotated
23
23
  from urllib.parse import quote
24
24
 
25
- from pydantic import Field, StrictStr
26
- from typing import Dict, List
25
+ from pydantic import Field, StrictBytes, StrictStr
26
+ from typing import Dict, List, Tuple, Union
27
27
  from typing_extensions import Annotated
28
28
  from wandelbots_api_client.v2.models.collider import Collider
29
29
 
@@ -307,6 +307,270 @@ class MotionGroupModelsApi:
307
307
 
308
308
 
309
309
 
310
+ @validate_call
311
+ async def get_motion_group_glb_model(
312
+ self,
313
+ motion_group_model: Annotated[StrictStr, Field(description="Unique identifier for the model of a motion group, e.g., `UniversalRobots_UR10e`. Get the `model` of a configured motion group with [getOptimizerConfiguration](getOptimizerConfiguration). ")],
314
+ _request_timeout: Union[
315
+ None,
316
+ Annotated[StrictFloat, Field(gt=0)],
317
+ Tuple[
318
+ Annotated[StrictFloat, Field(gt=0)],
319
+ Annotated[StrictFloat, Field(gt=0)]
320
+ ]
321
+ ] = None,
322
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
323
+ _content_type: Optional[StrictStr] = None,
324
+ _headers: Optional[Dict[StrictStr, Any]] = None,
325
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
326
+ ) -> bytearray:
327
+ """Download GLB Model
328
+
329
+ Returns the GLB asset for the specified motion group model. See [getMotionGroupModels](getMotionGroupModels) for supported identifiers.
330
+
331
+ :param motion_group_model: Unique identifier for the model of a motion group, e.g., `UniversalRobots_UR10e`. Get the `model` of a configured motion group with [getOptimizerConfiguration](getOptimizerConfiguration). (required)
332
+ :type motion_group_model: str
333
+ :param _request_timeout: timeout setting for this request. If one
334
+ number provided, it will be total request
335
+ timeout. It can also be a pair (tuple) of
336
+ (connection, read) timeouts.
337
+ :type _request_timeout: int, tuple(int, int), optional
338
+ :param _request_auth: set to override the auth_settings for an a single
339
+ request; this effectively ignores the
340
+ authentication in the spec for a single request.
341
+ :type _request_auth: dict, optional
342
+ :param _content_type: force content-type for the request.
343
+ :type _content_type: str, Optional
344
+ :param _headers: set to override the headers for a single
345
+ request; this effectively ignores the headers
346
+ in the spec for a single request.
347
+ :type _headers: dict, optional
348
+ :param _host_index: set to override the host_index for a single
349
+ request; this effectively ignores the host_index
350
+ in the spec for a single request.
351
+ :type _host_index: int, optional
352
+ :return: Returns the result object.
353
+ """ # noqa: E501
354
+
355
+ _param = self._get_motion_group_glb_model_serialize(
356
+ motion_group_model=motion_group_model,
357
+ _request_auth=_request_auth,
358
+ _content_type=_content_type,
359
+ _headers=_headers,
360
+ _host_index=_host_index
361
+ )
362
+
363
+ _response_types_map: Dict[str, Optional[str]] = {
364
+ '200': "bytearray",
365
+ '404': None,
366
+ '500': None,
367
+ }
368
+ response_data = await self.api_client.call_api(
369
+ *_param,
370
+ _request_timeout=_request_timeout
371
+ )
372
+ await response_data.read()
373
+ return self.api_client.response_deserialize(
374
+ response_data=response_data,
375
+ response_types_map=_response_types_map,
376
+ ).data
377
+
378
+
379
+ @validate_call
380
+ async def get_motion_group_glb_model_with_http_info(
381
+ self,
382
+ motion_group_model: Annotated[StrictStr, Field(description="Unique identifier for the model of a motion group, e.g., `UniversalRobots_UR10e`. Get the `model` of a configured motion group with [getOptimizerConfiguration](getOptimizerConfiguration). ")],
383
+ _request_timeout: Union[
384
+ None,
385
+ Annotated[StrictFloat, Field(gt=0)],
386
+ Tuple[
387
+ Annotated[StrictFloat, Field(gt=0)],
388
+ Annotated[StrictFloat, Field(gt=0)]
389
+ ]
390
+ ] = None,
391
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
392
+ _content_type: Optional[StrictStr] = None,
393
+ _headers: Optional[Dict[StrictStr, Any]] = None,
394
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
395
+ ) -> ApiResponse[bytearray]:
396
+ """Download GLB Model
397
+
398
+ Returns the GLB asset for the specified motion group model. See [getMotionGroupModels](getMotionGroupModels) for supported identifiers.
399
+
400
+ :param motion_group_model: Unique identifier for the model of a motion group, e.g., `UniversalRobots_UR10e`. Get the `model` of a configured motion group with [getOptimizerConfiguration](getOptimizerConfiguration). (required)
401
+ :type motion_group_model: str
402
+ :param _request_timeout: timeout setting for this request. If one
403
+ number provided, it will be total request
404
+ timeout. It can also be a pair (tuple) of
405
+ (connection, read) timeouts.
406
+ :type _request_timeout: int, tuple(int, int), optional
407
+ :param _request_auth: set to override the auth_settings for an a single
408
+ request; this effectively ignores the
409
+ authentication in the spec for a single request.
410
+ :type _request_auth: dict, optional
411
+ :param _content_type: force content-type for the request.
412
+ :type _content_type: str, Optional
413
+ :param _headers: set to override the headers for a single
414
+ request; this effectively ignores the headers
415
+ in the spec for a single request.
416
+ :type _headers: dict, optional
417
+ :param _host_index: set to override the host_index for a single
418
+ request; this effectively ignores the host_index
419
+ in the spec for a single request.
420
+ :type _host_index: int, optional
421
+ :return: Returns the result object.
422
+ """ # noqa: E501
423
+
424
+ _param = self._get_motion_group_glb_model_serialize(
425
+ motion_group_model=motion_group_model,
426
+ _request_auth=_request_auth,
427
+ _content_type=_content_type,
428
+ _headers=_headers,
429
+ _host_index=_host_index
430
+ )
431
+
432
+ _response_types_map: Dict[str, Optional[str]] = {
433
+ '200': "bytearray",
434
+ '404': None,
435
+ '500': None,
436
+ }
437
+ response_data = await self.api_client.call_api(
438
+ *_param,
439
+ _request_timeout=_request_timeout
440
+ )
441
+ await response_data.read()
442
+ return self.api_client.response_deserialize(
443
+ response_data=response_data,
444
+ response_types_map=_response_types_map,
445
+ )
446
+
447
+
448
+ @validate_call
449
+ async def get_motion_group_glb_model_without_preload_content(
450
+ self,
451
+ motion_group_model: Annotated[StrictStr, Field(description="Unique identifier for the model of a motion group, e.g., `UniversalRobots_UR10e`. Get the `model` of a configured motion group with [getOptimizerConfiguration](getOptimizerConfiguration). ")],
452
+ _request_timeout: Union[
453
+ None,
454
+ Annotated[StrictFloat, Field(gt=0)],
455
+ Tuple[
456
+ Annotated[StrictFloat, Field(gt=0)],
457
+ Annotated[StrictFloat, Field(gt=0)]
458
+ ]
459
+ ] = None,
460
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
461
+ _content_type: Optional[StrictStr] = None,
462
+ _headers: Optional[Dict[StrictStr, Any]] = None,
463
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
464
+ ) -> RESTResponseType:
465
+ """Download GLB Model
466
+
467
+ Returns the GLB asset for the specified motion group model. See [getMotionGroupModels](getMotionGroupModels) for supported identifiers.
468
+
469
+ :param motion_group_model: Unique identifier for the model of a motion group, e.g., `UniversalRobots_UR10e`. Get the `model` of a configured motion group with [getOptimizerConfiguration](getOptimizerConfiguration). (required)
470
+ :type motion_group_model: str
471
+ :param _request_timeout: timeout setting for this request. If one
472
+ number provided, it will be total request
473
+ timeout. It can also be a pair (tuple) of
474
+ (connection, read) timeouts.
475
+ :type _request_timeout: int, tuple(int, int), optional
476
+ :param _request_auth: set to override the auth_settings for an a single
477
+ request; this effectively ignores the
478
+ authentication in the spec for a single request.
479
+ :type _request_auth: dict, optional
480
+ :param _content_type: force content-type for the request.
481
+ :type _content_type: str, Optional
482
+ :param _headers: set to override the headers for a single
483
+ request; this effectively ignores the headers
484
+ in the spec for a single request.
485
+ :type _headers: dict, optional
486
+ :param _host_index: set to override the host_index for a single
487
+ request; this effectively ignores the host_index
488
+ in the spec for a single request.
489
+ :type _host_index: int, optional
490
+ :return: Returns the result object.
491
+ """ # noqa: E501
492
+
493
+ _param = self._get_motion_group_glb_model_serialize(
494
+ motion_group_model=motion_group_model,
495
+ _request_auth=_request_auth,
496
+ _content_type=_content_type,
497
+ _headers=_headers,
498
+ _host_index=_host_index
499
+ )
500
+
501
+ _response_types_map: Dict[str, Optional[str]] = {
502
+ '200': "bytearray",
503
+ '404': None,
504
+ '500': None,
505
+ }
506
+ response_data = await self.api_client.call_api(
507
+ *_param,
508
+ _request_timeout=_request_timeout
509
+ )
510
+ return response_data.response
511
+
512
+
513
+ def _get_motion_group_glb_model_serialize(
514
+ self,
515
+ motion_group_model,
516
+ _request_auth,
517
+ _content_type,
518
+ _headers,
519
+ _host_index,
520
+ ) -> RequestSerialized:
521
+
522
+ _host = None
523
+
524
+ _collection_formats: Dict[str, str] = {
525
+ }
526
+
527
+ _path_params: Dict[str, str] = {}
528
+ _query_params: List[Tuple[str, str]] = []
529
+ _header_params: Dict[str, Optional[str]] = _headers or {}
530
+ _form_params: List[Tuple[str, str]] = []
531
+ _files: Dict[str, Union[str, bytes]] = {}
532
+ _body_params: Optional[bytes] = None
533
+
534
+ # process the path parameters
535
+ if motion_group_model is not None:
536
+ _path_params['motion-group-model'] = motion_group_model
537
+ # process the query parameters
538
+ # process the header parameters
539
+ # process the form parameters
540
+ # process the body parameter
541
+
542
+
543
+ # set the HTTP header `Accept`
544
+ _header_params['Accept'] = self.api_client.select_header_accept(
545
+ [
546
+ 'application/octet-stream'
547
+ ]
548
+ )
549
+
550
+
551
+ # authentication setting
552
+ _auth_settings: List[str] = [
553
+ 'BasicAuth',
554
+ 'BearerAuth'
555
+ ]
556
+
557
+ return self.api_client.param_serialize(
558
+ method='GET',
559
+ resource_path='/motion-group-models/{motion-group-model}/glb',
560
+ path_params=_path_params,
561
+ query_params=_query_params,
562
+ header_params=_header_params,
563
+ body=_body_params,
564
+ post_params=_form_params,
565
+ files=_files,
566
+ auth_settings=_auth_settings,
567
+ collection_formats=_collection_formats,
568
+ _host=_host,
569
+ _request_auth=_request_auth
570
+ )
571
+
572
+
573
+
310
574
  @validate_call
311
575
  async def get_motion_group_models(
312
576
  self,
@@ -555,3 +819,267 @@ class MotionGroupModelsApi:
555
819
  )
556
820
 
557
821
 
822
+
823
+ @validate_call
824
+ async def get_motion_group_usd_model(
825
+ self,
826
+ motion_group_model: Annotated[StrictStr, Field(description="Unique identifier for the model of a motion group, e.g., `UniversalRobots_UR10e`. Get the `model` of a configured motion group with [getOptimizerConfiguration](getOptimizerConfiguration). ")],
827
+ _request_timeout: Union[
828
+ None,
829
+ Annotated[StrictFloat, Field(gt=0)],
830
+ Tuple[
831
+ Annotated[StrictFloat, Field(gt=0)],
832
+ Annotated[StrictFloat, Field(gt=0)]
833
+ ]
834
+ ] = None,
835
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
836
+ _content_type: Optional[StrictStr] = None,
837
+ _headers: Optional[Dict[StrictStr, Any]] = None,
838
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
839
+ ) -> bytearray:
840
+ """Download USD Model
841
+
842
+ Returns the USD scene model for the specified motion group model. See [getMotionGroupModels](getMotionGroupModels) for supported identifiers.
843
+
844
+ :param motion_group_model: Unique identifier for the model of a motion group, e.g., `UniversalRobots_UR10e`. Get the `model` of a configured motion group with [getOptimizerConfiguration](getOptimizerConfiguration). (required)
845
+ :type motion_group_model: str
846
+ :param _request_timeout: timeout setting for this request. If one
847
+ number provided, it will be total request
848
+ timeout. It can also be a pair (tuple) of
849
+ (connection, read) timeouts.
850
+ :type _request_timeout: int, tuple(int, int), optional
851
+ :param _request_auth: set to override the auth_settings for an a single
852
+ request; this effectively ignores the
853
+ authentication in the spec for a single request.
854
+ :type _request_auth: dict, optional
855
+ :param _content_type: force content-type for the request.
856
+ :type _content_type: str, Optional
857
+ :param _headers: set to override the headers for a single
858
+ request; this effectively ignores the headers
859
+ in the spec for a single request.
860
+ :type _headers: dict, optional
861
+ :param _host_index: set to override the host_index for a single
862
+ request; this effectively ignores the host_index
863
+ in the spec for a single request.
864
+ :type _host_index: int, optional
865
+ :return: Returns the result object.
866
+ """ # noqa: E501
867
+
868
+ _param = self._get_motion_group_usd_model_serialize(
869
+ motion_group_model=motion_group_model,
870
+ _request_auth=_request_auth,
871
+ _content_type=_content_type,
872
+ _headers=_headers,
873
+ _host_index=_host_index
874
+ )
875
+
876
+ _response_types_map: Dict[str, Optional[str]] = {
877
+ '200': "bytearray",
878
+ '404': None,
879
+ '500': None,
880
+ }
881
+ response_data = await self.api_client.call_api(
882
+ *_param,
883
+ _request_timeout=_request_timeout
884
+ )
885
+ await response_data.read()
886
+ return self.api_client.response_deserialize(
887
+ response_data=response_data,
888
+ response_types_map=_response_types_map,
889
+ ).data
890
+
891
+
892
+ @validate_call
893
+ async def get_motion_group_usd_model_with_http_info(
894
+ self,
895
+ motion_group_model: Annotated[StrictStr, Field(description="Unique identifier for the model of a motion group, e.g., `UniversalRobots_UR10e`. Get the `model` of a configured motion group with [getOptimizerConfiguration](getOptimizerConfiguration). ")],
896
+ _request_timeout: Union[
897
+ None,
898
+ Annotated[StrictFloat, Field(gt=0)],
899
+ Tuple[
900
+ Annotated[StrictFloat, Field(gt=0)],
901
+ Annotated[StrictFloat, Field(gt=0)]
902
+ ]
903
+ ] = None,
904
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
905
+ _content_type: Optional[StrictStr] = None,
906
+ _headers: Optional[Dict[StrictStr, Any]] = None,
907
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
908
+ ) -> ApiResponse[bytearray]:
909
+ """Download USD Model
910
+
911
+ Returns the USD scene model for the specified motion group model. See [getMotionGroupModels](getMotionGroupModels) for supported identifiers.
912
+
913
+ :param motion_group_model: Unique identifier for the model of a motion group, e.g., `UniversalRobots_UR10e`. Get the `model` of a configured motion group with [getOptimizerConfiguration](getOptimizerConfiguration). (required)
914
+ :type motion_group_model: str
915
+ :param _request_timeout: timeout setting for this request. If one
916
+ number provided, it will be total request
917
+ timeout. It can also be a pair (tuple) of
918
+ (connection, read) timeouts.
919
+ :type _request_timeout: int, tuple(int, int), optional
920
+ :param _request_auth: set to override the auth_settings for an a single
921
+ request; this effectively ignores the
922
+ authentication in the spec for a single request.
923
+ :type _request_auth: dict, optional
924
+ :param _content_type: force content-type for the request.
925
+ :type _content_type: str, Optional
926
+ :param _headers: set to override the headers for a single
927
+ request; this effectively ignores the headers
928
+ in the spec for a single request.
929
+ :type _headers: dict, optional
930
+ :param _host_index: set to override the host_index for a single
931
+ request; this effectively ignores the host_index
932
+ in the spec for a single request.
933
+ :type _host_index: int, optional
934
+ :return: Returns the result object.
935
+ """ # noqa: E501
936
+
937
+ _param = self._get_motion_group_usd_model_serialize(
938
+ motion_group_model=motion_group_model,
939
+ _request_auth=_request_auth,
940
+ _content_type=_content_type,
941
+ _headers=_headers,
942
+ _host_index=_host_index
943
+ )
944
+
945
+ _response_types_map: Dict[str, Optional[str]] = {
946
+ '200': "bytearray",
947
+ '404': None,
948
+ '500': None,
949
+ }
950
+ response_data = await self.api_client.call_api(
951
+ *_param,
952
+ _request_timeout=_request_timeout
953
+ )
954
+ await response_data.read()
955
+ return self.api_client.response_deserialize(
956
+ response_data=response_data,
957
+ response_types_map=_response_types_map,
958
+ )
959
+
960
+
961
+ @validate_call
962
+ async def get_motion_group_usd_model_without_preload_content(
963
+ self,
964
+ motion_group_model: Annotated[StrictStr, Field(description="Unique identifier for the model of a motion group, e.g., `UniversalRobots_UR10e`. Get the `model` of a configured motion group with [getOptimizerConfiguration](getOptimizerConfiguration). ")],
965
+ _request_timeout: Union[
966
+ None,
967
+ Annotated[StrictFloat, Field(gt=0)],
968
+ Tuple[
969
+ Annotated[StrictFloat, Field(gt=0)],
970
+ Annotated[StrictFloat, Field(gt=0)]
971
+ ]
972
+ ] = None,
973
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
974
+ _content_type: Optional[StrictStr] = None,
975
+ _headers: Optional[Dict[StrictStr, Any]] = None,
976
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
977
+ ) -> RESTResponseType:
978
+ """Download USD Model
979
+
980
+ Returns the USD scene model for the specified motion group model. See [getMotionGroupModels](getMotionGroupModels) for supported identifiers.
981
+
982
+ :param motion_group_model: Unique identifier for the model of a motion group, e.g., `UniversalRobots_UR10e`. Get the `model` of a configured motion group with [getOptimizerConfiguration](getOptimizerConfiguration). (required)
983
+ :type motion_group_model: str
984
+ :param _request_timeout: timeout setting for this request. If one
985
+ number provided, it will be total request
986
+ timeout. It can also be a pair (tuple) of
987
+ (connection, read) timeouts.
988
+ :type _request_timeout: int, tuple(int, int), optional
989
+ :param _request_auth: set to override the auth_settings for an a single
990
+ request; this effectively ignores the
991
+ authentication in the spec for a single request.
992
+ :type _request_auth: dict, optional
993
+ :param _content_type: force content-type for the request.
994
+ :type _content_type: str, Optional
995
+ :param _headers: set to override the headers for a single
996
+ request; this effectively ignores the headers
997
+ in the spec for a single request.
998
+ :type _headers: dict, optional
999
+ :param _host_index: set to override the host_index for a single
1000
+ request; this effectively ignores the host_index
1001
+ in the spec for a single request.
1002
+ :type _host_index: int, optional
1003
+ :return: Returns the result object.
1004
+ """ # noqa: E501
1005
+
1006
+ _param = self._get_motion_group_usd_model_serialize(
1007
+ motion_group_model=motion_group_model,
1008
+ _request_auth=_request_auth,
1009
+ _content_type=_content_type,
1010
+ _headers=_headers,
1011
+ _host_index=_host_index
1012
+ )
1013
+
1014
+ _response_types_map: Dict[str, Optional[str]] = {
1015
+ '200': "bytearray",
1016
+ '404': None,
1017
+ '500': None,
1018
+ }
1019
+ response_data = await self.api_client.call_api(
1020
+ *_param,
1021
+ _request_timeout=_request_timeout
1022
+ )
1023
+ return response_data.response
1024
+
1025
+
1026
+ def _get_motion_group_usd_model_serialize(
1027
+ self,
1028
+ motion_group_model,
1029
+ _request_auth,
1030
+ _content_type,
1031
+ _headers,
1032
+ _host_index,
1033
+ ) -> RequestSerialized:
1034
+
1035
+ _host = None
1036
+
1037
+ _collection_formats: Dict[str, str] = {
1038
+ }
1039
+
1040
+ _path_params: Dict[str, str] = {}
1041
+ _query_params: List[Tuple[str, str]] = []
1042
+ _header_params: Dict[str, Optional[str]] = _headers or {}
1043
+ _form_params: List[Tuple[str, str]] = []
1044
+ _files: Dict[str, Union[str, bytes]] = {}
1045
+ _body_params: Optional[bytes] = None
1046
+
1047
+ # process the path parameters
1048
+ if motion_group_model is not None:
1049
+ _path_params['motion-group-model'] = motion_group_model
1050
+ # process the query parameters
1051
+ # process the header parameters
1052
+ # process the form parameters
1053
+ # process the body parameter
1054
+
1055
+
1056
+ # set the HTTP header `Accept`
1057
+ _header_params['Accept'] = self.api_client.select_header_accept(
1058
+ [
1059
+ 'application/octet-stream'
1060
+ ]
1061
+ )
1062
+
1063
+
1064
+ # authentication setting
1065
+ _auth_settings: List[str] = [
1066
+ 'BasicAuth',
1067
+ 'BearerAuth'
1068
+ ]
1069
+
1070
+ return self.api_client.param_serialize(
1071
+ method='GET',
1072
+ resource_path='/motion-group-models/{motion-group-model}/usd',
1073
+ path_params=_path_params,
1074
+ query_params=_query_params,
1075
+ header_params=_header_params,
1076
+ body=_body_params,
1077
+ post_params=_form_params,
1078
+ files=_files,
1079
+ auth_settings=_auth_settings,
1080
+ collection_formats=_collection_formats,
1081
+ _host=_host,
1082
+ _request_auth=_request_auth
1083
+ )
1084
+
1085
+
@@ -65,7 +65,7 @@ class ProgramApi:
65
65
  ) -> Program:
66
66
  """Get program
67
67
 
68
- Get details of a program.
68
+ <!-- theme: danger --> > **Experimental** Get details of a program.
69
69
 
70
70
  :param cell: Unique identifier addressing a cell in all API calls. (required)
71
71
  :type cell: str
@@ -137,7 +137,7 @@ class ProgramApi:
137
137
  ) -> ApiResponse[Program]:
138
138
  """Get program
139
139
 
140
- Get details of a program.
140
+ <!-- theme: danger --> > **Experimental** Get details of a program.
141
141
 
142
142
  :param cell: Unique identifier addressing a cell in all API calls. (required)
143
143
  :type cell: str
@@ -209,7 +209,7 @@ class ProgramApi:
209
209
  ) -> RESTResponseType:
210
210
  """Get program
211
211
 
212
- Get details of a program.
212
+ <!-- theme: danger --> > **Experimental** Get details of a program.
213
213
 
214
214
  :param cell: Unique identifier addressing a cell in all API calls. (required)
215
215
  :type cell: str
@@ -340,7 +340,7 @@ class ProgramApi:
340
340
  ) -> List[Program]:
341
341
  """List programs
342
342
 
343
- List details of all existing programs.
343
+ <!-- theme: danger --> > **Experimental** List details of all existing programs.
344
344
 
345
345
  :param cell: Unique identifier addressing a cell in all API calls. (required)
346
346
  :type cell: str
@@ -408,7 +408,7 @@ class ProgramApi:
408
408
  ) -> ApiResponse[List[Program]]:
409
409
  """List programs
410
410
 
411
- List details of all existing programs.
411
+ <!-- theme: danger --> > **Experimental** List details of all existing programs.
412
412
 
413
413
  :param cell: Unique identifier addressing a cell in all API calls. (required)
414
414
  :type cell: str
@@ -476,7 +476,7 @@ class ProgramApi:
476
476
  ) -> RESTResponseType:
477
477
  """List programs
478
478
 
479
- List details of all existing programs.
479
+ <!-- theme: danger --> > **Experimental** List details of all existing programs.
480
480
 
481
481
  :param cell: Unique identifier addressing a cell in all API calls. (required)
482
482
  :type cell: str
@@ -603,7 +603,7 @@ class ProgramApi:
603
603
  ) -> ProgramRun:
604
604
  """Start the program
605
605
 
606
- This endpoint starts a new program execution. The program will be executed asynchronously.
606
+ <!-- theme: danger --> > **Experimental** This endpoint starts a new program execution. The program will be executed asynchronously.
607
607
 
608
608
  :param cell: Unique identifier addressing a cell in all API calls. (required)
609
609
  :type cell: str
@@ -684,7 +684,7 @@ class ProgramApi:
684
684
  ) -> ApiResponse[ProgramRun]:
685
685
  """Start the program
686
686
 
687
- This endpoint starts a new program execution. The program will be executed asynchronously.
687
+ <!-- theme: danger --> > **Experimental** This endpoint starts a new program execution. The program will be executed asynchronously.
688
688
 
689
689
  :param cell: Unique identifier addressing a cell in all API calls. (required)
690
690
  :type cell: str
@@ -765,7 +765,7 @@ class ProgramApi:
765
765
  ) -> RESTResponseType:
766
766
  """Start the program
767
767
 
768
- This endpoint starts a new program execution. The program will be executed asynchronously.
768
+ <!-- theme: danger --> > **Experimental** This endpoint starts a new program execution. The program will be executed asynchronously.
769
769
 
770
770
  :param cell: Unique identifier addressing a cell in all API calls. (required)
771
771
  :type cell: str
@@ -921,7 +921,7 @@ class ProgramApi:
921
921
  ) -> None:
922
922
  """Stop program run
923
923
 
924
- Stop a specific program run.
924
+ <!-- theme: danger --> > **Experimental** Stop a specific program run.
925
925
 
926
926
  :param cell: Unique identifier addressing a cell in all API calls. (required)
927
927
  :type cell: str
@@ -994,7 +994,7 @@ class ProgramApi:
994
994
  ) -> ApiResponse[None]:
995
995
  """Stop program run
996
996
 
997
- Stop a specific program run.
997
+ <!-- theme: danger --> > **Experimental** Stop a specific program run.
998
998
 
999
999
  :param cell: Unique identifier addressing a cell in all API calls. (required)
1000
1000
  :type cell: str
@@ -1067,7 +1067,7 @@ class ProgramApi:
1067
1067
  ) -> RESTResponseType:
1068
1068
  """Stop program run
1069
1069
 
1070
- Stop a specific program run.
1070
+ <!-- theme: danger --> > **Experimental** Stop a specific program run.
1071
1071
 
1072
1072
  :param cell: Unique identifier addressing a cell in all API calls. (required)
1073
1073
  :type cell: str