@any_form_field.register(forms.NullBooleanField)
def null_boolean_field_data(field, **kwargs):
    return random.choice(['None', 'True', 'False'])
Return random value for NullBooleanField
dataset/ETHPy150Open kmmbvnr/django-any/django_any/forms.py/null_boolean_field_data