Coverage for abb_rws_client_python_rw6/rws/rapid/aliasio.py: 100%
5 statements
« prev ^ index » next coverage.py v7.15.4, created at 2026-08-13 22:17 +0000
« prev ^ index » next coverage.py v7.15.4, created at 2026-08-13 22:17 +0000
1# This file is AUTO-GENERATED by utils/generator/main.py
2# DO NOT EDIT MANUALLY — run the generator to regenerate.
3# Generator author: Clement RACINET
4"""
5RWS module: RobotWare Services → RAPID Service → Operations on Rapid AliasIO
71:1 mirror of the ABB RobotWare 6 REST API.
8Each function maps to exactly one HTTP endpoint.
9No composed logic — see highlevel/ for wrappers.
10"""
12from __future__ import annotations
14import httpx
16from abb_rws_client_python_rw6.core.client import RWSClient
19async def get_aliasio_list(
20 client: RWSClient,
21 start: str | None = None,
22 limit: str | None = None,
23) -> httpx.Response:
24 """
25 Get AliasIO List.
27 Route: ``GET /rw/rapid/aliasio``
28 ABB constraints: Not supported in bootserver mode
30 Args:
31 client: Open RWSClient instance.
32 start: Query parameter. Optional.
33 limit: Query parameter. Optional.
35 Returns:
36 Raw HTTP response. Expected success: HTTP 200.
38 Raises:
39 RWSAuthenticationError: On HTTP 401.
40 RWSNotFoundError: On HTTP 404.
41 RWSHTTPError: On any other HTTP >= 400.
42 # ABB codes: BAD_REQUEST (400)
44 Example:
45 ```python
46 >>> await get_aliasio_list(client)
47 <Response [200]>
48 ```
49 """
50 return await client.get(
51 "/rw/rapid/aliasio",
52 params={k: v for k, v in {"start": start, "limit": limit}.items() if v is not None},
53 )