Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Adkins <[email protected]>
  • Loading branch information
ahuang11 and zanieb authored Oct 3, 2022
1 parent b63e451 commit 661f19f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ The context managers can be used the same way in both `flow` run contexts and `t
```
For more information, visit the docs on [Waiting on Futures](https://docs.dask.org/en/stable/futures.html#waiting-on-futures).

There is also an equivalent `async` version, namely `get_async_dask_client`.
There is also an equivalent context manager for asynchronous tasks and flows: `get_async_dask_client`.

```python
import asyncio
Expand Down
2 changes: 1 addition & 1 deletion prefect_dask/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def get_dask_client(
to the full cluster. Therefore, it will attempt perform work within the
worker itself serially, and potentially overwhelming the single worker.
For async, there is `get_async_dask_client`.
When in an async context, we recommend using `get_async_dask_client` instead.
Args:
timeout: Timeout after which to error out; has no effect in
Expand Down

0 comments on commit 661f19f

Please sign in to comment.