Skip to content

Commit

Permalink
[Data] Fix signature of Rule.plan (ray-project#47094)
Browse files Browse the repository at this point in the history
The method signature is missing self
  • Loading branch information
bveeramani authored Aug 12, 2024
1 parent 17c020f commit b6d4792
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/ray/data/_internal/logical/interfaces/optimizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
class Rule:
"""Abstract class for optimization rule."""

def apply(plan: Plan) -> Plan:
def apply(self, plan: Plan) -> Plan:
"""Apply the optimization rule to the execution plan."""
raise NotImplementedError

Expand Down

0 comments on commit b6d4792

Please sign in to comment.