Skip to content

Commit

Permalink
fix(rust): Add missing commas in python IR interchange (pola-rs#17518)
Browse files Browse the repository at this point in the history
  • Loading branch information
wence- authored Jul 9, 2024
1 parent a5724d6 commit 7b8612c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@
/crates/polars-sql/ @ritchie46 @stinodego @orlp @c-peters @alexander-beedie
/crates/polars-time/ @ritchie46 @stinodego @orlp @c-peters @MarcoGorelli
/py-polars/ @ritchie46 @stinodego @c-peters @alexander-beedie @MarcoGorelli @reswqa
/py-polars/lazyframe/visit.rs @ritchie46 @stinodego @c-peters @alexander-beedie @MarcoGorelli @reswqa @wence-
/py-polars/lazyframe/visitor/ @ritchie46 @stinodego @c-peters @alexander-beedie @MarcoGorelli @reswqa @wence-
4 changes: 2 additions & 2 deletions py-polars/src/lazyframe/visitor/expr_nodes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -958,15 +958,15 @@ pub(crate) fn into_py(py: Python<'_>, expr: &AExpr) -> PyResult<PyObject> {
TemporalFunction::TimeStamp(time_unit) => {
(PyTemporalFunction::TimeStamp, Wrap(*time_unit)).into_py(py)
},
TemporalFunction::Truncate => (PyTemporalFunction::Truncate).into_py(py),
TemporalFunction::Truncate => (PyTemporalFunction::Truncate,).into_py(py),
TemporalFunction::OffsetBy => (PyTemporalFunction::OffsetBy,).into_py(py),
TemporalFunction::MonthStart => (PyTemporalFunction::MonthStart,).into_py(py),
TemporalFunction::MonthEnd => (PyTemporalFunction::MonthEnd,).into_py(py),
TemporalFunction::BaseUtcOffset => {
(PyTemporalFunction::BaseUtcOffset,).into_py(py)
},
TemporalFunction::DSTOffset => (PyTemporalFunction::DSTOffset,).into_py(py),
TemporalFunction::Round => (PyTemporalFunction::Round).into_py(py),
TemporalFunction::Round => (PyTemporalFunction::Round,).into_py(py),
TemporalFunction::ReplaceTimeZone(time_zone, non_existent) => (
PyTemporalFunction::ReplaceTimeZone,
time_zone
Expand Down

0 comments on commit 7b8612c

Please sign in to comment.