use my own API to upload file rather than `begin_write` and `end_write`
HengyueLi opened this issue · comments
H. Li commented
For my case, I already have an API, an Python function api_upload(path)
, to implement write. For example, a file with local path filepath="/home/foo/1.png"
, can be "writen" directly by a function call api_upload(path=filepath)
. That is all. How can I simplify begin_write
and end_write
?
Martin Wendt commented
Have a look at FileLikeQueue
Martin Wendt commented
See also #253