def __init__(self, cat: Catalog, work_space: str): ''' @param cat: cat 实例 @param work_space: 工作区名称 ''' self.cat = cat self.work_space = Workspace(cat, work_space)
def get_default_workspace(self): return Workspace(self, "default")
def get_default_workspace(self): ws = Workspace(self, "default") # must fetch and resolve the 'real' workspace from the response ws.fetch() return workspace_from_index(self, ws.dom)
def get_default_workspace(self): ws = Workspace(self, "default") # must fetch and resolve the 'real' workspace from the response ws.fetch() return workspace_from_index(self, ws.dom)