Skip to content

Conversation

@josenavas
Copy link
Contributor

This PR enables importing an artifact from another study that the user owns.

Name to give the artifact
prep_template_id : int or str castable to int
Prep template to attach the artifact to
artifact_id : str, optional
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this really a str vs an int?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This comes from the handler so it actually comes as a string.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK but note that prep_template_id also does and it can be int or str.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point

@ElDeveloper
Copy link
Contributor

Looks good, just a few non-blocking comments, and fyi the tests are failing.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.09%) to 82.922% when pulling 00d110a on josenavas:artifact-study-pages-import-artifact into df9ddec on biocore:artifact-study-pages.

@antgonza antgonza merged commit 588f63c into qiita-spots:artifact-study-pages Mar 29, 2016
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

Successfully merging this pull request may close these issues.

4 participants