angelos.portfolio.statement.validate

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

class angelos.portfolio.statement.validate.ValidateRevokedStatement

Bases: angelos.portfolio.statement.validate.ValidateStatementMixin, 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.validate.ValidateStatementMixin

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.validate.ValidateTrustedStatement

Bases: angelos.portfolio.statement.validate.ValidateStatementMixin, 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.validate.ValidateVerifiedStatement

Bases: angelos.portfolio.statement.validate.ValidateStatementMixin, 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