def __init__(self, *args, **kwargs):
        super(Group, self).__init__(*args, **kwargs)

        field = self._meta.get_field('permissions')
        field._choices = lazy(get_permission_choices, list)()
        field.item_field_type._choices = lazy(get_permission_choices, list)()
Validate the provided API key.
dataset/ETHPy150Open potatolondon/djangae/djangae/contrib/gauth/datastore/models.py/Group.__init__--crossover with--dataset/ETHPy150Open StackStorm/st2/st2common/st2common/util/auth.py/validate_api_key