Skip to content

Commit 6d2ae61

Browse files
fix(rust): export anonymousscan in lazy prelude (#5295)
1 parent 321026e commit 6d2ae61

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

polars/polars-lazy/polars-plan/src/logical_plan/anonymous_scan.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use std::fmt::{Debug, Formatter};
22

33
use polars_core::prelude::*;
44

5-
use crate::prelude::AnonymousScanOptions;
5+
pub use super::options::AnonymousScanOptions;
66

77
pub trait AnonymousScan: Send + Sync {
88
/// Creates a dataframe from the supplied function & scan options.

polars/polars-lazy/src/prelude.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
pub(crate) use polars_ops::prelude::*;
2-
pub use polars_plan::logical_plan::{Literal, LiteralValue, LogicalPlan, Null, NULL};
2+
pub use polars_plan::logical_plan::{
3+
AnonymousScan, AnonymousScanOptions, Literal, LiteralValue, LogicalPlan, Null, NULL,
4+
};
35
pub(crate) use polars_plan::prelude::*;
46
#[cfg(feature = "rolling_window")]
57
pub use polars_time::{prelude::RollingOptions, Duration};

0 commit comments

Comments
 (0)