Module Expr Str Assign NameStore TupleLoad Str Str ClassDef bases NameLoad body Expr Str ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign SubscriptStore NameLoad Index Str NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad decorator_list decorator_list Assign NameStore NameLoad Expr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr TupleLoad NameLoad Dict Str NameLoad decorator_list Return NameLoad decorator_list ClassDef bases NameLoad body Assign NameStore Str decorator_list ClassDef bases NameLoad body Assign NameStore Str decorator_list ClassDef bases NameLoad body Assign NameStore Str decorator_list ClassDef bases NameLoad body Assign NameStore Str decorator_list ClassDef bases NameLoad body Assign NameStore Str decorator_list ClassDef bases NameLoad body Assign NameStore Str decorator_list Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad
N/A N/A 
A ``Group`` can be attached to every Node, in order to put them in categories.

Typically, you have group names like ``alpha``, ``beta`` and ``production``.
The interactive shell will show the nodes in other colours, depending on the
group they're in.

For instance.

::

    from deployer.groups import production, staging

    class N(Node):
        @production
        class Child(Node):
            pass
 N/A __all__ N/A Group set_group Group N/A object N/A N/A 
    Group to which a node belongs.
     __metaclass__ N/A type N/A __new__ N/A N/A cls name bases dct N/A N/A N/A N/A dct N/A name name N/A N/A N/A type __new__ cls name bases dct N/A N/A N/A color None N/A 
    Colour for this service/action in the shell. Right now, only the colours
    from the ``termcolor`` library are supported:

    grey, red, green, yellow, blue, magenta, cyan, white
     N/A set_group N/A N/A group N/A N/A N/A 
    Set the group for this node.

    ::

        @set_group(Staging)
        class MyNode(Node):
            pass
     group_setter N/A N/A node N/A N/A N/A N/A type N/A node __name__ N/A node N/A node_group group N/A N/A group_setter N/A Production N/A Group N/A N/A color red N/A Staging N/A Group N/A N/A color yellow N/A Beta N/A Group N/A N/A color green N/A Local N/A Group N/A N/A color green N/A Other N/A Group N/A N/A color white N/A Utility N/A Group N/A N/A color magenta N/A N/A production N/A set_group Production N/A staging N/A set_group Staging N/A beta N/A set_group Beta N/A local N/A set_group Local N/A other N/A set_group Other N/A utility N/A set_group Utility