Skip to content

Commit

Permalink
improve inline comment
Browse files Browse the repository at this point in the history
  • Loading branch information
douglasdavis committed Jul 6, 2023
1 parent ceb84ed commit 9512760
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/dask_awkward/lib/optimize.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,11 @@ def _get_column_reports(dsk: HighLevelGraph) -> dict[str, Any]:
# this loop builds up what are the possible final leaf nodes by
# inspecting the dependents dictionary. If something does not have
# a dependent, it must be the end of a graph. These are the things
# we need to compute for; we only a single partition (the first).
# we need to compute for; we only use a single partition (the
# first). for a single collection `.compute()` this list will just
# be length 1; but if we are using `dask.compute` to pass in
# multiple collections to be computed simultaneously, this list
# will increase in length.
outlayers = []
for k, v in dependents.items():
if isinstance(v, set) and len(v) == 0:
Expand Down

0 comments on commit 9512760

Please sign in to comment.