Set the return value of the function call to the provided value. Parameters ---------- value: JSON serialization of the return value. Returns ------- Void | None The absence of a value. A Null Void is used as a placeholder fo
(self, value: JSON)
| 9010 | await _ctx.execute() |
| 9011 | |
| 9012 | async def return_value(self, value: JSON) -> Void | None: |
| 9013 | """Set the return value of the function call to the provided value. |
| 9014 | |
| 9015 | Parameters |
| 9016 | ---------- |
| 9017 | value: |
| 9018 | JSON serialization of the return value. |
| 9019 | |
| 9020 | Returns |
| 9021 | ------- |
| 9022 | Void | None |
| 9023 | The absence of a value. A Null Void is used as a placeholder for |
| 9024 | resolvers that do not return anything. |
| 9025 | |
| 9026 | Raises |
| 9027 | ------ |
| 9028 | ExecuteTimeoutError |
| 9029 | If the time to execute the query exceeds the configured timeout. |
| 9030 | QueryError |
| 9031 | If the API returns an error. |
| 9032 | """ |
| 9033 | _args = [ |
| 9034 | Arg("value", value), |
| 9035 | ] |
| 9036 | _ctx = self._select("returnValue", _args) |
| 9037 | await _ctx.execute() |
| 9038 | |
| 9039 | |
| 9040 | @typecheck |