copy#

caput.memdata.MemDiskGroup.copy(shared=[], shallow=False)[source]#

Return a deep copy of this class or subclass.

Parameters:
sharedlist[str]

dataset names to share (i.e. don’t deep copy).

shallowbool, optional

True if this should be a shallow copy. Default is False.

Returns:
groupMemDiskGroup

Copy of this group.