angelos.portfolio.network.update¶
Updating an entity portfolio for Person, Ministry and Church documents.
-
exception
angelos.portfolio.network.update.NetworkUpdateException¶ Bases:
RuntimeErrorProblems with the process that is not policy.
-
DOMAIN_NOT_PRESENT= ('Domain necessary to update network', 102)¶
-
NETWORK_NOT_IN_PORTFOLIO= ('Network document not present in portfolio.', 100)¶
-
NODES_NOT_PRESENT= ('At least one node necessary to update network', 101)¶
-
-
class
angelos.portfolio.network.update.UpdateNetwork¶ Bases:
angelos.portfolio.policy.UpdatablePolicy,angelos.portfolio.node.policy.NodePolicy,angelos.common.policy.PolicyPerformer,angelos.common.policy.PolicyMixinUpdate network document for private portfolio.
-
apply() → bool¶ Perform logic to update a network with its new 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
-