l.s.i.i.a.AccountStatusChoice(Choice) : class documentation

Part of lp.services.identity.interfaces.account View In Hierarchy

A valid status and transition.
Method constraint See IField.
Method _validate See IField.
def constraint(self, value):
See IField.
def _validate(self, value):
See IField.

Ensure the value is a valid transition for current AccountStatus.

RaisesAccountStatusErrorWhen self.constraint() returns False.
API Documentation for Launchpad, generated by pydoctor at 2019-05-20 00:00:04.