Skip to content

Commit 0b4181b

Browse files
Remove legacy dbg statements. (#57)
* Remove legacy debug statements. * Bump Python package version for release. * Fix cargo fmt errors. * Fix clippy errors.
1 parent dbfcfa2 commit 0b4181b

4 files changed

Lines changed: 4 additions & 12 deletions

File tree

python/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "zarr-datafusion-search-python"
3-
version = "0.1.1"
3+
version = "0.1.2"
44
edition = "2024"
55
authors = ["Kyle Barron <kylebarron2@gmail.com>"]
66
description = "Python bindings for zarr-datafusion-search"

python/src/table.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,6 @@ impl PyZarrTable {
3333
.extract()?;
3434
let icechunk_session = icechunk::session::Session::from_bytes(bytes).unwrap();
3535

36-
dbg!("Created icechunk session from msgpack serialization");
37-
dbg!(icechunk_session.config());
38-
3936
future_into_py(py, async move {
4037
let table_provider = ZarrTableProvider::new_icechunk(icechunk_session, &group_path)
4138
.await

src/testing/iter_group.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ async fn test_load_group() {
1515

1616
{
1717
let storage = Arc::new(FilesystemStore::new(path).unwrap());
18-
let group = Group::open(storage.clone(), "/meta").unwrap();
19-
dbg!(group.path());
18+
let _group = Group::open(storage.clone(), "/meta").unwrap();
2019
}
2120
}
2221

@@ -35,6 +34,5 @@ async fn test_load_group_icechunk() {
3534
let version_info = VersionInfo::BranchTipRef("main".to_string());
3635
let session = repo.readonly_session(&version_info).await.unwrap();
3736
let store = Arc::new(AsyncIcechunkStore::new(session));
38-
let group = Group::async_open(store.clone(), "/meta").await.unwrap();
39-
dbg!(group.path());
37+
let _group = Group::async_open(store.clone(), "/meta").await.unwrap();
4038
}

src/testing/load_zarrs.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -178,9 +178,6 @@ async fn test_load_bbox_array() {
178178
{
179179
let store = Arc::new(FilesystemStore::new(path).unwrap());
180180

181-
let bbox_array = Array::open(store.clone(), "/meta/bbox").unwrap();
182-
183-
println!("HII");
184-
dbg!(bbox_array.data_type());
181+
let _bbox_array = Array::open(store.clone(), "/meta/bbox").unwrap();
185182
}
186183
}

0 commit comments

Comments
 (0)