Skip to content

Commit d6b3365

Browse files
committed
fmt
1 parent c016195 commit d6b3365

File tree

1 file changed

+7
-15
lines changed

1 file changed

+7
-15
lines changed

python/src/lib.rs

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -355,8 +355,7 @@ impl RawDeltaTable {
355355
);
356356
};
357357

358-
rt().block_on(cmd.into_future())
359-
.map_err(PythonError::from)
358+
rt().block_on(cmd.into_future()).map_err(PythonError::from)
360359
})?;
361360
self._table.state = table.state;
362361
Ok(metrics.files_deleted)
@@ -402,8 +401,7 @@ impl RawDeltaTable {
402401
);
403402
};
404403

405-
rt().block_on(cmd.into_future())
406-
.map_err(PythonError::from)
404+
rt().block_on(cmd.into_future()).map_err(PythonError::from)
407405
})?;
408406
self._table.state = table.state;
409407
Ok(serde_json::to_string(&metrics).unwrap())
@@ -418,7 +416,6 @@ impl RawDeltaTable {
418416
writer_properties=None,
419417
custom_metadata=None,
420418
))]
421-
422419
#[allow(clippy::too_many_arguments)]
423420
pub fn compact_optimize(
424421
&mut self,
@@ -462,8 +459,7 @@ impl RawDeltaTable {
462459
.map_err(PythonError::from)?;
463460
cmd = cmd.with_filters(&converted_filters);
464461

465-
rt().block_on(cmd.into_future())
466-
.map_err(PythonError::from)
462+
rt().block_on(cmd.into_future()).map_err(PythonError::from)
467463
})?;
468464
self._table.state = table.state;
469465
Ok(serde_json::to_string(&metrics).unwrap())
@@ -525,8 +521,7 @@ impl RawDeltaTable {
525521
.map_err(PythonError::from)?;
526522
cmd = cmd.with_filters(&converted_filters);
527523

528-
rt().block_on(cmd.into_future())
529-
.map_err(PythonError::from)
524+
rt().block_on(cmd.into_future()).map_err(PythonError::from)
530525
})?;
531526
self._table.state = table.state;
532527
Ok(serde_json::to_string(&metrics).unwrap())
@@ -557,8 +552,7 @@ impl RawDeltaTable {
557552
);
558553
};
559554

560-
rt().block_on(cmd.into_future())
561-
.map_err(PythonError::from)
555+
rt().block_on(cmd.into_future()).map_err(PythonError::from)
562556
})?;
563557
self._table.state = table.state;
564558
Ok(())
@@ -588,8 +582,7 @@ impl RawDeltaTable {
588582
);
589583
};
590584

591-
rt().block_on(cmd.into_future())
592-
.map_err(PythonError::from)
585+
rt().block_on(cmd.into_future()).map_err(PythonError::from)
593586
})?;
594587
self._table.state = table.state;
595588
Ok(())
@@ -1221,8 +1214,7 @@ impl RawDeltaTable {
12211214
);
12221215
};
12231216

1224-
rt().block_on(cmd.into_future())
1225-
.map_err(PythonError::from)
1217+
rt().block_on(cmd.into_future()).map_err(PythonError::from)
12261218
})?;
12271219
self._table.state = table.state;
12281220
Ok(serde_json::to_string(&metrics).unwrap())

0 commit comments

Comments
 (0)