angelos.portfolio.statement.remove

Doc string

class angelos.portfolio.statement.remove.RemoveRevokedStatement

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

Remove revoked statement for portfolio.

apply() → bool

Perform logic to remove a revoked statement.

perform(*args, **kwargs)

Wrapping the callable.

Parameters
  • self (class) – Method owner

  • *args – Any arguments

  • **kwargs – Any keyword arguments

Returns

The result from the callable

exception angelos.portfolio.statement.remove.StatementRemoveException

Bases: RuntimeError

WRONG_ISSUER = ('Revoked is not issued by issuer.', 100)
WRONG_TYPE = ('Revoked is not trusted or verified document type.', 101)