wandelbots-api-client 26.1.0.dev42__py3-none-any.whl → 26.1.0.dev63__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.
- wandelbots_api_client/__init__.py +1 -1
- wandelbots_api_client/api_client.py +1 -1
- wandelbots_api_client/configuration.py +1 -1
- wandelbots_api_client/models/__init__.py +3 -1
- wandelbots_api_client/models/virtual_controller_types.py +4 -4
- wandelbots_api_client/v2/__init__.py +1 -1
- wandelbots_api_client/v2/api/__init__.py +2 -0
- wandelbots_api_client/v2/api/jogging_api.py +1 -1
- wandelbots_api_client/v2/api/motion_group_models_api.py +265 -0
- wandelbots_api_client/v2/api/robot_configurations_api.py +291 -0
- wandelbots_api_client/v2/api_client.py +1 -1
- wandelbots_api_client/v2/configuration.py +1 -1
- wandelbots_api_client/v2/models/__init__.py +5 -3
- wandelbots_api_client/v2/models/initialize_jogging_request.py +2 -4
- wandelbots_api_client/v2/models/inverse_kinematics_request.py +6 -4
- wandelbots_api_client/v2/models/kinematic_model.py +110 -0
- wandelbots_api_client/v2/models/virtual_controller.py +1 -2
- wandelbots_api_client/v2/models/virtual_controller_types.py +1 -1
- wandelbots_api_client/v2_pydantic/__init__.py +1 -1
- wandelbots_api_client/v2_pydantic/api/__init__.py +2 -0
- wandelbots_api_client/v2_pydantic/api/jogging_api.py +1 -1
- wandelbots_api_client/v2_pydantic/api/motion_group_models_api.py +268 -0
- wandelbots_api_client/v2_pydantic/api/robot_configurations_api.py +294 -0
- wandelbots_api_client/v2_pydantic/api_client.py +1 -1
- wandelbots_api_client/v2_pydantic/configuration.py +1 -1
- wandelbots_api_client/v2_pydantic/models.py +78 -161
- wandelbots_api_client/v2_pydantic/virtual_controller_types.py +126 -0
- {wandelbots_api_client-26.1.0.dev42.dist-info → wandelbots_api_client-26.1.0.dev63.dist-info}/METADATA +2 -2
- {wandelbots_api_client-26.1.0.dev42.dist-info → wandelbots_api_client-26.1.0.dev63.dist-info}/RECORD +32 -28
- {wandelbots_api_client-26.1.0.dev42.dist-info → wandelbots_api_client-26.1.0.dev63.dist-info}/WHEEL +0 -0
- {wandelbots_api_client-26.1.0.dev42.dist-info → wandelbots_api_client-26.1.0.dev63.dist-info}/licenses/LICENSE +0 -0
- {wandelbots_api_client-26.1.0.dev42.dist-info → wandelbots_api_client-26.1.0.dev63.dist-info}/top_level.txt +0 -0
|
@@ -26,6 +26,7 @@ from pydantic import Field, StrictBytes, StrictStr
|
|
|
26
26
|
from typing import Dict, List, Tuple, Union
|
|
27
27
|
from typing_extensions import Annotated
|
|
28
28
|
from wandelbots_api_client.v2_pydantic.models import Collider
|
|
29
|
+
from wandelbots_api_client.v2_pydantic.models import KinematicModel
|
|
29
30
|
|
|
30
31
|
from wandelbots_api_client.v2_pydantic.api_client import ApiClient, RequestSerialized
|
|
31
32
|
from wandelbots_api_client.v2_pydantic.api_response import ApiResponse
|
|
@@ -577,6 +578,273 @@ class MotionGroupModelsApi:
|
|
|
577
578
|
|
|
578
579
|
|
|
579
580
|
|
|
581
|
+
@validate_call
|
|
582
|
+
async def get_motion_group_kinematic_model(
|
|
583
|
+
self,
|
|
584
|
+
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). ")],
|
|
585
|
+
_request_timeout: Union[
|
|
586
|
+
None,
|
|
587
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
588
|
+
Tuple[
|
|
589
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
590
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
591
|
+
]
|
|
592
|
+
] = None,
|
|
593
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
594
|
+
_content_type: Optional[StrictStr] = None,
|
|
595
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
596
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
597
|
+
) -> KinematicModel:
|
|
598
|
+
"""Get Kinematics
|
|
599
|
+
|
|
600
|
+
Returns the kinematics model (DH parameters) for the given motion group model. See [getMotionGroupModels](getMotionGroupModels) for supported motion group models.
|
|
601
|
+
|
|
602
|
+
: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)
|
|
603
|
+
:type motion_group_model: str
|
|
604
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
605
|
+
number provided, it will be total request
|
|
606
|
+
timeout. It can also be a pair (tuple) of
|
|
607
|
+
(connection, read) timeouts.
|
|
608
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
609
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
610
|
+
request; this effectively ignores the
|
|
611
|
+
authentication in the spec for a single request.
|
|
612
|
+
:type _request_auth: dict, optional
|
|
613
|
+
:param _content_type: force content-type for the request.
|
|
614
|
+
:type _content_type: str, Optional
|
|
615
|
+
:param _headers: set to override the headers for a single
|
|
616
|
+
request; this effectively ignores the headers
|
|
617
|
+
in the spec for a single request.
|
|
618
|
+
:type _headers: dict, optional
|
|
619
|
+
:param _host_index: set to override the host_index for a single
|
|
620
|
+
request; this effectively ignores the host_index
|
|
621
|
+
in the spec for a single request.
|
|
622
|
+
:type _host_index: int, optional
|
|
623
|
+
:return: Returns the result object.
|
|
624
|
+
""" # noqa: E501
|
|
625
|
+
|
|
626
|
+
_param = self._get_motion_group_kinematic_model_serialize(
|
|
627
|
+
motion_group_model=motion_group_model,
|
|
628
|
+
_request_auth=_request_auth,
|
|
629
|
+
_content_type=_content_type,
|
|
630
|
+
_headers=_headers,
|
|
631
|
+
_host_index=_host_index
|
|
632
|
+
)
|
|
633
|
+
|
|
634
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
635
|
+
'200': "KinematicModel",
|
|
636
|
+
'404': None,
|
|
637
|
+
'500': None,
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
response_data = await self.api_client.call_api(
|
|
641
|
+
*_param,
|
|
642
|
+
_request_timeout=_request_timeout
|
|
643
|
+
)
|
|
644
|
+
await response_data.read()
|
|
645
|
+
return self.api_client.response_deserialize(
|
|
646
|
+
response_data=response_data,
|
|
647
|
+
response_types_map=_response_types_map,
|
|
648
|
+
).data
|
|
649
|
+
|
|
650
|
+
|
|
651
|
+
@validate_call
|
|
652
|
+
async def get_motion_group_kinematic_model_with_http_info(
|
|
653
|
+
self,
|
|
654
|
+
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). ")],
|
|
655
|
+
_request_timeout: Union[
|
|
656
|
+
None,
|
|
657
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
658
|
+
Tuple[
|
|
659
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
660
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
661
|
+
]
|
|
662
|
+
] = None,
|
|
663
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
664
|
+
_content_type: Optional[StrictStr] = None,
|
|
665
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
666
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
667
|
+
) -> ApiResponse[KinematicModel]:
|
|
668
|
+
"""Get Kinematics
|
|
669
|
+
|
|
670
|
+
Returns the kinematics model (DH parameters) for the given motion group model. See [getMotionGroupModels](getMotionGroupModels) for supported motion group models.
|
|
671
|
+
|
|
672
|
+
: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)
|
|
673
|
+
:type motion_group_model: str
|
|
674
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
675
|
+
number provided, it will be total request
|
|
676
|
+
timeout. It can also be a pair (tuple) of
|
|
677
|
+
(connection, read) timeouts.
|
|
678
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
679
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
680
|
+
request; this effectively ignores the
|
|
681
|
+
authentication in the spec for a single request.
|
|
682
|
+
:type _request_auth: dict, optional
|
|
683
|
+
:param _content_type: force content-type for the request.
|
|
684
|
+
:type _content_type: str, Optional
|
|
685
|
+
:param _headers: set to override the headers for a single
|
|
686
|
+
request; this effectively ignores the headers
|
|
687
|
+
in the spec for a single request.
|
|
688
|
+
:type _headers: dict, optional
|
|
689
|
+
:param _host_index: set to override the host_index for a single
|
|
690
|
+
request; this effectively ignores the host_index
|
|
691
|
+
in the spec for a single request.
|
|
692
|
+
:type _host_index: int, optional
|
|
693
|
+
:return: Returns the result object.
|
|
694
|
+
""" # noqa: E501
|
|
695
|
+
|
|
696
|
+
_param = self._get_motion_group_kinematic_model_serialize(
|
|
697
|
+
motion_group_model=motion_group_model,
|
|
698
|
+
_request_auth=_request_auth,
|
|
699
|
+
_content_type=_content_type,
|
|
700
|
+
_headers=_headers,
|
|
701
|
+
_host_index=_host_index
|
|
702
|
+
)
|
|
703
|
+
|
|
704
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
705
|
+
'200': "KinematicModel",
|
|
706
|
+
'404': None,
|
|
707
|
+
'500': None,
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
response_data = await self.api_client.call_api(
|
|
711
|
+
*_param,
|
|
712
|
+
_request_timeout=_request_timeout
|
|
713
|
+
)
|
|
714
|
+
await response_data.read()
|
|
715
|
+
return self.api_client.response_deserialize(
|
|
716
|
+
response_data=response_data,
|
|
717
|
+
response_types_map=_response_types_map,
|
|
718
|
+
)
|
|
719
|
+
|
|
720
|
+
|
|
721
|
+
@validate_call
|
|
722
|
+
async def get_motion_group_kinematic_model_without_preload_content(
|
|
723
|
+
self,
|
|
724
|
+
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). ")],
|
|
725
|
+
_request_timeout: Union[
|
|
726
|
+
None,
|
|
727
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
728
|
+
Tuple[
|
|
729
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
730
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
731
|
+
]
|
|
732
|
+
] = None,
|
|
733
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
734
|
+
_content_type: Optional[StrictStr] = None,
|
|
735
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
736
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
737
|
+
) -> RESTResponseType:
|
|
738
|
+
"""Get Kinematics
|
|
739
|
+
|
|
740
|
+
Returns the kinematics model (DH parameters) for the given motion group model. See [getMotionGroupModels](getMotionGroupModels) for supported motion group models.
|
|
741
|
+
|
|
742
|
+
: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)
|
|
743
|
+
:type motion_group_model: str
|
|
744
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
745
|
+
number provided, it will be total request
|
|
746
|
+
timeout. It can also be a pair (tuple) of
|
|
747
|
+
(connection, read) timeouts.
|
|
748
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
749
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
750
|
+
request; this effectively ignores the
|
|
751
|
+
authentication in the spec for a single request.
|
|
752
|
+
:type _request_auth: dict, optional
|
|
753
|
+
:param _content_type: force content-type for the request.
|
|
754
|
+
:type _content_type: str, Optional
|
|
755
|
+
:param _headers: set to override the headers for a single
|
|
756
|
+
request; this effectively ignores the headers
|
|
757
|
+
in the spec for a single request.
|
|
758
|
+
:type _headers: dict, optional
|
|
759
|
+
:param _host_index: set to override the host_index for a single
|
|
760
|
+
request; this effectively ignores the host_index
|
|
761
|
+
in the spec for a single request.
|
|
762
|
+
:type _host_index: int, optional
|
|
763
|
+
:return: Returns the result object.
|
|
764
|
+
""" # noqa: E501
|
|
765
|
+
|
|
766
|
+
_param = self._get_motion_group_kinematic_model_serialize(
|
|
767
|
+
motion_group_model=motion_group_model,
|
|
768
|
+
_request_auth=_request_auth,
|
|
769
|
+
_content_type=_content_type,
|
|
770
|
+
_headers=_headers,
|
|
771
|
+
_host_index=_host_index
|
|
772
|
+
)
|
|
773
|
+
|
|
774
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
775
|
+
'200': "KinematicModel",
|
|
776
|
+
'404': None,
|
|
777
|
+
'500': None,
|
|
778
|
+
}
|
|
779
|
+
|
|
780
|
+
response_data = await self.api_client.call_api(
|
|
781
|
+
*_param,
|
|
782
|
+
_request_timeout=_request_timeout
|
|
783
|
+
)
|
|
784
|
+
return response_data.response
|
|
785
|
+
|
|
786
|
+
|
|
787
|
+
def _get_motion_group_kinematic_model_serialize(
|
|
788
|
+
self,
|
|
789
|
+
motion_group_model,
|
|
790
|
+
_request_auth,
|
|
791
|
+
_content_type,
|
|
792
|
+
_headers,
|
|
793
|
+
_host_index,
|
|
794
|
+
) -> RequestSerialized:
|
|
795
|
+
|
|
796
|
+
_host = None
|
|
797
|
+
|
|
798
|
+
_collection_formats: Dict[str, str] = {
|
|
799
|
+
}
|
|
800
|
+
|
|
801
|
+
_path_params: Dict[str, str] = {}
|
|
802
|
+
_query_params: List[Tuple[str, str]] = []
|
|
803
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
804
|
+
_form_params: List[Tuple[str, str]] = []
|
|
805
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
806
|
+
_body_params: Optional[bytes] = None
|
|
807
|
+
|
|
808
|
+
# process the path parameters
|
|
809
|
+
if motion_group_model is not None:
|
|
810
|
+
_path_params['motion-group-model'] = motion_group_model
|
|
811
|
+
# process the query parameters
|
|
812
|
+
# process the header parameters
|
|
813
|
+
# process the form parameters
|
|
814
|
+
# process the body parameter
|
|
815
|
+
|
|
816
|
+
|
|
817
|
+
# set the HTTP header `Accept`
|
|
818
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
819
|
+
[
|
|
820
|
+
'application/json'
|
|
821
|
+
]
|
|
822
|
+
)
|
|
823
|
+
|
|
824
|
+
|
|
825
|
+
# authentication setting
|
|
826
|
+
_auth_settings: List[str] = [
|
|
827
|
+
'BasicAuth',
|
|
828
|
+
'BearerAuth'
|
|
829
|
+
]
|
|
830
|
+
|
|
831
|
+
return self.api_client.param_serialize(
|
|
832
|
+
method='GET',
|
|
833
|
+
resource_path='/motion-group-models/{motion-group-model}/kinematic',
|
|
834
|
+
path_params=_path_params,
|
|
835
|
+
query_params=_query_params,
|
|
836
|
+
header_params=_header_params,
|
|
837
|
+
body=_body_params,
|
|
838
|
+
post_params=_form_params,
|
|
839
|
+
files=_files,
|
|
840
|
+
auth_settings=_auth_settings,
|
|
841
|
+
collection_formats=_collection_formats,
|
|
842
|
+
_host=_host,
|
|
843
|
+
_request_auth=_request_auth
|
|
844
|
+
)
|
|
845
|
+
|
|
846
|
+
|
|
847
|
+
|
|
580
848
|
@validate_call
|
|
581
849
|
async def get_motion_group_models(
|
|
582
850
|
self,
|
|
@@ -0,0 +1,294 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Wandelbots NOVA API
|
|
5
|
+
|
|
6
|
+
Interact with robots in an easy and intuitive way.
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 2.1.0 dev
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
from furl import furl
|
|
15
|
+
import json
|
|
16
|
+
import humps
|
|
17
|
+
import re
|
|
18
|
+
import warnings
|
|
19
|
+
import websockets
|
|
20
|
+
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
|
21
|
+
from typing import Any, AsyncGenerator, Callable, Dict, List, Optional, Tuple, Union
|
|
22
|
+
from typing_extensions import Annotated
|
|
23
|
+
from urllib.parse import quote
|
|
24
|
+
|
|
25
|
+
from pydantic import StrictStr
|
|
26
|
+
from typing import List
|
|
27
|
+
|
|
28
|
+
from wandelbots_api_client.v2_pydantic.api_client import ApiClient, RequestSerialized
|
|
29
|
+
from wandelbots_api_client.v2_pydantic.api_response import ApiResponse
|
|
30
|
+
from wandelbots_api_client.v2_pydantic.rest import RESTResponseType
|
|
31
|
+
|
|
32
|
+
class RobotConfigurationsApi:
|
|
33
|
+
"""NOTE: This class is auto generated by OpenAPI Generator
|
|
34
|
+
Ref: https://openapi-generator.tech
|
|
35
|
+
|
|
36
|
+
Do not edit the class manually.
|
|
37
|
+
"""
|
|
38
|
+
|
|
39
|
+
def __init__(self, api_client=None) -> None:
|
|
40
|
+
if api_client is None:
|
|
41
|
+
api_client = ApiClient.get_default()
|
|
42
|
+
self.api_client = api_client
|
|
43
|
+
|
|
44
|
+
@validate_call
|
|
45
|
+
async def get_robot_configurations(
|
|
46
|
+
self,
|
|
47
|
+
_request_timeout: Union[
|
|
48
|
+
None,
|
|
49
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
50
|
+
Tuple[
|
|
51
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
52
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
53
|
+
]
|
|
54
|
+
] = None,
|
|
55
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
56
|
+
_content_type: Optional[StrictStr] = None,
|
|
57
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
58
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
59
|
+
) -> List[str]:
|
|
60
|
+
"""List Robot Configurations
|
|
61
|
+
|
|
62
|
+
Returns the identifiers of available robot configurations. A robot configuration represents a robot controller with one or more attached motion groups.
|
|
63
|
+
|
|
64
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
65
|
+
number provided, it will be total request
|
|
66
|
+
timeout. It can also be a pair (tuple) of
|
|
67
|
+
(connection, read) timeouts.
|
|
68
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
69
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
70
|
+
request; this effectively ignores the
|
|
71
|
+
authentication in the spec for a single request.
|
|
72
|
+
:type _request_auth: dict, optional
|
|
73
|
+
:param _content_type: force content-type for the request.
|
|
74
|
+
:type _content_type: str, Optional
|
|
75
|
+
:param _headers: set to override the headers for a single
|
|
76
|
+
request; this effectively ignores the headers
|
|
77
|
+
in the spec for a single request.
|
|
78
|
+
:type _headers: dict, optional
|
|
79
|
+
:param _host_index: set to override the host_index for a single
|
|
80
|
+
request; this effectively ignores the host_index
|
|
81
|
+
in the spec for a single request.
|
|
82
|
+
:type _host_index: int, optional
|
|
83
|
+
:return: Returns the result object.
|
|
84
|
+
""" # noqa: E501
|
|
85
|
+
|
|
86
|
+
_param = self._get_robot_configurations_serialize(
|
|
87
|
+
_request_auth=_request_auth,
|
|
88
|
+
_content_type=_content_type,
|
|
89
|
+
_headers=_headers,
|
|
90
|
+
_host_index=_host_index
|
|
91
|
+
)
|
|
92
|
+
|
|
93
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
94
|
+
'200': "List[str]",
|
|
95
|
+
'404': None,
|
|
96
|
+
'500': None,
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
response_data = await self.api_client.call_api(
|
|
100
|
+
*_param,
|
|
101
|
+
_request_timeout=_request_timeout
|
|
102
|
+
)
|
|
103
|
+
await response_data.read()
|
|
104
|
+
return self.api_client.response_deserialize(
|
|
105
|
+
response_data=response_data,
|
|
106
|
+
response_types_map=_response_types_map,
|
|
107
|
+
).data
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
@validate_call
|
|
111
|
+
async def get_robot_configurations_with_http_info(
|
|
112
|
+
self,
|
|
113
|
+
_request_timeout: Union[
|
|
114
|
+
None,
|
|
115
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
116
|
+
Tuple[
|
|
117
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
118
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
119
|
+
]
|
|
120
|
+
] = None,
|
|
121
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
122
|
+
_content_type: Optional[StrictStr] = None,
|
|
123
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
124
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
125
|
+
) -> ApiResponse[List[str]]:
|
|
126
|
+
"""List Robot Configurations
|
|
127
|
+
|
|
128
|
+
Returns the identifiers of available robot configurations. A robot configuration represents a robot controller with one or more attached motion groups.
|
|
129
|
+
|
|
130
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
131
|
+
number provided, it will be total request
|
|
132
|
+
timeout. It can also be a pair (tuple) of
|
|
133
|
+
(connection, read) timeouts.
|
|
134
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
135
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
136
|
+
request; this effectively ignores the
|
|
137
|
+
authentication in the spec for a single request.
|
|
138
|
+
:type _request_auth: dict, optional
|
|
139
|
+
:param _content_type: force content-type for the request.
|
|
140
|
+
:type _content_type: str, Optional
|
|
141
|
+
:param _headers: set to override the headers for a single
|
|
142
|
+
request; this effectively ignores the headers
|
|
143
|
+
in the spec for a single request.
|
|
144
|
+
:type _headers: dict, optional
|
|
145
|
+
:param _host_index: set to override the host_index for a single
|
|
146
|
+
request; this effectively ignores the host_index
|
|
147
|
+
in the spec for a single request.
|
|
148
|
+
:type _host_index: int, optional
|
|
149
|
+
:return: Returns the result object.
|
|
150
|
+
""" # noqa: E501
|
|
151
|
+
|
|
152
|
+
_param = self._get_robot_configurations_serialize(
|
|
153
|
+
_request_auth=_request_auth,
|
|
154
|
+
_content_type=_content_type,
|
|
155
|
+
_headers=_headers,
|
|
156
|
+
_host_index=_host_index
|
|
157
|
+
)
|
|
158
|
+
|
|
159
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
160
|
+
'200': "List[str]",
|
|
161
|
+
'404': None,
|
|
162
|
+
'500': None,
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
response_data = await self.api_client.call_api(
|
|
166
|
+
*_param,
|
|
167
|
+
_request_timeout=_request_timeout
|
|
168
|
+
)
|
|
169
|
+
await response_data.read()
|
|
170
|
+
return self.api_client.response_deserialize(
|
|
171
|
+
response_data=response_data,
|
|
172
|
+
response_types_map=_response_types_map,
|
|
173
|
+
)
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
@validate_call
|
|
177
|
+
async def get_robot_configurations_without_preload_content(
|
|
178
|
+
self,
|
|
179
|
+
_request_timeout: Union[
|
|
180
|
+
None,
|
|
181
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
182
|
+
Tuple[
|
|
183
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
184
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
185
|
+
]
|
|
186
|
+
] = None,
|
|
187
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
188
|
+
_content_type: Optional[StrictStr] = None,
|
|
189
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
190
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
191
|
+
) -> RESTResponseType:
|
|
192
|
+
"""List Robot Configurations
|
|
193
|
+
|
|
194
|
+
Returns the identifiers of available robot configurations. A robot configuration represents a robot controller with one or more attached motion groups.
|
|
195
|
+
|
|
196
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
197
|
+
number provided, it will be total request
|
|
198
|
+
timeout. It can also be a pair (tuple) of
|
|
199
|
+
(connection, read) timeouts.
|
|
200
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
201
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
202
|
+
request; this effectively ignores the
|
|
203
|
+
authentication in the spec for a single request.
|
|
204
|
+
:type _request_auth: dict, optional
|
|
205
|
+
:param _content_type: force content-type for the request.
|
|
206
|
+
:type _content_type: str, Optional
|
|
207
|
+
:param _headers: set to override the headers for a single
|
|
208
|
+
request; this effectively ignores the headers
|
|
209
|
+
in the spec for a single request.
|
|
210
|
+
:type _headers: dict, optional
|
|
211
|
+
:param _host_index: set to override the host_index for a single
|
|
212
|
+
request; this effectively ignores the host_index
|
|
213
|
+
in the spec for a single request.
|
|
214
|
+
:type _host_index: int, optional
|
|
215
|
+
:return: Returns the result object.
|
|
216
|
+
""" # noqa: E501
|
|
217
|
+
|
|
218
|
+
_param = self._get_robot_configurations_serialize(
|
|
219
|
+
_request_auth=_request_auth,
|
|
220
|
+
_content_type=_content_type,
|
|
221
|
+
_headers=_headers,
|
|
222
|
+
_host_index=_host_index
|
|
223
|
+
)
|
|
224
|
+
|
|
225
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
226
|
+
'200': "List[str]",
|
|
227
|
+
'404': None,
|
|
228
|
+
'500': None,
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
response_data = await self.api_client.call_api(
|
|
232
|
+
*_param,
|
|
233
|
+
_request_timeout=_request_timeout
|
|
234
|
+
)
|
|
235
|
+
return response_data.response
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
def _get_robot_configurations_serialize(
|
|
239
|
+
self,
|
|
240
|
+
_request_auth,
|
|
241
|
+
_content_type,
|
|
242
|
+
_headers,
|
|
243
|
+
_host_index,
|
|
244
|
+
) -> RequestSerialized:
|
|
245
|
+
|
|
246
|
+
_host = None
|
|
247
|
+
|
|
248
|
+
_collection_formats: Dict[str, str] = {
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
_path_params: Dict[str, str] = {}
|
|
252
|
+
_query_params: List[Tuple[str, str]] = []
|
|
253
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
254
|
+
_form_params: List[Tuple[str, str]] = []
|
|
255
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
256
|
+
_body_params: Optional[bytes] = None
|
|
257
|
+
|
|
258
|
+
# process the path parameters
|
|
259
|
+
# process the query parameters
|
|
260
|
+
# process the header parameters
|
|
261
|
+
# process the form parameters
|
|
262
|
+
# process the body parameter
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
# set the HTTP header `Accept`
|
|
266
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
267
|
+
[
|
|
268
|
+
'application/json'
|
|
269
|
+
]
|
|
270
|
+
)
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
# authentication setting
|
|
274
|
+
_auth_settings: List[str] = [
|
|
275
|
+
'BasicAuth',
|
|
276
|
+
'BearerAuth'
|
|
277
|
+
]
|
|
278
|
+
|
|
279
|
+
return self.api_client.param_serialize(
|
|
280
|
+
method='GET',
|
|
281
|
+
resource_path='/robot-configurations',
|
|
282
|
+
path_params=_path_params,
|
|
283
|
+
query_params=_query_params,
|
|
284
|
+
header_params=_header_params,
|
|
285
|
+
body=_body_params,
|
|
286
|
+
post_params=_form_params,
|
|
287
|
+
files=_files,
|
|
288
|
+
auth_settings=_auth_settings,
|
|
289
|
+
collection_formats=_collection_formats,
|
|
290
|
+
_host=_host,
|
|
291
|
+
_request_auth=_request_auth
|
|
292
|
+
)
|
|
293
|
+
|
|
294
|
+
|
|
@@ -91,7 +91,7 @@ class ApiClient:
|
|
|
91
91
|
self.default_headers[header_name] = header_value
|
|
92
92
|
self.cookie = cookie
|
|
93
93
|
# Set default User-Agent.
|
|
94
|
-
self.user_agent = 'Wandelbots-Nova-API-Python-Client/26.1.0.
|
|
94
|
+
self.user_agent = 'Wandelbots-Nova-API-Python-Client/26.1.0.dev63'
|
|
95
95
|
self.client_side_validation = configuration.client_side_validation
|
|
96
96
|
|
|
97
97
|
async def __aenter__(self):
|
|
@@ -535,7 +535,7 @@ conf = wandelbots_api_client.v2_pydantic.Configuration(
|
|
|
535
535
|
"OS: {env}\n"\
|
|
536
536
|
"Python Version: {pyversion}\n"\
|
|
537
537
|
"Version of the API: 2.1.0 dev\n"\
|
|
538
|
-
"SDK Package Version: 26.1.0.
|
|
538
|
+
"SDK Package Version: 26.1.0.dev63".\
|
|
539
539
|
format(env=sys.platform, pyversion=sys.version)
|
|
540
540
|
|
|
541
541
|
def get_host_settings(self) -> List[HostSetting]:
|