yoda/workspace.py
def list(self):
        """List all available workspaces."""
        ws_list = {}

        for key, value in self.config["workspaces"].items():
            ws_list[key] = dict({"name": key}, **value)

        return ws_list
def list(self):
        ws_list = {}

        for key, value in self.config["workspaces"].items():
            ws_list[key] = dict({"name": key}, **value)

        return ws_list
def list ( self ) : ws_list = { } for key , value in self . config [ "workspaces" ] . items ( ) : ws_list [ key ] = dict ( { "name" : key } , * * value ) return ws_list
List all available workspaces.
List all available workspaces .