Commits
Click on a commit to change the comparison rangeMigrate resume_flow_run from sync_compatible to async_dispatch
This change follows the pattern established in PR #19632 to migrate
resume_flow_run from the @sync_compatible decorator to the @async_dispatch
pattern.
Changes:
- Create aresume_flow_run as the explicit async implementation
- Create resume_flow_run as the sync implementation with @async_dispatch
- Export aresume_flow_run from main.py and __init__.py
- Add tests for both sync and async code paths
- Add None checks for flow_run.state and response.state for robustness
Related to #15008
Co-Authored-By: Nate Nowack <nate@prefect.io>1 day ago
by devin-ai-integration[bot]