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

Add ability to get status overview of child records #792

Merged
merged 2 commits into from
Nov 14, 2023
Merged

Conversation

bennybp
Copy link
Contributor

@bennybp bennybp commented Nov 14, 2023

Description

This adds the ability to get the status counts of 'child' records (for example, optimizations as part of a torsiondrive or gridoptimization service). See Issue #791

It should be noted that most services generate records as needed, so the status that is returned is not indicative of progress (ie, if there is only one record remaining to be run, it is not guaranteed that that is the last remaining calculation to be run - others may be generated after that is completed).

Status can be obtained with the record.children_status property. This is available on all record types, although Singlepoint records will always return an empty dictionary.

Changelog description

Add ability to get status overview of child records

Status

  • Code base linted
  • Ready to go

@bennybp bennybp force-pushed the children_stat branch 2 times, most recently from 763741f to 4de49ff Compare November 14, 2023 19:27
@bennybp bennybp merged commit cf68252 into main Nov 14, 2023
16 of 17 checks passed
@bennybp bennybp deleted the children_stat branch November 14, 2023 20:33
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.

1 participant