File Container is a storage solution in the Datazone platform that allows you to manage and store files. You can create, update, and delete file containers, and use them to store data for your pipelines and notebooks.
FileContainerClient
in notebooks and pipelines to interact with file containers.
FileContainerClient
provides a convenient interface to interact with file containers using S3-compatible storage. It handles authentication and bucket management automatically.
You can access the FileContainerClient
in your pipelines and notebooks like this:
list_objects
prefix
(str): Optional prefix to filter objects by pathlist
: List of object metadata dictionaries. Example:get_object
key
(str): The key/path of the object to retrievebytes
: The object’s raw dataput_object
key
(str): The key/path where the object will be storeddata
(bytes): The data to storedelete_object
key
(str): The key/path of the object to delete