Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support for synchronous upload #44

Open
wkalt opened this issue Apr 25, 2022 · 0 comments
Open

support for synchronous upload #44

wkalt opened this issue Apr 25, 2022 · 0 comments
Labels
feature New feature or request

Comments

@wkalt
Copy link
Contributor

wkalt commented Apr 25, 2022

It would be nice if the library supported a "synchronous" argument. This could work by using the request ID returned from the import endpoint and polling the /pending-imports endpoint until either a success or failure appears.

Currently the behavior of the backend is to display a failure on retryable failures (which could resolve to a success eventually if it succeeds before the retry count). We probably need to coordinate around that somehow, probably by indicating in the pending-imports response when a failure status is terminal.

@wkalt wkalt added the feature New feature or request label Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Development

No branches or pull requests

1 participant