You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi everyone. I work on a big project that uses pyodata library for making batch requests and some times only one or more sub requests have failed and others are successful but the library throws an error and the problem here that I can't handle successful responses but I really need to. For my own use I've created a tricky solution for this but I'd like to know if there's a proper way to deal with such situations? Can this situation be handled with the current version of the library? If answers for the above questions are no I can prepare PR from what I have in production ( which will give user a choice between old and new behaviour) of course if such functionality is something that the library can adopt
The text was updated successfully, but these errors were encountered:
@DimonLuk I am sorry for not following up on this issue earlier. Currently we are busy with adding support for OData V4.
I had a quick look at our batch implementation and I don't think you can handle partial success with the current code base. However, it should not be that hard to add support for it. We usually struggle to find the expected behaviour and the best way how to enable users to consume our API. Feel free to open a PR, because we cannot get back to this issue soon. Please, before you invest too much time, send us some usage examples of your proposed chages.
Hi everyone. I work on a big project that uses pyodata library for making batch requests and some times only one or more sub requests have failed and others are successful but the library throws an error and the problem here that I can't handle successful responses but I really need to. For my own use I've created a tricky solution for this but I'd like to know if there's a proper way to deal with such situations? Can this situation be handled with the current version of the library? If answers for the above questions are no I can prepare PR from what I have in production ( which will give user a choice between old and new behaviour) of course if such functionality is something that the library can adopt
The text was updated successfully, but these errors were encountered: