pub(crate) fn blank(log: Option<slog::Logger>) -> Recipe {
        Recipe {
            expressions: HashMap::default(),
            expression_order: Vec::default(),
            aliases: HashMap::default(),
            version: 0,
            prior: None,
            inc: match log {
                None => Some(SqlIncorporator::default()),
                Some(ref log) => Some(SqlIncorporator::new(log.clone())),
            },
            log: match log {
                None => slog::Logger::root(slog::Discard, o!()),
                Some(log) => log,
            },
            security_config: None,
        }
    }
/// Creates a blank recipe. This is useful for bootstrapping, e.g., in interactive
/// settings, and for temporary recipes.
// crate viz for tests
Creates a blank recipe. This is useful for bootstrapping, e.g., in interactive
settings, and for temporary recipes.
crate viz for tests
Creates a blank recipe . This is useful for bootstrapping e . g . in interactive settings and for temporary recipes . crate viz for tests
pub(crate) fn blank(log: Option<slog::Logger>) -> Recipe {
        Recipe {
            expressions: HashMap::default(),
            expression_order: Vec::default(),
            aliases: HashMap::default(),
            version: 0,
            prior: None,
            inc: match log {
                None => Some(SqlIncorporator::default()),
                Some(ref log) => Some(SqlIncorporator::new(log.clone())),
            },
            log: match log {
                None => slog::Logger::root(slog::Discard, o!()),
                Some(log) => log,
            },
            security_config: None,
        }
    }
pub ( crate ) fn blank ( log : Option < slog :: Logger > ) -> Recipe { Recipe { expressions : HashMap :: default ( ) , expression_order : Vec :: default ( ) , aliases : HashMap :: default ( ) , version : 0 , prior : None , inc : match log { None => Some ( SqlIncorporator :: default ( ) ) , Some ( ref log ) => Some ( SqlIncorporator :: new ( log . clone ( ) ) ) , } , log : match log { None => slog :: Logger :: root ( slog :: Discard , o ! ( ) ) , Some ( log ) => log , } , security_config : None , } }
Creates a blank recipe.
Creates a blank recipe .
log
Option<slog::Logger>
log
Option<slog::Logger>