diff --git a/src/aiida/engine/processes/calcjobs/manager.py b/src/aiida/engine/processes/calcjobs/manager.py index 75b9bb6ab1..700f166826 100644 --- a/src/aiida/engine/processes/calcjobs/manager.py +++ b/src/aiida/engine/processes/calcjobs/manager.py @@ -114,7 +114,7 @@ async def _get_jobs_from_scheduler(self) -> Dict[Hashable, 'JobInfo']: self.logger.info(f'AuthInfo<{self._authinfo.pk}>: successfully retrieved status of active jobs') for job_id, job_info in scheduler_response.items(): - jobs_cache[job_id] = job_info + jobs_cache[str(job_id)] = job_info return jobs_cache