863af050906a32f7c26d104f5236fb52d14299e6,tests/integration_tests/common.py,,prepare_config,#Any#,24

Before Change


        }
    })

    if not os.path.isdir(config["interface"]["datastore"]["storage_dir"]):
        os.makedirs(config["interface"]["datastore"]["storage_dir"])
    
    if not os.path.isdir(config["interface"]["mindsdb_native"]["storage_dir"]):

After Change


        config._config["integrations"][key]["enabled"] = key == "default_mariadb"

    TEMP_DIR = pathlib.Path(__file__).parent.absolute().joinpath("../temp/").resolve()
    TEMP_DIR.mkdir(parents=True, exist_ok=True)

    config.merge({
        "interface": {
            "datastore": {
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: mindsdb/mindsdb
Commit Name: 863af050906a32f7c26d104f5236fb52d14299e6
Time: 2020-07-03
Author: stpmax@yandex.ru
File Name: tests/integration_tests/common.py
Class Name:
Method Name: prepare_config


Project Name: matplotlib/matplotlib
Commit Name: 52136a7dda72978004f6af8e90e9ebe7596c27b8
Time: 2019-11-26
Author: anntzer.lee@gmail.com
File Name: examples/misc/image_thumbnail_sgskip.py
Class Name:
Method Name:


Project Name: PavlosMelissinos/enet-keras
Commit Name: 28e7817f3ec42a59054a772f80a5782812a02448
Time: 2019-12-17
Author: PavlosMelissinos@users.noreply.github.com
File Name: src/data/utils.py
Class Name:
Method Name: ensure_dir