angelos.portfolio.statement.accept

Creating new entity portfolio for Person, Ministry and Church including Keys and PrivateKeys documents.

class angelos.portfolio.statement.accept.AcceptRevokedStatement

Bases: angelos.portfolio.statement.accept.AcceptStatementMixin, angelos.common.policy.PolicyValidator

Validate a statement.

validate(*args, **kwargs)

Wrapping the callable.

Parameters
  • self (class) – Method owner

  • *args – Any arguments

  • **kwargs – Any keyword arguments

Returns

The result from the callable

class angelos.portfolio.statement.accept.AcceptStatementMixin

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

Logic for validating a statement for a Portfolio.

apply() → bool

Perform logic to validate a statement.

class angelos.portfolio.statement.accept.AcceptTrustedStatement

Bases: angelos.portfolio.statement.accept.AcceptStatementMixin, angelos.common.policy.PolicyValidator

Validate a trusted statement.

validate(*args, **kwargs)

Wrapping the callable.

Parameters
  • self (class) – Method owner

  • *args – Any arguments

  • **kwargs – Any keyword arguments

Returns

The result from the callable

class angelos.portfolio.statement.accept.AcceptVerifiedStatement

Bases: angelos.portfolio.statement.accept.AcceptStatementMixin, angelos.common.policy.PolicyValidator

Validate a statement.

validate(*args, **kwargs)

Wrapping the callable.

Parameters
  • self (class) – Method owner

  • *args – Any arguments

  • **kwargs – Any keyword arguments

Returns

The result from the callable