Skip to content

Commit

Permalink
Fix offset
Browse files Browse the repository at this point in the history
  • Loading branch information
briantu committed Oct 22, 2024
1 parent 8219a16 commit 047f4eb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,8 @@ async def _evaluate_entity_async(entity_key: EntityKey, offset: int):

for topo_level in self.asset_graph.toposorted_entity_keys_by_level:
coroutines = [
_evaluate_entity_async(entity_key, num_evaluated)
for entity_key in topo_level
_evaluate_entity_async(entity_key, offset)
for offset, entity_key in enumerate(topo_level)
if entity_key in self.entity_keys
]
await asyncio.gather(*coroutines)
Expand Down

0 comments on commit 047f4eb

Please sign in to comment.