-
Notifications
You must be signed in to change notification settings - Fork 79
Import artifact #1716
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
Import artifact #1716
Conversation
… into artifact-study-pages-import-artifact
…udy-pages-import-artifact
… into artifact-study-pages-import-artifact
| 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 |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point
|
Looks good, just a few non-blocking comments, and fyi the tests are failing. |
This PR enables importing an artifact from another study that the user owns.