angelos.portfolio.node.update¶
Updating a node document for a portfolio.
-
exception
angelos.portfolio.node.update.NodeUpdateException¶ Bases:
RuntimeErrorProblems with the process that is not policy.
-
DOMAIN_NOT_IN_PORTFOLIO= ('Domain not present in portfolio.', 101)¶
-
NODE_NOT_IN_PORTFOLIO= ('Node document not present in portfolio.', 100)¶
-
-
class
angelos.portfolio.node.update.UpdateNode¶ Bases:
angelos.portfolio.policy.UpdatablePolicy,angelos.portfolio.node.policy.NodePolicy,angelos.common.policy.PolicyPerformer,angelos.common.policy.PolicyMixinUpdate node document for private portfolio.
-
apply() → bool¶ Perform logic to update a node with portfolio.
-
perform(*args, **kwargs)¶ Wrapping the callable.
- Parameters
self (class) – Method owner
*args – Any arguments
**kwargs – Any keyword arguments
- Returns
The result from the callable
-