Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cast job_id to str to conform with type of _jobs_cache #6543

Conversation

unkcpz
Copy link
Member

@unkcpz unkcpz commented Jul 22, 2024

fixes #6542

As @sphuber pointed out in aiidateam/aiida-hyperqueue#30 (comment), this is only a workaround. The ultimate solution should be using dataclass for JobInfo.

@unkcpz unkcpz force-pushed the fix/6542/cast-job-id-to-str-in-update-job-info branch from 780017c to ce3b1ee Compare July 22, 2024 09:12
@unkcpz unkcpz force-pushed the fix/6542/cast-job-id-to-str-in-update-job-info branch from ce3b1ee to 5d96167 Compare July 22, 2024 09:13
@unkcpz
Copy link
Member Author

unkcpz commented Jul 22, 2024

TBH, I am very confusing here. I give up on this fix can not get my head right with these types.

@unkcpz unkcpz closed this Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

job_id partially cast in to str cause wrong job state
1 participant