Skip to content

Commit

Permalink
annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
crusaderky committed Oct 25, 2023
1 parent d53392f commit e1db838
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions distributed/shuffle/_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ async def barrier(self, run_ids: Sequence[int]) -> int:
return self.run_id

async def _send(
self, address: str, shards: list[tuple[_T_partition_id, bytes]]
self, address: str, shards: list[tuple[_T_partition_id, Any]]
) -> None:
self.raise_if_closed()
return await self.rpc(address).shuffle_receive(
Expand All @@ -139,7 +139,7 @@ async def _send(
)

async def send(
self, address: str, shards: list[tuple[_T_partition_id, bytes]]
self, address: str, shards: list[tuple[_T_partition_id, Any]]
) -> None:
retry_count = dask.config.get("distributed.p2p.comm.retry.count")
retry_delay_min = parse_timedelta(
Expand Down
2 changes: 1 addition & 1 deletion distributed/shuffle/_worker_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ async def shuffle_receive(
self,
shuffle_id: ShuffleId,
run_id: int,
data: list[tuple[int, bytes]],
data: list[tuple[int, Any]],
) -> None:
"""
Handler: Receive an incoming shard of data from a peer worker.
Expand Down

0 comments on commit e1db838

Please sign in to comment.