The value of the parent object of the function being called. If the function is top-level to the module, this is always an empty object. Returns ------- JSON An arbitrary JSON-encoded value. Raises ------ ExecuteTimeoutError
(self)
| 8941 | return await _ctx.execute(str) |
| 8942 | |
| 8943 | async def parent(self) -> JSON: |
| 8944 | """The value of the parent object of the function being called. If the |
| 8945 | function is top-level to the module, this is always an empty object. |
| 8946 | |
| 8947 | Returns |
| 8948 | ------- |
| 8949 | JSON |
| 8950 | An arbitrary JSON-encoded value. |
| 8951 | |
| 8952 | Raises |
| 8953 | ------ |
| 8954 | ExecuteTimeoutError |
| 8955 | If the time to execute the query exceeds the configured timeout. |
| 8956 | QueryError |
| 8957 | If the API returns an error. |
| 8958 | """ |
| 8959 | _args: list[Arg] = [] |
| 8960 | _ctx = self._select("parent", _args) |
| 8961 | return await _ctx.execute(JSON) |
| 8962 | |
| 8963 | async def parent_name(self) -> str: |
| 8964 | """The name of the parent object of the function being called. If the |