Symbols

abb_rws_client_python_rw6.rws.rapid.symbols

RWS module: RobotWare Services → RAPID Service → Operations on RAPID symbols properties

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_object_extension_list(client, symbol_url, info=None, type=None, statements=None, backwardstmts=None, undostmts=None, typedecls=None) async

Get Object Extension List.

Route: GET /rw/rapid/symbols/{symbol URL} ABB constraints: Not supported in bootserver mode

Parameters:
  • client (RWSClient) –

    Open RWSClient instance.

  • symbol_url (str) –

    URL path parameter.

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

    Query parameter. Optional.

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

    Query parameter. Optional.

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

    Query parameter. Optional.

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

    Query parameter. Optional.

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

    Query parameter. Optional.

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

    Query parameter. Optional.

Returns:
  • Response –

    Raw HTTP response. Expected success: HTTP 200.

Raises:
Example
>>> await get_object_extension_list(client, "symbol_url_value")
<Response [200]>
Source code in abb_rws_client_python_rw6/rws/rapid/symbols.py
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
async def get_object_extension_list(
    client: RWSClient,
    symbol_url: str,
    info: str | None = None,
    type: str | None = None,
    statements: str | None = None,
    backwardstmts: str | None = None,
    undostmts: str | None = None,
    typedecls: str | None = None,
) -> httpx.Response:
    """
    Get Object Extension List.

    Route: ``GET /rw/rapid/symbols/{symbol URL}``
    ABB constraints: Not supported in bootserver mode

    Args:
        client: Open RWSClient instance.
        symbol_url: URL path parameter.
        info: Query parameter. Optional.
        type: Query parameter. Optional.
        statements: Query parameter. Optional.
        backwardstmts: Query parameter. Optional.
        undostmts: Query parameter. Optional.
        typedecls: Query parameter. Optional.

    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)

    Example:
        ```python
        >>> await get_object_extension_list(client, "symbol_url_value")
        <Response [200]>
        ```
    """
    return await client.get(
        f"/rw/rapid/symbols/{symbol_url}",
        params={
            k: v
            for k, v in {
                "info": info,
                "type": type,
                "statements": statements,
                "backwardstmts": backwardstmts,
                "undostmts": undostmts,
                "typedecls": typedecls,
            }.items()
            if v is not None
        },
    )

get_rapid_symbols_actions(client, action=None) async

Get rapid symbols actions.

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

Parameters:
  • client (RWSClient) –

    Open RWSClient instance.

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

    Query parameter. Optional.

Returns:
  • Response –

    Raw HTTP response. Expected success: HTTP 200.

Raises:
Example
>>> await get_rapid_symbols_actions(client)
<Response [200]>
Source code in abb_rws_client_python_rw6/rws/rapid/symbols.py
46
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
async def get_rapid_symbols_actions(
    client: RWSClient,
    action: str | None = None,
) -> httpx.Response:
    """
    Get rapid symbols actions.

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

    Args:
        client: Open RWSClient instance.
        action: Query parameter. Optional.

    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)

    Example:
        ```python
        >>> await get_rapid_symbols_actions(client)
        <Response [200]>
        ```
    """
    return await client.get(
        "/rw/rapid/symbols",
        params={k: v for k, v in {"action": action}.items() if v is not None},
    )

get_rapid_symbols_resources(client) async

Get RAPID symbols resources.

Route: GET /rw/rapid/symbols 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_rapid_symbols_resources(client)
<Response [200]>
Source code in abb_rws_client_python_rw6/rws/rapid/symbols.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
async def get_rapid_symbols_resources(client: RWSClient) -> httpx.Response:
    """
    Get RAPID symbols resources.

    Route: ``GET /rw/rapid/symbols``
    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.

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

post_search_rapid_symbols(client, action=None, view=None, vartyp=None, blockurl=None, recursive=None, posl=None, posc=None, stack=None, onlyused=None, skipshared=None, regexp=None) async

Search RAPID symbols.

Route: POST /rw/rapid/symbols ABB constraints: Not supported in bootserver mode

Parameters:
  • client (RWSClient) –

    Open RWSClient instance.

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

    Query parameter. Optional.

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

    Body parameter. Optional.

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

    Body parameter. Optional.

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

    Body parameter. Optional.

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

    Body parameter. Optional.

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

    Body parameter. Optional.

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

    Body parameter. Optional.

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

    Body parameter. Optional.

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

    Body parameter. Optional.

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

    Body parameter. Optional.

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

    Body parameter. Optional.

Returns:
  • Response –

    Raw HTTP response. Expected success: HTTP 200.

Raises:
Example
>>> await post_search_rapid_symbols(client)
<Response [200]>
Source code in abb_rws_client_python_rw6/rws/rapid/symbols.py
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
async def post_search_rapid_symbols(
    client: RWSClient,
    action: str | None = None,
    view: str | None = None,
    vartyp: str | None = None,
    blockurl: str | None = None,
    recursive: str | None = None,
    posl: str | None = None,
    posc: str | None = None,
    stack: str | None = None,
    onlyused: str | None = None,
    skipshared: str | None = None,
    regexp: str | None = None,
) -> httpx.Response:
    """
    Search RAPID symbols.

    Route: ``POST /rw/rapid/symbols``
    ABB constraints: Not supported in bootserver mode

    Args:
        client: Open RWSClient instance.
        action: Query parameter. Optional.
        view: Body parameter. Optional.
        vartyp: Body parameter. Optional.
        blockurl: Body parameter. Optional.
        recursive: Body parameter. Optional.
        posl: Body parameter. Optional.
        posc: Body parameter. Optional.
        stack: Body parameter. Optional.
        onlyused: Body parameter. Optional.
        skipshared: Body parameter. Optional.
        regexp: Body parameter. Optional.

    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 post_search_rapid_symbols(client)
        <Response [200]>
        ```
    """
    return await client.post(
        "/rw/rapid/symbols",
        params={k: v for k, v in {"action": action}.items() if v is not None},
        data={
            k: v
            for k, v in {
                "view": view,
                "vartyp": vartyp,
                "blockurl": blockurl,
                "recursive": recursive,
                "posl": posl,
                "posc": posc,
                "stack": stack,
                "onlyused": onlyused,
                "skipshared": skipshared,
                "regexp": regexp,
            }.items()
            if v is not None
        },
    )