Note ---- This is lazily evaluated, no operation is actually run. Returns ------- str The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON
(self)
| 630 | return await _ctx.execute(str) |
| 631 | |
| 632 | async def id(self) -> str: |
| 633 | """Note |
| 634 | ---- |
| 635 | This is lazily evaluated, no operation is actually run. |
| 636 | |
| 637 | Returns |
| 638 | ------- |
| 639 | str |
| 640 | The `ID` scalar type represents a unique identifier, often used to |
| 641 | refetch an object or as key for a cache. The ID type appears in a |
| 642 | JSON response as a String; however, it is not intended to be |
| 643 | human-readable. When expected as an input type, any string (such |
| 644 | as `"4"`) or integer (such as `4`) input value will be accepted as |
| 645 | an ID. |
| 646 | |
| 647 | Raises |
| 648 | ------ |
| 649 | ExecuteTimeoutError |
| 650 | If the time to execute the query exceeds the configured timeout. |
| 651 | QueryError |
| 652 | If the API returns an error. |
| 653 | """ |
| 654 | _args: list[Arg] = [] |
| 655 | _ctx = self._select("id", _args) |
| 656 | return await _ctx.execute(str) |
| 657 | |
| 658 | |
| 659 | @runtime_checkable |