An active function call.
| 8883 | |
| 8884 | @typecheck |
| 8885 | class FunctionCall(Type): |
| 8886 | """An active function call.""" |
| 8887 | |
| 8888 | async def id(self) -> str: |
| 8889 | """A unique identifier for this FunctionCall. |
| 8890 | |
| 8891 | Note |
| 8892 | ---- |
| 8893 | This is lazily evaluated, no operation is actually run. |
| 8894 | |
| 8895 | Returns |
| 8896 | ------- |
| 8897 | str |
| 8898 | The `ID` scalar type represents a unique identifier, often used to |
| 8899 | refetch an object or as key for a cache. The ID type appears in a |
| 8900 | JSON response as a String; however, it is not intended to be |
| 8901 | human-readable. When expected as an input type, any string (such |
| 8902 | as `"4"`) or integer (such as `4`) input value will be accepted as |
| 8903 | an ID. |
| 8904 | |
| 8905 | Raises |
| 8906 | ------ |
| 8907 | ExecuteTimeoutError |
| 8908 | If the time to execute the query exceeds the configured timeout. |
| 8909 | QueryError |
| 8910 | If the API returns an error. |
| 8911 | """ |
| 8912 | _args: list[Arg] = [] |
| 8913 | _ctx = self._select("id", _args) |
| 8914 | return await _ctx.execute(str) |
| 8915 | |
| 8916 | async def input_args(self) -> list["FunctionCallArgValue"]: |
| 8917 | """The argument values the function is being invoked with.""" |
| 8918 | _args: list[Arg] = [] |
| 8919 | _ctx = self._select("inputArgs", _args) |
| 8920 | return await _ctx.execute_object_list(FunctionCallArgValue) |
| 8921 | |
| 8922 | async def name(self) -> str: |
| 8923 | """The name of the function being called. |
| 8924 | |
| 8925 | Returns |
| 8926 | ------- |
| 8927 | str |
| 8928 | The `String` scalar type represents textual data, represented as |
| 8929 | UTF-8 character sequences. The String type is most often used by |
| 8930 | GraphQL to represent free-form human-readable text. |
| 8931 | |
| 8932 | Raises |
| 8933 | ------ |
| 8934 | ExecuteTimeoutError |
| 8935 | If the time to execute the query exceeds the configured timeout. |
| 8936 | QueryError |
| 8937 | If the API returns an error. |
| 8938 | """ |
| 8939 | _args: list[Arg] = [] |
| 8940 | _ctx = self._select("name", _args) |
| 8941 | return await _ctx.execute(str) |
| 8942 |
no outgoing calls
no test coverage detected