Skip to content

Assign new UUIDs to clones by default, add keep_id flag #259

Closed
@mpsonntag

Description

@mpsonntag

When creating a clone of a Section or a Property, by default assign new UUIDs to the id attribute of the clone and all cloned children.

The clone method should also contain a keep_id flag which by default is False. If set to True, the original id value is kept for the clone and all cloned children. e.g. when attaching the exact same odML object to another Document.

Required for #258.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions