Merge remote-tracking branch 'origin/main' into gatekeeper/fix-3086-1

This commit is contained in:
Gatefixer
2026-08-06 04:00:59 +00:00
7 changed files with 87 additions and 7 deletions
+3
View File
@@ -746,6 +746,9 @@ impl Table {
#[allow(private_interfaces)]
pub fn delete(self_: PyRef<'_, Self>, condition: PredicateArg) -> PyResult<Bound<'_, PyAny>> {
// Do not hold the Python borrow across the await. The cloned Rust table
// handle is thread-safe and allows deletes on the same Python table to
// run concurrently without PyO3 reporting "Already borrowed".
let inner = self_.inner_ref()?.clone();
future_into_py(self_.py(), async move {
let result = match &condition {