Closed RamXX closed 2 months ago
Please use:
dapr-ext-workflow>=0.4.0
dapr>=1.13.0
The -dev
version are in the examples to run our integration tests.
Also note:
pip3 install dapr-ext-workflow-dev
current installs dapr-ext-workflow-dev-0.2.0rc1.dev2031
And the import works there:
from dapr.ext.workflow.retry_policy import RetryPolicy
Maybe your local dependencies were very outdated?
Yes, this got solved recently. I now fix the dependency in the requirements file. Thanks!
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: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.