webknossos.dataset
¶
RemoteFolder
¶
This class is used to access and edit metadata of a folder on the webknossos server.
allowed_teams
property
writable
¶
allowed_teams: tuple[Team, ...]
Teams that are allowed to access this folder. Controls which teams have read access to view and use this folder, as well as its datasets. Changes are immediately synchronized with WEBKNOSSOS.
Returns:
-
tuple[Team, ...]–tuple[Team, ...]: Teams currently having access
name
property
writable
¶
name: str
The name for the folder in the WEBKNOSSOS interface. Changes are immediately synchronized with WEBKNOSSOS.
parent
property
writable
¶
parent: RemoteFolder | None
The parent folder of the folder in the WEBKNOSSOS interface.
get_by_id
classmethod
¶
get_by_id(folder_id: str) -> RemoteFolder
Returns the folder specified by the passed id.
get_by_path
classmethod
¶
get_by_path(path: str) -> RemoteFolder
Returns the folder specified by the passed path. Separate multiple folder names with a slash.
get_root
classmethod
¶
get_root() -> RemoteFolder
Returns the root folder of the current organization.
get_subfolders
¶
get_subfolders() -> tuple[RemoteFolder, ...]
Returns all subfolders in this folder.
move_to
¶
move_to(new_parent: RemoteFolder) -> RemoteFolder
Deprecated. Use RemoteFolder.parent instead.
Move the folder to a new parent folder.
This method returns a new RemoteFolder instance representing the moved folder.
The original RemoteFolder object is not modified, so you should use the returned value.
Parameters:
-
new_parent(RemoteFolder) –The new parent folder.
Returns:
-
RemoteFolder–A new
RemoteFolderinstance in the new location.
- Get Help
- Community Forums
- Email Support