code: def get_import_data_kwargs(self, request, *args, **kwargs):
          
          form = kwargs.get('form')
          if form:
              kwargs.pop('form')
              return kwargs
          return {}
docs: Prepare kwargs for import_data.