code: def create(cls, job_id, spider, workflow, results=None,
                 logs=None, status=JobStatus.PENDING):
          
          obj = cls(
              job_id=job_id,
              spider=spider,
              workflow=workflow,
              results=results,
              logs=logs,
              status=status,
          )
          db.session.add(obj)
          return obj
docs: Create a new entry for a scheduled crawler job.