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

Possible to bulk import a volume directory into a SBG sub directory #113

Open
zymergen-mbarton opened this issue Dec 18, 2018 · 3 comments

Comments

@zymergen-mbarton
Copy link

I would like to import a list of files from a volume using
api.imports.bulk_submit(imports=...). It currently seems only possible to
import these files into the root of the project. Could this function be updated
to accept and additional parameter either in the given dictionary, or as an
argument specifing a parent folder?

@christiansbg
Copy link

Hi Michael, thanks for your feedback. Here our Python API client lags behind our REST API a bit, but we have it already scheduled.

If you urgently need this feature, you could turn directly to the REST API to achieve this, where we already have a 'parent' argument to specify the target folder:

https://docs.sevenbridges.com/v1.0/reference#start-an-import-job-v2

@zymergen-mbarton
Copy link
Author

Thank you @christiansbg. That would be very useful in the API. I think this also would relate to the issue I saw in #112 since I wouldn't need to move a large number of files over if they could be imported into a folder directly.

@christiansbg
Copy link

christiansbg commented Jan 8, 2019

In version 0.17.6 it's possible now for single file imports to specify the parent folder:
https://github.com/sbg/sevenbridges-python/releases/tag/0.17.6

For bulk imports it is not fixed yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants