Skip to content

Commit c3211db

Browse files
timsaucerclaude
andcommitted
docs: trim PhysicalOptimizerRuleExportable docstring
Drop the sentence about logical-rule FFI availability; it is background, not type-hint information, and keeps the Protocol docstring in line with the other *Exportable hints. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent a35f6f1 commit c3211db

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

python/datafusion/context.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,7 @@ class PhysicalOptimizerRuleExportable(Protocol):
134134
"""Type hint for object that has __datafusion_physical_optimizer_rule__ PyCapsule.
135135
136136
The method returns a PyCapsule wrapping an ``FFI_PhysicalOptimizerRule``,
137-
typically produced by a separate compiled extension. DataFusion provides no
138-
FFI bridge for logical optimizer or analyzer rules, so only physical
139-
optimizer rules can be supplied this way.
137+
typically produced by a separate compiled extension.
140138
"""
141139

142140
def __datafusion_physical_optimizer_rule__(self) -> object: ... # noqa: D105

0 commit comments

Comments
 (0)