@classmethod
    def widget_kwargs_for_field(self, field_name):
        if self._meta.widgets:
            return self._meta.widgets.get(field_name, {})
        return {}
Returns widget kwargs for given field_name.
dataset/ETHPy150Open django-import-export/django-import-export/import_export/resources.py/ModelResource.widget_kwargs_for_field