Skip to content

Handle partial success of a batch request #64

Open

Description

@DimonLuk

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

Activity

  1. filak-sap commented on Oct 10, 2019

    @filak-sap
    Contributor
  2. changed the title [-]Handle partial success[/-] [+]Handle partial success of a batch request[/+] on Oct 21, 2019
  3. DimonLuk commented on Nov 29, 2019

    @DimonLuk
    Author

    Any progress?

  4. filak-sap commented on Dec 2, 2019

    @filak-sap
    Contributor

    @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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions