Actions

Intro

Hydra actions.

Module docs

class lerna.actions.Action(_optional=False, _description=None, **properties)[source]

Bases: req.schema.schema.Schema

class lerna.actions.AddContactNoteAction(_optional=False, _description=None, **properties)[source]

Bases: lerna.actions._BaseAction

An action for adding notes to individual contacts.

class lerna.actions.AddTagAction(_optional=False, _description=None, **properties)[source]

Bases: lerna.actions._BaseAction

An action for tagging contacts.

class lerna.actions.CopyContactAction(_optional=False, _description=None, **properties)[source]

Bases: lerna.actions._BaseAction

An action for copying contacts from one list to another.

class lerna.actions.DeleteContactAction(_optional=False, _description=None, **properties)[source]

Bases: lerna.actions._BaseAction

An action for deleting contacts from a collection.

class lerna.actions.MoveContactAction(_optional=False, _description=None, **properties)[source]

Bases: lerna.actions._BaseAction

An action for moving contacts from one list to another.

class lerna.actions.PurgeContactAction(_optional=False, _description=None, **properties)[source]

Bases: lerna.actions._BaseAction

An action for deleteing contacts from an account. This removes contacts across all collections.

class lerna.actions.RemoveTagAction(_optional=False, _description=None, **properties)[source]

Bases: lerna.actions._BaseAction

An action for untagging contacts.

class lerna.actions.SubscribeContactAction(_optional=False, _description=None, **properties)[source]

Bases: lerna.actions._BaseAction

An action for marking contacts as “subscribed”. Does _not_ create new contacts. This is the reverse of UnsubscribeContactAction.

class lerna.actions.UnsubscribeContactAction(_optional=False, _description=None, **properties)[source]

Bases: lerna.actions._BaseAction

An action for marking contacts as “unsubscribed”. Does _not_ remove contacts.

class lerna.actions.UpdateContactMergeFieldsAction(_optional=False, _description=None, **properties)[source]

Bases: lerna.actions._BaseAction

An action for updating a contact’s merge fields.