l.b.m.c.DBSchemaEditEmailCommand(EditEmailCommand) : class documentation

Part of lp.bugs.mail.commands View In Hierarchy

Known subclasses: lp.bugs.mail.commands.ImportanceEmailCommand, lp.bugs.mail.commands.InformationTypeEmailCommand, lp.bugs.mail.commands.StatusEmailCommand

Helper class for edit DBSchema attributes.

Subclasses should set 'dbschema' to the correct schema.

For example, if context.foo can be assigned to values in FooDBSchema, the follwing command class could be created:

class FooEmailCommand(DBSchemaEditEmailCommand):
dbschema = FooDBSchema
Method convertArguments See EmailCommand.

Inherited from EditEmailCommand:

Method execute See IEmailCommand.
Method setAttributeValue See IEmailCommand.

Inherited from EmailCommand (via EditEmailCommand):

Method __init__ Undocumented
Method __str__ See IEmailCommand.
Method _ensureNumberOfArguments Check that the number of arguments is correct.
def convertArguments(self, context):
See EmailCommand.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.