Root class#

A root is a remote repository that can be subscribed to.

Root.__init__(client, name)

Represents a remote repository that can be subscribed to.

Root.__getitem__(path)

Retrieves a file or dataset from the root.

Root.__contains__(path)

Checks if a path exists in the root.

Root.__iter__()

Iterates over the files and datasets in the root.

Root.__len__()

Returns the number of files in the root.

Root.file_list

Retrieves a list of files in this root.

Root.upload(localpath[, remotepath])

Uploads a local file to this root.