Skip to content

Commit

Permalink
Cast job_id to str to conform with type of _jobs_cache
Browse files Browse the repository at this point in the history
  • Loading branch information
unkcpz committed Jul 22, 2024
1 parent 9c26ce7 commit 5d96167
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aiida/engine/processes/calcjobs/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 5d96167

Please sign in to comment.