def METHOD_NAME(self):
    """Convert config to a pickled blob"""
    config = dict(self._config)
    for key in config.get("_save_config_ignore", ()):
        config.pop(key)
    return pickle.dumps(config, protocol=2)