otx.cli.utils.workspace#

Class modules that manage Workspace.

Classes

Workspace([work_dir, use_sub_dir])

Represents a workspace for the OTX application.

class otx.cli.utils.workspace.Workspace(work_dir: Path | str = PosixPath('/home/runner/work/training_extensions/training_extensions/docs'), use_sub_dir: bool = True)[source]#

Bases: object

Represents a workspace for the OTX application.

Parameters:
  • work_dir (Path | str | None, optional) – The path to the workspace directory. Defaults to None.

  • use_sub_dir (bool, optional) – Whether to use a subdirectory within the workspace. Defaults to True.