This is an automated email from the ASF dual-hosted git repository.

manjusaka pushed a commit to branch manjusaka/python-support-copy
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git

commit 359fb9ad09562aecf258959d0cb38ec68cc05e7b
Author: Manjusaka <[email protected]>
AuthorDate: Wed Nov 1 19:27:53 2023 +0800

    Update code
    
    Signed-off-by: Manjusaka <[email protected]>
---
 bindings/python/src/asyncio.rs | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/bindings/python/src/asyncio.rs b/bindings/python/src/asyncio.rs
index 9f0cf6a18..a97285851 100644
--- a/bindings/python/src/asyncio.rs
+++ b/bindings/python/src/asyncio.rs
@@ -140,8 +140,13 @@ impl AsyncOperator {
     }
 
     /// Copy from `src` to `dst`.
-    
-    pub fn copy<'p>(&'p self, py: Python<'p>, source: String, target: String) 
-> PyResult<&'p PyAny> {
+
+    pub fn copy<'p>(
+        &'p self,
+        py: Python<'p>,
+        source: String,
+        target: String,
+    ) -> PyResult<&'p PyAny> {
         let this = self.0.clone();
         future_into_py(py, async move {
             this.copy(&source, &target).await.map_err(format_pyerr)

Reply via email to