class documentation
Undocumented
| Method | options |
Configure options for the function. |
| Instance Variable | conv |
Undocumented |
| Instance Variable | opts |
Undocumented |
| Property | id |
Undocumented |
def options(self, *, encoder:
Encoder[ Any, str | None] | None = None, id: str | None = None, idempotency_key: str | Callable[ [ str], str] | None = None, tags: dict[ str, str] | None = None, target: str | None = None, timeout: float | None = None, version: int | None = None) -> Self:
¶
Configure options for the function.
- encoder: Configure your own data encoder.
- id: Override the id for the function invocation.
- idempotency_key: Define the idempotency key invocation or a function that
- receives the promise id and creates an idempotency key.
- tags: Add custom tags to the durable promise representing the invocation.
- target: Target to distribute the invocation.
- timeout: Number of seconds before the invocation times out.
- version: Version of the function to invoke.