temporalio / sdk-python

Temporal Python SDK
MIT License
473 stars 77 forks source link

Add deterministic alternatives for asyncio.wait and asyncio.as_completed #533

Closed cretz closed 6 months ago

cretz commented 6 months ago

What was changed

asyncio.as_completed and asyncio.wait are non-deterministic sometimes so we need alternatives.

Checklist

  1. Closes #429
  2. Closes #518
cretz commented 6 months ago

After team discussion, it was decided to issue warnings if the asyncio versions are called. The PR has been updated to support this. Please re-review.