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

Add the ability to associate an asset version with a product during upload #35

Merged
merged 2 commits into from
Sep 20, 2024

Conversation

phillipcurl
Copy link
Collaborator

The create_new_asset_version_artifact_and_test_for_upload and create_new_asset_version_artifact_and_test_for_upload methods accept an optional product_id parameter. When passed in, that was not making its way to the API. This PR updates that so that when a product_id is passed in, it:

  • Associates the new asset version with the product
  • If there is already a version of the asset associated with the product, it removes that version from the product and associates the newly created version with the product

@phillipcurl phillipcurl merged commit 03c7d07 into main Sep 20, 2024
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.

2 participants