def to_internal_value(self, data):
        try:
            return super(UserSlugRelatedField, self).to_internal_value(data)
        except __HOLE__:
            if settings.LDAP_ENABLED:
                # Grab the ldap user and try again
                user = LDAPBackend().populate_user(data)
                if user is not None:
                    return super(UserSlugRelatedField, self).to_internal_value(data)
            # Nothing worked, just re-raise the exception
            raise
dataset/ETHPy150Open stackdio/stackdio/stackdio/core/viewsets.py/UserSlugRelatedField.to_internal_value