w.provider_files: Provider Files¶
- class databricks.sdk.service.marketplace.ProviderFilesAPI¶
Marketplace offers a set of file APIs for various purposes such as preview notebooks and provider icons.
- create(file_parent: FileParent, marketplace_file_type: MarketplaceFileType, mime_type: str [, display_name: Optional[str]]) CreateFileResponse¶
Create a file. Currently, only provider icons and attached notebooks are supported.
- Parameters:
file_parent –
FileParentmarketplace_file_type –
MarketplaceFileTypemime_type – str
display_name – str (optional)
- Returns:
- delete(file_id: str)¶
Delete a file
- Parameters:
file_id – str
- get(file_id: str) GetFileResponse¶
Get a file
- Parameters:
file_id – str
- Returns:
- list(file_parent: FileParent [, page_size: Optional[int], page_token: Optional[str]]) Iterator[FileInfo]¶
List files attached to a parent entity.
- Parameters:
file_parent –
FileParentpage_size – int (optional)
page_token – str (optional)
- Returns:
Iterator over
FileInfo