You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/09/22 11:52:17 UTC

[GitHub] [beam] TomAugspurger commented on pull request #22421: Initial DaskRunner for Beam

TomAugspurger commented on PR #22421:
URL: https://github.com/apache/beam/pull/22421#issuecomment-1254915366

   > In my last commit, I changed the client.gather command to async mode, and this let me hit a timeout error
   
   The 
   
   ```
   self.client.gather(self.futures, errors='raise', asynchronous=True)
   ```
   
   looks incorrect inside of a regular `def` function. That would typically need to be `await self.client.gather` inside of an async function, since `asynchronous=True` makes that return a coroutine that needs to be awaited.
   
   Can you expand on the desire for `asynchronous=True` there? The timeout wasn't working properly without it?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org