Skip to content

webknossos.dataset

TransferMode

Bases: Enum

The transfer mode determines how mags or attachments are transferred to the remote or local storage.

COPY class-attribute instance-attribute

COPY = 'copy'

HTTP class-attribute instance-attribute

HTTP = 'http'
MOVE_AND_SYMLINK = 'move+symlink'
SYMLINK = 'symlink'

copy staticmethod

copy(
    src_path: UPath,
    dst_path: UPath,
    progress_desc_label: str,
) -> None
move_and_symlink(src_path: UPath, dst_path: UPath) -> None
symlink(src_path: UPath, dst_path: UPath) -> None

transfer

transfer(
    src_path: UPath,
    dst_path: UPath,
    progress_desc_label: str,
) -> None