- faculty.datasets.cp(source_path, destination_path, project_id=None, recursive=False, object_client=None)¶
Copy a file or directory within a project’s datasets.
The source path in the project datasets to copy.
The destination path in the project datasets.
- project_idstr, optional
The project to get files from. You need to have access to this project for it to work. Defaults to the project set by FACULTY_PROJECT_ID in your environment.
- recursivebool, optional
If True, allows copying directories like a recursive copy in a filesystem. By default the action is not recursive.
- object_clientfaculty.clients.object.ObjectClient, optional
Advanced - can be used to benefit from caching in chain interactions with datasets.