Methods
get
get
delete
delete
list
list
List data directories with optional filtering by FQN, ML Repo, or name.
Parameters
Fully qualified name to filter data directories by
ID of the ML Repo to filter data directories by
Name of the data directory to filter by
Maximum number of data directories to return
Number of data directories to skip for pagination
Returns
SyncPager[DataDirectory, ListDataDirectoriesResponse]
SyncPager[DataDirectory, ListDataDirectoriesResponse]
🔗 ListDataDirectoriesResponseList of data directories matching the query with pagination information
Usage
create_or_update
create_or_update
Create or update a data directory.
Parameters
🔗 DataDirectoryManifestManifest containing metadata for the data directory to apply
Returns
🔗 GetDataDirectoryResponseThe created or updated data directory
Usage
list_files
list_files
List files and directories in a data directory.
Parameters
ID of the artifact version to list files from
Relative path within the artifact version to list files from (defaults to root)
Maximum number of files/directories to return
Token to retrieve the next page of results
Returns
🔗 ListFilesResponseList of files and directories with pagination information
Usage
delete_files
delete_files
Delete files from a data directory.
Parameters
ID of the artifact version to delete files from
List of relative file paths within the artifact version to delete
Returns
🔗 EmptyResponseEmpty response indicating successful deletion
Usage
get_signed_urls
get_signed_urls
Get pre-signed URLs for reading or writing files in a data directory.
Parameters
ID of the artifact version to get signed URLs for
List of relative file paths within the artifact version to get signed URLs for
🔗 OperationOperation type for the signed URL (e.g., ‘READ’ or ‘WRITE’)
Returns
🔗 GetSignedUrLsResponseList of signed URLs for the requested file paths
Usage
create_multipart_upload
create_multipart_upload
Create a multipart upload for large files in a data directory.
Parameters
ID of the artifact version to upload files to
Relative path within the artifact version where the file should be uploaded
Number of parts to split the upload into for multipart upload
Returns
🔗 MultiPartUploadResponseMultipart upload information including signed URLs for each part