Project

General

Profile

Actions

Feature #17635

closed

Support 'preserve_version' flag on Collection.save

Added by Peter Amstutz about 3 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
SDKs
Target version:
Story points:
-
Release relationship:
Auto

Description

  • Collection class in the Python SDK should support the "preserve_version" flag on the save() method
  • If preserve_version is true and CollectionVersioning is false in the config, decide which one of these things should happen:
    • Save a snapshot version as if CollectionVersioning is true (since it was asked for explicitly)
    • Return an error (so the user knows the version won't be preserved)

Subtasks 1 (0 open1 closed)

Task #18356: Review 17635-pysdk-collection-preserve-versionResolvedPeter Amstutz11/11/2021Actions

Related issues

Has duplicate Arvados - Idea #18312: Collection versioning tweaksClosedActions
Actions

Also available in: Atom PDF