addons14/queue_job/job.py
def load(cls, env, job_uuid):
        """Read a job from the Database"""
        stored = cls.db_record_from_uuid(env, job_uuid)
        if not stored:
            raise NoSuchJobError(
                "Job %s does no longer exist in the storage." % job_uuid
            )
        return cls._load_from_db_record(stored)
Read a job from the Database
Read a job from the Database
Read a job from the Database
def load(cls, env, job_uuid):
        stored = cls.db_record_from_uuid(env, job_uuid)
        if not stored:
            raise NoSuchJobError(
                "Job %s does no longer exist in the storage." % job_uuid
            )
        return cls._load_from_db_record(stored)
def load ( cls , env , job_uuid ) : stored = cls . db_record_from_uuid ( env , job_uuid ) if not stored : raise NoSuchJobError ( "Job %s does no longer exist in the storage." % job_uuid ) return cls . _load_from_db_record ( stored )
Read a job from the Database
Read a job from the Database
"""Read a job from the Database"""
cls
env
job_uuid