def __init__(
        self,
        name: str,
        label: str,
        format_: str = constants.DATETIME_FORMAT_MOMENT,
        null: bool = True,
        placeholder: str = "",
    ):
        """
        Datetime filter
        :param name:
        :param label:
        :param format_: the format of moment.js
        """
        super().__init__(
            name + "__range", label, null=null, format=format_, placeholder=placeholder
        )

        Datetime filter
        :param name:
        :param label:
        :param format_: the format of moment.js
        
fastapi_admin/widgets/filters.py