예제 #1
0
    def __init__(self, cat: Catalog, work_space: str):
        '''

        @param cat: cat 实例
        @param work_space:  工作区名称
        '''
        self.cat = cat
        self.work_space = Workspace(cat, work_space)
예제 #2
0
 def get_default_workspace(self):
     return Workspace(self, "default")
예제 #3
0
 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)
예제 #4
0
 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)