azure-devops-python-api icon indicating copy to clipboard operation
azure-devops-python-api copied to clipboard

update_packages requires undefined BatchPromoteData

Open dbabineau-vr opened this issue 2 years ago • 0 comments

when using update_packages on the npm_client with "promote" as the operation, the NpmPackagesBatchRequest requires a BatchPromoteData object that isn't defined anywhere:

    # TODO: Requires a BatchPromoteData model that doesn't even exist!
    batch_request = NpmPackagesBatchRequest(data=promote_data, operation="promote", packages=packages)
    response = npm_client.update_packages(batch_request, feed.id, project=args.project)

dbabineau-vr avatar Jan 23 '23 12:01 dbabineau-vr