def __init__(
        self, multi: bool = False, required: bool = False, *args: Any, **kwargs: Any
    ):
        """
        :arg bool multi: specifies whether field can contain array of values
        :arg bool required: specifies whether field is required
        """
        self._multi = multi
        self._required = required
        super().__init__(*args, **kwargs)

        :arg bool multi: specifies whether field can contain array of values
        :arg bool required: specifies whether field is required
        
elasticsearch/dsl/field.py