Skip to content

Add Document.change_object_namespace#367

Merged
tcmitchell merged 4 commits intoSynBioDex:mainfrom
tcmitchell:235-change-namespace
Jan 19, 2022
Merged

Add Document.change_object_namespace#367
tcmitchell merged 4 commits intoSynBioDex:mainfrom
tcmitchell:235-change-namespace

Conversation

@tcmitchell
Copy link
Copy Markdown
Collaborator

Add Document.change_object_namespace method to change namespaces of objects. This method maintains referential integrity among the objects whose namespaces are changing.

Related to #235

TopLevel.split_identity splits an object's identity into 3 components:
namespace, path, display_id.
Provide access to underlying capabilities of `TopLevel.clone`
so that `Document.change_object_namespace` can make use of them.
Start work on `Document.change_object_namespace` with just a simple
example. Note additional test cases for continued development.
@tcmitchell tcmitchell added this to the 1.0 milestone Jan 19, 2022
@tcmitchell tcmitchell self-assigned this Jan 19, 2022
@tcmitchell tcmitchell merged commit 0cc6b50 into SynBioDex:main Jan 19, 2022
@tcmitchell tcmitchell deleted the 235-change-namespace branch January 19, 2022 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant