美文网首页
kedro tutorial

kedro tutorial

作者: allenhaozi | 来源:发表于2022-09-28 12:06 被阅读0次

    kedro

    Configuration

    Configuration root

    We recommend that you keep all configuration files in the conf directory of a Kedro project. However, if you prefer, point Kedro to any other directory and change the configuration paths by setting the CONF_SOURCE variable in src/<package_name>/settings.py as follows:

    # Directory that holds configuration.
    CONF_SOURCE = "conf"
    

    caution

    • If any two configuration files located inside the same environment path (conf/base/ or conf/local/ in this example) contain the same top-level key, load_config will raise a ValueError indicating that the duplicates are not allowed.

    • If two configuration files have duplicate top-level keys but are in different environment paths (one in conf/base/, another in conf/local/, for example) then the last loaded path (conf/local/ in this case) takes precedence and overrides that key value. ConfigLoader.get will not raise any errors - however, a DEBUG level log message will be emitted with information on the overridden keys.

    相关文章

      网友评论

          本文标题:kedro tutorial

          本文链接:https://www.haomeiwen.com/subject/gkxkartx.html