[core] Exclude edges from InputNode nodes in dfsToProcess

If the edges of a node to submit include an `InputNode` (which cannot
be computed), then that node should be excluded from the list of edges
to process as if that node had already been computed.

This allows to submit any type of graph involving `InputNode` to the farm.
This commit is contained in:
Candice Bentéjac 2024-07-02 12:18:35 +02:00
parent 2ee4e2e2b2
commit 5b07f9a393
2 changed files with 3 additions and 1 deletions

View file

@ -811,6 +811,8 @@ class BaseNode(BaseObject):
return True
def _isComputed(self):
if not self.isComputable:
return True
return self.hasStatus(Status.SUCCESS)
def _isComputable(self):