ForceSuccess
dendron.decorators.force_success.ForceSuccess
Bases: DecoratorNode
A Force Success node calls the tick() method of its child,
ignores the result, and always returns a status of SUCCESS.
May be useful for debugging.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
name
|
`str`
|
The given name of this node. |
required |
child
|
`dendron.tree_node.TreeNode`
|
An optional child node. If |
None
|
Source code in src/dendron/decorators/force_success.py
tick()
Instruct the child node to execute its tick() method, ignore
the result, and return SUCCESS.