Skip to content

Sweeping !1453 from master to devel: Add Archive at a Specific Time

LHCbDIRAC Bot requested to merge cherry-pick-c4a937df9-devel into devel

As part of the work for lhcb-dpa/analysis-productions/LbAPWeb#40 (and after dicussions with @cburr), this PR adds an extended version of archiveSamples called archiveSamplesAtSpecificTime that takes a datetime object as well as the list of ids and sets the validity_end field to this, thus allowing a sample to be archived in the future.

BEGINRELEASENOTES *AnalysisProductionsDB NEW: Added the function archiveSamplesAtSpecificTime that will set the end validity of the given samples to the given datetime. Essentially a minor extension to archiveSamples. ENDRELEASENOTES

Merge request reports