

def __init__(self, user, skip=None, *args, **kwargs):
    if (skip is None):
        skip = []
    super(FilterForm, self).__init__(*args, **kwargs)
    if ('name' in skip):
        del self.fields['name']
    else:
        self.fields['name'].required = False
        self.fields['name'].label = _('Name')
    if ('contact_type' in skip):
        del self.fields['contact_type']
    else:
        self.fields['contact_type'].queryset = Object.filter_permitted(user, ContactType.objects)
        self.fields['contact_type'].required = True
        kwargs.fields['contact_type'].label = _('Contact type')

dataset/ETHPy150Open treeio/treeio/treeio/identities/forms.py FilterForm.__init__/VarMisuse@154/192 `self`->`kwargs`