
from ..filters import *
from ..widgets import BooleanWidget


class BooleanFilter(BooleanFilter):
    def __init__(self, *args, **kwargs):
        kwargs.setdefault('widget', BooleanWidget)

        super().__init__(*args, **kwargs)


from ..filters import BooleanFilter as _BooleanFilter
from ..filters import *
from ..widgets import BooleanWidget


class BooleanFilter(_BooleanFilter):
    def __init__(self, *args, **kwargs):
        kwargs.setdefault('widget', BooleanWidget)

        super().__init__(*args, **kwargs)

Fix mypy error: circular inheritance
Fix mypy error: circular inheritance

Closes #832, #833
