Skip to content

Add ability to get status overview of child records#792

Merged
bennybp merged 2 commits into
mainfrom
children_stat
Nov 14, 2023
Merged

Add ability to get status overview of child records#792
bennybp merged 2 commits into
mainfrom
children_stat

Conversation

@bennybp
Copy link
Copy Markdown
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

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