@cached
    def session(self):
        sessions = self.state['sessions']
        name = self.session_name()
        if name not in sessions:
            # New session: set the address and worksheet uuid to the default (local if not specified)
            cli_config = self.config.get('cli', {})
            address = cli_config.get('default_address', 'local')
            worksheet_uuid = cli_config.get('default_worksheet_uuid', '')
            sessions[name] = {'address': address, 'worksheet_uuid': worksheet_uuid}
        return sessions[name]
Return the current session.
dataset/ETHPy150Open codalab/codalab-cli/codalab/lib/codalab_manager.py/CodaLabManager.session