Taskpanel

abb_rws_client_python_rw6.rws.rapid.taskpanel

RWS module: RobotWare Services → RAPID Service → Operations on Rapid taskpanel

1:1 mirror of the ABB RobotWare 6 REST API. Each function maps to exactly one HTTP endpoint. No composed logic — see highlevel/ for wrappers.

get_user_modify_from_taskpanel(client) async

Get user modify from taskpanel.

Route: GET /rw/rapid/taskselection ABB constraints: Not supported in bootserver mode

Parameters:
  • client (RWSClient) –

    Open RWSClient instance.

Returns:
  • Response –

    Raw HTTP response. Expected success: HTTP 200.

Raises:
Example
>>> await get_user_modify_from_taskpanel(client)
<Response [200]>
Source code in abb_rws_client_python_rw6/rws/rapid/taskpanel.py
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
async def get_user_modify_from_taskpanel(client: RWSClient) -> httpx.Response:
    """
    Get user modify from taskpanel.

    Route: ``GET /rw/rapid/taskselection``
    ABB constraints: Not supported in bootserver mode

    Args:
        client: Open RWSClient instance.

    Returns:
        Raw HTTP response. Expected success: HTTP 200.

    Raises:
        RWSAuthenticationError: On HTTP 401.
        RWSNotFoundError: On HTTP 404.
        RWSHTTPError: On any other HTTP >= 400.
        # ABB codes: BAD_REQUEST(400) , see

    Example:
        ```python
        >>> await get_user_modify_from_taskpanel(client)
        <Response [200]>
        ```
    """
    return await client.get("/rw/rapid/taskselection")

subscribe_on_tasks_panel_change(client, identifier=None, identifier_p=None) async

Subscribe on Tasks panel change.

Route: POST /subscription ABB constraints: Not supported in bootserver mode

Parameters:
  • client (RWSClient) –

    Open RWSClient instance.

  • identifier (str | None, default: None ) –

    Body parameter. Optional.

  • identifier_p (str | None, default: None ) –

    Body parameter. Optional.

Returns:
  • Response –

    Raw HTTP response. Expected success: HTTP 201.

Raises:
Example
>>> await subscribe_on_tasks_panel_change(client)
<Response [201]>
Source code in abb_rws_client_python_rw6/rws/rapid/taskpanel.py
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
async def subscribe_on_tasks_panel_change(
    client: RWSClient,
    identifier: str | None = None,
    identifier_p: str | None = None,
) -> httpx.Response:
    """
    Subscribe on Tasks panel change.

    Route: ``POST /subscription``
    ABB constraints: Not supported in bootserver mode

    Args:
        client: Open RWSClient instance.
        identifier: Body parameter. Optional.
        identifier_p: Body parameter. Optional.

    Returns:
        Raw HTTP response. Expected success: HTTP 201.

    Raises:
        RWSAuthenticationError: On HTTP 401.
        RWSNotFoundError: On HTTP 404.
        RWSHTTPError: On any other HTTP >= 400.
        # ABB codes: BAD_REQUEST(400), UNSUPPORTED_MEDIA(415)

    Example:
        ```python
        >>> await subscribe_on_tasks_panel_change(client)
        <Response [201]>
        ```
    """
    return await client.post(
        "/subscription",
        data={
            k: v
            for k, v in {"identifier": identifier, "identifier_p": identifier_p}.items()
            if v is not None
        },
    )