feat: add drop_function client APIs (#4097)

This commit is contained in:
Xuanwo
2026-08-31 22:17:11 +08:00
committed by GitHub
parent 16753b805a
commit c196d033e9
9 changed files with 141 additions and 1 deletions
+11
View File
@@ -629,6 +629,17 @@ impl Connection {
})
}
pub fn drop_function(
self_: PyRef<'_, Self>,
name: String,
version: String,
) -> PyResult<Bound<'_, PyAny>> {
let inner = self_.get_inner()?.clone();
future_into_py(self_.py(), async move {
inner.drop_function(name, version).await.infer_error()
})
}
pub fn list_jobs(self_: PyRef<'_, Self>) -> PyResult<Bound<'_, PyAny>> {
let inner = self_.get_inner()?.clone();
future_into_py(self_.py(), async move {