mixcoatl/admin/group.py
def update(self, name, description):
        """Updates the group name and description."""
        p = '%s/%s' % (self.PATH, str(self.group_id))
        payload = {'describeGroup': {
            'group': {'name': str(name), 'description': str(description)}}}

        return self.put(p, data=json.dumps(payload))
Updates the group name and description.
Updates the group name and description.
Updates the group name and description .
def update(self, name, description):
        p = '%s/%s' % (self.PATH, str(self.group_id))
        payload = {'describeGroup': {
            'group': {'name': str(name), 'description': str(description)}}}
        return self.put(p, data=json.dumps(payload))
def update ( self , name , description ) : p = '%s/%s' % ( self . PATH , str ( self . group_id ) ) payload = { 'describeGroup' : { 'group' : { 'name' : str ( name ) , 'description' : str ( description ) } } } return self . put ( p , data = json . dumps ( payload ) )
Updates the group name and description.
Updates the group name and description .
"""Updates the group name and description."""
self
name
description