Skip to content

Commit

Permalink
Fix pytype error.
Browse files Browse the repository at this point in the history
  • Loading branch information
marcenacp committed Nov 29, 2024
1 parent 7ca7552 commit 0136e47
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion python/mlcroissant/mlcroissant/_src/datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,9 @@ def _filter_interesting_operations(self, filters: Filters | None) -> Operations:
join_uuid = field.references.uuid
graph = field.ctx.graph
if join_uuid:
join_node = next(node for node in graph if node.uuid == join_uuid)
join_node = next(
node for node in graph if node.uuid == join_uuid
) # pytype: disable=attribute-error
unneeded_nodes = [
node
for node in graph
Expand Down

0 comments on commit 0136e47

Please sign in to comment.