def _handle_submit(self, *args):
        """The SUBMIT handler"""
        job = args[1]
        create_id = job.job_id is None
        job_id = self._next_id() if create_id else job.job_id
        job.job_id = job_id
        job.stdout = self._resolve_log(job.id, job.stdout)
        job.stderr = self._resolve_log(job.id, job.stderr)
        self.queued[job_id] = job

        # update children
        for d in job.dependencies:
            if d in self.queued:
                self.queued[d].children.append(job_id)
            if self.running in d:
                self.running[d].children.append(job_id)
        self.log.info("Master | Queue new job %s", job_id)
        if create_id:
            self.response.put(job_id)
        if self.slots_available >= 1:
            self.schedule()
        return True
dataset/ETHPy150Open thasso/pyjip/jip/grids.py/_GridMaster._handle_submit/swapped operands of `in`