Skip to content

Commit

Permalink
chore: clippy on merge
Browse files Browse the repository at this point in the history
  • Loading branch information
ion-elgreco committed Aug 24, 2024
1 parent 8c6c1b0 commit 12b5104
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions python/src/merge.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ pub(crate) struct PyMergeBuilder {
}

impl PyMergeBuilder {
#[allow(clippy::too_many_arguments)]
pub fn new(
log_store: LogStoreRef,
snapshot: DeltaTableState,
Expand Down Expand Up @@ -73,8 +74,8 @@ impl PyMergeBuilder {
}
Ok(Self {
_builder: Some(cmd),
source_alias: source_alias,
target_alias: target_alias,
source_alias,
target_alias,
arrow_schema: schema,
})
}
Expand All @@ -89,7 +90,7 @@ impl PyMergeBuilder {
impl PyMergeBuilder {
#[getter]
fn get_arrow_schema(&self, py: Python) -> PyResult<PyObject> {
Ok(<arrow_schema::Schema as Clone>::clone(&self.arrow_schema).into_pyarrow(py)?)
<arrow_schema::Schema as Clone>::clone(&self.arrow_schema).into_pyarrow(py)
}

#[pyo3(signature=(
Expand Down

0 comments on commit 12b5104

Please sign in to comment.