def __init__(self, *args, **kwargs):
self.model = kwargs.pop('<STR_LIT>', self.model)<EOL>self.queryset = kwargs.pop('<STR_LIT>', self.queryset)<EOL>self.search_fields = kwargs.pop('<STR_LIT>', self.search_fields)<EOL>self.max_results = kwargs.pop('<STR_LIT>', self.max_results)<EOL>defaults = {'<STR_LIT>': '<STR_LIT>'}<EOL>defaults.update(kwargs)<EOL>super(ModelSelect2Mixin, self).__init__(*args, **defaults)<EOL>
Overwrite class parameters if passed as keyword arguments.

Args:
    model (django.db.models.Model): Model to select choices from.
    queryset (django.db.models.query.QuerySet): QuerySet to select choices from.
    search_fields (list): List of model lookup strings.
    max_results (int): Max. JsonResponse view page size.