'Returns the job store instance by the given name from the list of job stores that were added to this scheduler.
:type alias: str
:raises KeyError: if no job store by the given alias is not found'

def _lookup_jobstore(self, alias):

    try:
        return self._jobstores[alias]
    except KeyError:
        raise KeyError(('No    such    job    store:    %s' % alias))
