fermilink.web.storage_helpers module¶ class fermilink.web.storage_helpers.LocalPublicStorageClient[source]¶ Bases: BaseStorageClient Chainlit storage client that persists artifacts under /public. __init__(public_root, subdir, root_path)[source]¶ Parameters: public_root (Path) subdir (str) root_path (str) async close()[source]¶ Return type: None async delete_file(object_key)[source]¶ Parameters: object_key (str) Return type: bool async get_read_url(object_key)[source]¶ Parameters: object_key (str) Return type: str async upload_file(object_key, data, mime='application/octet-stream', overwrite=True, content_disposition=None)[source]¶ Parameters: object_key (str) data (bytes | str) mime (str) overwrite (bool) content_disposition (str | None) Return type: dict