def get_job(self, job_id: str, conn=None) -> Optional[Job]:
        """Returns the job with the given ID."""
        query = self._jobs_select(self._jobs).where(self._jobs.c.id == job_id)
        results = list(self.db.execute(query, conn=conn))
        if not results:
            return None
        return self._parse_job(results[0])
Returns the job with the given ID.
src/datachain/data_storage/metastore.py