Copying a Project creates another Project with the same Ontology and settings. You also have the option to copy over the same users, datasets and models (which are not copied over by default).

The copy_project() method takes the following parameters, all of which are optional:

  • Copy_datasets: when set to True, the datasets from the original Project will be copied over and new tasks will be created from them.

  • Copy_collaborators: when set to True, the collaborators from the original Project will be copied over with their existing roles.

  • Copy_models: when set to True, the models and their training data from the original Project will be copied over.

The parameters above are set to False by default, which means that they don’t need to be included if a given feature shouldn’t be copied to the new Project.

The copy_project() method returns the <project_hash> of the new project.

If collaborators are not copied, reviewer and label mapping settings are not copied over either.
The project hash can be found within the URL once a project has been selected:

app.encord.com/projects/view/<project_hash>/summary

The sample code below demonstrates how to copy a Project in the most simple way.

The sample code below demonstrates how to copy a project in a more advanced way.