faculty.datasets.rm(project_path, project_id=None, recursive=False, object_client=None)

Remove a file or directory from the project directory.


The path in the project datasets to remove.

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 deleting directories like a recursive delete 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.