angelos.portfolio.domain.update

Updating a domain document for a portfolio.

exception angelos.portfolio.domain.update.DomainUpdateException

Bases: RuntimeError

Problems with the process that is not policy.

DOMAIN_NOT_IN_PORTFOLIO = ('Domain document not present in portfolio.', 100)
class angelos.portfolio.domain.update.UpdateDomain

Bases: angelos.portfolio.policy.UpdatablePolicy, angelos.common.policy.PolicyPerformer, angelos.common.policy.PolicyMixin

Update domain document for private portfolio.

apply() → bool

Perform logic to update a domain 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