Skip to content

Commit

Permalink
Merge pull request #75 from qua-platform/graph_active_node_name
Browse files Browse the repository at this point in the history
Graph active node name
  • Loading branch information
nulinspiratie authored Dec 18, 2024
2 parents cf6494d + bbbb1e4 commit 9c26339
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions qualibrate/qualibration_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,14 @@ def completed_count(self) -> int:
)
)

@property
def active_node_name(self) -> Optional[str]:
return (
self._orchestrator.active_node_name
if self._orchestrator is not None
else None
)

def _get_all_nodes_parameters(
self, nodes_parameters: Mapping[str, Any]
) -> Mapping[str, Any]:
Expand Down

0 comments on commit 9c26339

Please sign in to comment.