Skip to content

Commit b86f91c

Browse files
committed
fix: format python bindings
1 parent c1d3b16 commit b86f91c

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

python/src/dataset.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2101,7 +2101,10 @@ impl Dataset {
21012101
Ok(PyLance(index_metadata))
21022102
}
21032103

2104-
fn create_index_segment_builder(&self, staging_index_uuid: String) -> PyResult<PyIndexSegmentBuilder> {
2104+
fn create_index_segment_builder(
2105+
&self,
2106+
staging_index_uuid: String,
2107+
) -> PyResult<PyIndexSegmentBuilder> {
21052108
Ok(PyIndexSegmentBuilder {
21062109
dataset: self.ds.clone(),
21072110
staging_index_uuid,

python/src/indices.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,7 @@ use crate::{
3737
dataset::Dataset, error::PythonErrorExt, file::object_store_from_uri_or_path_no_options, rt,
3838
};
3939
use lance::index::vector::ivf::write_ivf_pq_file_from_existing_index;
40-
use lance_index::{
41-
DatasetIndexExt, IndexDescription, IndexSegment, IndexSegmentPlan, IndexType,
42-
};
40+
use lance_index::{DatasetIndexExt, IndexDescription, IndexSegment, IndexSegmentPlan, IndexType};
4341
use uuid::Uuid;
4442

4543
#[pyclass(name = "IndexConfig", module = "lance.indices", get_all)]

0 commit comments

Comments
 (0)