@@ -21,7 +21,7 @@ impl Workspace {
2121 #[ pyo3( name = "attach_buffer" ) ]
2222 fn pyattach_buffer ( & self , py : Python , path : String ) -> PyResult < Promise > {
2323 let this = self . clone ( ) ;
24- a_sync_detach ! ( py, this. attach_buffer( path. as_str ( ) ) . await )
24+ a_sync_detach ! ( py, this. attach_buffer( path) . await )
2525 }
2626
2727 #[ pyo3( name = "detach_buffer" ) ]
@@ -32,20 +32,20 @@ impl Workspace {
3232 #[ pyo3( name = "fetch_buffers" ) ]
3333 fn pylist_buffers ( & self , py : Python , filter : String ) -> PyResult < Promise > {
3434 let this = self . clone ( ) ;
35- a_sync_detach ! ( py, this. list_buffers ( filter. as_str ( ) ) . await )
35+ a_sync_detach ! ( py, this. fetch_buffers ( filter) . await )
3636 }
3737
3838 #[ pyo3( name = "fetch_users" ) ]
3939 fn pylist_users ( & self , py : Python ) -> PyResult < Promise > {
4040 let this = self . clone ( ) ;
41- a_sync_detach ! ( py, this. list_users ( ) . await )
41+ a_sync_detach ! ( py, this. fetch_users ( ) . await )
4242 }
4343
4444 #[ pyo3( name = "fetch_buffer_users" ) ]
4545 fn pylist_buffer_users ( & self , py : Python , path : String ) -> PyResult < Promise > {
4646 // crate::Result<Vec<crate::api::User>>
4747 let this = self . clone ( ) ;
48- a_sync_detach ! ( py, this. list_buffer_users ( path. as_str ( ) ) . await )
48+ a_sync_detach ! ( py, this. fetch_buffer_users ( path) . await )
4949 }
5050
5151 #[ pyo3( name = "delete_buffer" ) ]
0 commit comments