wandelbots-api-client 25.11.0.dev17__py3-none-any.whl → 25.11.0.dev28__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/v2/__init__.py +1 -1
- wandelbots_api_client/v2/api/bus_inputs_outputs_api.py +579 -0
- wandelbots_api_client/v2/api_client.py +1 -1
- wandelbots_api_client/v2/configuration.py +1 -1
- wandelbots_api_client/v2/models/motion_group_description.py +4 -2
- wandelbots_api_client/v2_pydantic/__init__.py +1 -1
- wandelbots_api_client/v2_pydantic/api/bus_inputs_outputs_api.py +585 -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 +6 -1
- {wandelbots_api_client-25.11.0.dev17.dist-info → wandelbots_api_client-25.11.0.dev28.dist-info}/METADATA +2 -2
- {wandelbots_api_client-25.11.0.dev17.dist-info → wandelbots_api_client-25.11.0.dev28.dist-info}/RECORD +18 -18
- {wandelbots_api_client-25.11.0.dev17.dist-info → wandelbots_api_client-25.11.0.dev28.dist-info}/WHEEL +0 -0
- {wandelbots_api_client-25.11.0.dev17.dist-info → wandelbots_api_client-25.11.0.dev28.dist-info}/licenses/LICENSE +0 -0
- {wandelbots_api_client-25.11.0.dev17.dist-info → wandelbots_api_client-25.11.0.dev28.dist-info}/top_level.txt +0 -0
|
@@ -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/25.11.0.
|
|
94
|
+
self.user_agent = 'Wandelbots-Nova-API-Python-Client/25.11.0.dev28'
|
|
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.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: 25.11.0.
|
|
538
|
+
"SDK Package Version: 25.11.0.dev28".\
|
|
539
539
|
format(env=sys.platform, pyversion=sys.version)
|
|
540
540
|
|
|
541
541
|
def get_host_settings(self) -> List[HostSetting]:
|
|
@@ -43,7 +43,8 @@ class MotionGroupDescription(BaseModel):
|
|
|
43
43
|
payloads: Optional[Dict[str, Payload]] = Field(default=None, description="Maps a payload name to its configuration. Key must be a payload identifier. Values are payload objects. ")
|
|
44
44
|
cycle_time: Optional[Annotated[int, Field(le=2147483647, strict=True, ge=0)]] = Field(default=None, description="[ms] cycle time of the motion group controller. A trajectory for this motion group should be computed to this resolution.")
|
|
45
45
|
dh_parameters: Optional[List[DHParameter]] = Field(default=None, description="The DH parameters describing the motion group geometry, starting from base.")
|
|
46
|
-
|
|
46
|
+
serial_number: Optional[StrictStr] = Field(default=None, description="The serial number of the motion group, if available. If not available, the serial number of the robot controller. If not available, empty. ")
|
|
47
|
+
__properties: ClassVar[List[str]] = ["motion_group_model", "mounting", "tcps", "safety_zones", "safety_link_colliders", "safety_tool_colliders", "operation_limits", "payloads", "cycle_time", "dh_parameters", "serial_number"]
|
|
47
48
|
|
|
48
49
|
model_config = ConfigDict(
|
|
49
50
|
populate_by_name=True,
|
|
@@ -204,7 +205,8 @@ class MotionGroupDescription(BaseModel):
|
|
|
204
205
|
DHParameter.from_dict(_item) if hasattr(DHParameter, 'from_dict') else _item
|
|
205
206
|
# <<< End modification
|
|
206
207
|
for _item in obj["dh_parameters"]
|
|
207
|
-
] if obj.get("dh_parameters") is not None else None
|
|
208
|
+
] if obj.get("dh_parameters") is not None else None,
|
|
209
|
+
"serial_number": obj.get("serial_number")
|
|
208
210
|
})
|
|
209
211
|
return _obj
|
|
210
212
|
|