Skip to content

Commit

Permalink
Add stubs and improve comments for pyo3-exposed classes, driveby type…
Browse files Browse the repository at this point in the history
… fixes.
  • Loading branch information
clarkzinzow committed Sep 14, 2023
1 parent fc10d6d commit bdb4544
Show file tree
Hide file tree
Showing 21 changed files with 714 additions and 86 deletions.
5 changes: 4 additions & 1 deletion daft/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,10 @@ def logical_plan_builder_class(self) -> type[LogicalPlanBuilder]:
from daft.logical.logical_plan import PyLogicalPlanBuilder
from daft.logical.rust_logical_plan import RustLogicalPlanBuilder

return RustLogicalPlanBuilder if self.use_rust_planner else PyLogicalPlanBuilder
if self.use_rust_planner:
return RustLogicalPlanBuilder
else:
return PyLogicalPlanBuilder


_DaftContext = DaftContext()
Expand Down
Loading

0 comments on commit bdb4544

Please sign in to comment.