Deepomatic / deepomatic-client-python

Python Client
Other
14 stars 0 forks source link

Remove automatic open of filepath ? #33

Open maingoh opened 5 years ago

maingoh commented 5 years ago

Currently if the field of the files dict is a string and exists on the disk we try to open it and send the file. It is probably to much magic, and may conflict if a value we want to send is by chance the same as a file on the disk. We should let the user open the file. Note that this may break some users (hopefully they don't use the feature).

thomas-riccardi commented 3 years ago

Related: http requests one-time inputs vs retry on error: need more control, even after #94:

for reference, after meeting with hugo and some tests:

_Originally posted by @thomas-riccardi in https://github.com/Deepomatic/deepomatic-client-python/pull/94#discussion_r547376894_