The name of the parent object of the function being called. If the function is top-level to the module, this is the name of the module. Returns ------- str The `String` scalar type represents textual data, represented as UTF-8 character sequen
(self)
| 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 |
| 8965 | function is top-level to the module, this is the name of the module. |
| 8966 | |
| 8967 | Returns |
| 8968 | ------- |
| 8969 | str |
| 8970 | The `String` scalar type represents textual data, represented as |
| 8971 | UTF-8 character sequences. The String type is most often used by |
| 8972 | GraphQL to represent free-form human-readable text. |
| 8973 | |
| 8974 | Raises |
| 8975 | ------ |
| 8976 | ExecuteTimeoutError |
| 8977 | If the time to execute the query exceeds the configured timeout. |
| 8978 | QueryError |
| 8979 | If the API returns an error. |
| 8980 | """ |
| 8981 | _args: list[Arg] = [] |
| 8982 | _ctx = self._select("parentName", _args) |
| 8983 | return await _ctx.execute(str) |
| 8984 | |
| 8985 | async def return_error(self, error: Error) -> Void | None: |
| 8986 | """Return an error from the function. |