faculty.datasets.put

faculty.datasets.put(local_path, project_path, project_id=None, object_client=None)

Copy from the local filesystem to a project’s datasets.

Parameters
local_pathstr or os.PathLike

The source path in the local filesystem to copy.

project_pathstr

The destination path in the project directory.

project_idstr, optional

The project to put files in. You need to have access to this project for it to work. Defaults to the project set by FACULTY_PROJECT_ID in your environment.

object_clientfaculty.clients.object.ObjectClient, optional

Advanced - can be used to benefit from caching in chain interactions with datasets.