woger.manager module¶
-
class
woger.manager.
WorkspaceManager
(root, path_structure_cls=None, data_cls=None, workspace_cls=None)[source]¶ Bases:
object
Manages workspaces
Allows you to - create workspaces - load workspaces from directory - manage current, target and latest workspaces - search for workspaces with finished actions
Examples
-
create
(ws_id) → woger.workspace.Workspace[source]¶ Creates a Workspace
Parameters: ws_id (str or int) – Workspace id
-
current_ws_id
¶ Returns current workspace id
-
find_latest_finished
(action) → typing.Union[woger.workspace.Workspace, NoneType][source]¶ Searches for latest workspace with finished action action
-
target_ws_id
¶ Returns target workspace id
-