From 651d5ec2c245531be5e7f4f8bdc9c07368abc45a Mon Sep 17 00:00:00 2001 From: Brad Macdonald <52762200+BWMac@users.noreply.github.com> Date: Fri, 29 Dec 2023 10:19:18 -0700 Subject: [PATCH] Update synapseutils/copy_functions.py Co-authored-by: BryanFauble <17128019+BryanFauble@users.noreply.github.com> --- synapseutils/copy_functions.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/synapseutils/copy_functions.py b/synapseutils/copy_functions.py index b5e4579b6..388caf46b 100644 --- a/synapseutils/copy_functions.py +++ b/synapseutils/copy_functions.py @@ -298,7 +298,14 @@ def copy( **kwargs, ) -> typing.Dict[str, str]: """ - - This function will assist users in copying entities (Tables, Links, Files, Folders, Projects), + - This function will assist users in copying entities + ( + [Tables][synapseclient.table.Table], + [Links][synapseclient.entity.Link], + [Files][synapseclient.entity.File], + [Folders][synapseclient.entity.Folder], + [Projects][synapseclient.entity.Project] + ), and will recursively copy everything in directories. - A Mapping of the old entities to the new entities will be created and all the wikis of each entity will also be copied over and links to synapse Ids will be updated.