dapr / python-sdk

Dapr SDK for Python
Apache License 2.0
222 stars 125 forks source link

Add Retry Policy wrapper for WF #658

Closed DeepanshuA closed 8 months ago

DeepanshuA commented 8 months ago

Description

Adds retry policy support via Dapr python sdk

Issue reference

Please reference the issue this PR will close: #576 and https://github.com/dapr/python-sdk/issues/660

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

codecov[bot] commented 8 months ago

Codecov Report

Attention: 20 lines in your changes are missing coverage. Please review.

Comparison is base (2c328d1) 86.54% compared to head (3b095cb) 86.21%.

Files Patch % Lines
...apr-ext-workflow/dapr/ext/workflow/retry_policy.py 55.26% 17 Missing :warning:
...orkflow/dapr/ext/workflow/dapr_workflow_context.py 66.66% 3 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #658 +/- ## ========================================== - Coverage 86.54% 86.21% -0.33% ========================================== Files 78 79 +1 Lines 3953 3998 +45 ========================================== + Hits 3421 3447 +26 - Misses 532 551 +19 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

DeepanshuA commented 8 months ago

Was first thinking to create a separate PR for https://github.com/dapr/python-sdk/issues/660 but then thought that it will cause merge conflicts as well in this PR. So, included that in this PR itself.