Skip to content

Task ID missing from Batch JSON file in latest version #2177

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

Open
tomflexcompute opened this issue Jan 17, 2025 · 0 comments
Open

Task ID missing from Batch JSON file in latest version #2177

tomflexcompute opened this issue Jan 17, 2025 · 0 comments
Assignees
Labels
Bug something isnt working

Comments

@tomflexcompute
Copy link
Contributor

In previous versions (e.g., 2.6.3), the JSON file generated from a Batch object contained the task_id information. However, in the latest version, this information is no longer present in the JSON file.

Steps to Reproduce:
Generate a Batch object and save it to a JSON file using b.to_json("fas.json").
Open the saved JSON file and look for task_id information.
Load the JSON file back using Batch.from_json("fas.json") and access the task_id via j.jobs["a"].task_id.

Observed Behavior:
The task_id is not present in the JSON file.
When the JSON file is loaded back, a task_id can be accessed, but it appears to be different from the original task_id.

Expected Behavior:
The task_id should be included in the JSON file for consistency and usability.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug something isnt working
Projects
None yet
Development

No branches or pull requests

3 participants