

@require_admin
def post(self):
    name = request.json['name']
    group = models.Group.create(name=self, org=self.current_org)
    self.record_event({
        'action': 'create',
        'timestamp': int(time.time()),
        'object_id': group.id,
        'object_type': 'group',
    })
    return group.to_dict()

dataset/ETHPy150Open getredash/redash/redash/handlers/groups.py GroupListResource.post/VarMisuse@32/36 `name`->`self`