Skip to content

[WORKFLOW QUESTION] RetryPolicy missing #718

@RamXX

Description

@RamXX

The Python example program here: https://github.com/dapr/python-sdk/tree/main/examples/demo_workflow performs this import: from dapr.ext.workflow.retry_policy import RetryPolicy, but the upon pip install of the latest version (dapr-ext-workflow-dev==0.2.0rc1.dev1781), RetryPolicy does not appear to be present. Looking at the init:

from dapr.ext.workflow.workflow_runtime import WorkflowRuntime
from dapr.ext.workflow.dapr_workflow_client import DaprWorkflowClient
from dapr.ext.workflow.dapr_workflow_context import DaprWorkflowContext, when_all, when_any
from dapr.ext.workflow.workflow_activity_context import WorkflowActivityContext
from dapr.ext.workflow.workflow_state import WorkflowState, WorkflowStatus

__all__ = [
    'WorkflowRuntime',
    'DaprWorkflowClient',
    'DaprWorkflowContext',
    'WorkflowActivityContext',
    'WorkflowState',
    'WorkflowStatus',
    'when_all',
    'when_any'
]

there is no Retry Policy. I look at all modules there and it doesn't appear to exist anymore, so the example fails.
Please advice.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions