Skip to content

Commit

Permalink
fix(rust): export anonymousscan in lazy prelude (#5295)
Browse files Browse the repository at this point in the history
  • Loading branch information
universalmind303 committed Oct 25, 2022
1 parent 321026e commit 6d2ae61
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use std::fmt::{Debug, Formatter};

use polars_core::prelude::*;

use crate::prelude::AnonymousScanOptions;
pub use super::options::AnonymousScanOptions;

pub trait AnonymousScan: Send + Sync {
/// Creates a dataframe from the supplied function & scan options.
Expand Down
4 changes: 3 additions & 1 deletion polars/polars-lazy/src/prelude.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
pub(crate) use polars_ops::prelude::*;
pub use polars_plan::logical_plan::{Literal, LiteralValue, LogicalPlan, Null, NULL};
pub use polars_plan::logical_plan::{
AnonymousScan, AnonymousScanOptions, Literal, LiteralValue, LogicalPlan, Null, NULL,
};
pub(crate) use polars_plan::prelude::*;
#[cfg(feature = "rolling_window")]
pub use polars_time::{prelude::RollingOptions, Duration};
Expand Down

0 comments on commit 6d2ae61

Please sign in to comment.