def get_default_options(self) -> dict:
        """Get a dictionary of default options as used with run.

        Returns
        -------
        A dictionary containing option keys of the form '--beat_interval'.
        Their values are boolean if the option is a flag, otherwise None or
        its default value.

        """
        default_options = {}
        for option in self.all_cli_options:
            if isinstance(option, CLIOption):
                if option.is_flag:
                    default_value = False
                else:
                    default_value = None
            else:  # legacy, should be removed later on.
                if option.arg is None:
                    default_value = False
                else:
                    default_value = None
            default_options[option.get_flag()] = default_value

        return default_options
Get a dictionary of default options as used with run.

        Returns
        -------
        A dictionary containing option keys of the form '--beat_interval'.
        Their values are boolean if the option is a flag, otherwise None or
        its default value.

        
sacred/experiment.py