NoOpAction Class
A no-op action, for anonymous tasks only.
Create a NoOpAction object.
This is an internal-only action class used to represent cases when intermediate tasks are used to implement some API. For example, in -WithRetry APIs, intermediate timers are created. We create this NoOp action to track those the backing actions of those tasks, which is necessary because we mimic the DF-internal replay algorithm.
Constructor
NoOpAction(metadata: str | None = None)
Parameters
| Name | Description |
|---|---|
|
metadata
|
<xref:Optional>[str]
Used for internal debugging: metadata about the action being represented. Default value: None
|
Methods
| action_type |
Get the type of action this class represents. |
| to_json |
Convert object into a json dictionary. |
action_type
Get the type of action this class represents.
action_type() -> int