Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Document.change_object_namespace #367

Merged
merged 4 commits into from
Jan 19, 2022

Conversation

tcmitchell
Copy link
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