Project

General

Profile

Actions

Feature #17635

closed

Support 'preserve_version' flag on Collection.save

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

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
SDKs
Target version:
Start date:
11/11/2021
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
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/2021

Actions

Related issues 1 (0 open1 closed)

Has duplicate Arvados - Story #18312: Collection versioning tweaksClosed

Actions
Actions

Also available in: Atom PDF