custom_context
Synchronous context manager to set input context for tasks spawned within this block.
@contextmanager
def custom_context(**context: str): ...
Synchronous context manager to set input context for tasks spawned within this block.
Parameters
| Name | Type | Description |
|---|---|---|
| **context | str | Key-value pairs to set as input context. |
Returns
| Type | Description |
|---|---|
Iterator[None] | Yields control within the context block with the updated custom context applied. |