Skip to content

ENH: Updating Resource::copyAttribute and all Item::assign methods

  1. Added new CopyaAssignmentOptions class to store options related to Attribute copying and assignment as well as Item assignment
  2. Created new API for Resource::copyAttribute that uses CopyAssignmentOptions as well as passing in a Logger to record issues
  3. Created new API for assigning one Attribute to another which also uses CopyAssignmentOptions and logger. Much of the logic was moved from Resource::copyAttrbute to this method
  4. Created new API for assigning one Item to another which uses CopyAssignmentOptions and logger.
  5. Old Resource::copyAttribute and Item::assign have been deprecated

Also added a check to make sure an attribute can not be created using an UUID that is already in use.

Edited by Robert M. O'Bara

Merge request reports