Virtual Folder Functions

class ai.backend.client.vfolder.VFolder(name)[source]
session = None

The client session instance that this function class is bound to.

classmethod await create(name, host=None, group=None)[source]
classmethod await delete_by_id(oid)[source]
classmethod await list(list_all=False)[source]
classmethod await list_hosts()[source]
classmethod await list_all_hosts()[source]
classmethod await list_allowed_types()[source]
await info()[source]
await delete()[source]
await rename(new_name)[source]
await upload(files, basedir=None, show_progress=False)[source]
await mkdir(path)[source]
await delete_files(files, recursive=False)[source]
await download(files, show_progress=False)[source]
await list_files(path='.')[source]
await invite(perm, emails)[source]
classmethod await invitations()[source]
classmethod await accept_invitation(inv_id)[source]
classmethod await delete_invitation(inv_id)[source]
classmethod await get_fstab_contents(agent_id=None)[source]
classmethod await list_mounts()[source]
classmethod await mount_host(name, fs_location, options=None, edit_fstab=False)[source]
classmethod await umount_host(name, edit_fstab=False)[source]