Actions
Bug #19586
openError creating a collection with "preserve_version" using the Python SDK
Story points:
-
Release:
Release relationship:
Auto
Description
I'm trying to create a collection with the "preserve_version" flag set. It seems using the API in the following way never allows this:
output_collection = arvados.collection.Collection() output_collection.save_new( name=output_collection_name, owner_uuid=output_collection_owner_uuid, preserve_version=True, ) output_collection.update()
This always responds with an error:
arvados.errors.ArgumentError: preserve_version is not supported when CollectionVersioning is not enabled.
But I believe this is just a local check, which is never passes - it doesn't appear to matter that CollectionVersioning is indeed enabled in the config.yaml on the back-end.
Am I using the API incorrectly to do this?
Actions