Loading tools/builder/builder.py +4 −2 Original line number Diff line number Diff line Loading @@ -26,9 +26,11 @@ import requests from yaml import full_load, YAMLError from jinja2 import Environment, FileSystemLoader, TemplateNotFound # Set the Path and import the config module sys.path.insert(0, "./") # Import the Config module and set the path to run the script from root project # /!\ This instruction is only working if you run this script from the root of the project from tools.utils.utils import Config sys.path.insert(0, "./") utils = Config() def get_conf(job_path): Loading tools/job_customs/job_customs.py +3 −2 Original line number Diff line number Diff line Loading @@ -7,9 +7,10 @@ import yaml import argparse import re # Set the Path and import the config module sys.path.insert(0, "./") # Import the Config module and set the path to run the script from root project # /!\ This instruction is only working if you run this script from the root of the project from tools.utils.utils import Config sys.path.insert(0, "./") utils = Config() Loading tools/job_image/job_image.py +3 −2 Original line number Diff line number Diff line Loading @@ -6,9 +6,10 @@ import logging import yaml import argparse # Set the Path and import the config module sys.path.insert(0, "./") # Import the Config module and set the path to run the script from root project # /!\ This instruction is only working if you run this script from the root of the project from tools.utils.utils import Config sys.path.insert(0, "./") utils = Config() def argparse_setup(): Loading tools/job_labels/job_labels.py +3 −2 Original line number Diff line number Diff line Loading @@ -9,9 +9,10 @@ from urllib.parse import quote, urlencode from os import getenv, listdir import requests # Set the Path and import the config module sys.path.insert(0, "./") # Import the Config module and set the path to run the script from root project # /!\ This instruction is only working if you run this script from the root of the project from tools.utils.utils import Config sys.path.insert(0, "./") utils = Config() Loading tools/job_structure/job_structure.py +3 −2 Original line number Diff line number Diff line Loading @@ -5,9 +5,10 @@ import logging import sys import yaml # Set the Path and import the config module sys.path.insert(0, "./") # Import the Config module and set the path to run the script from root project # /!\ This instruction is only working if you run this script from the root of the project from tools.utils.utils import Config sys.path.insert(0, "./") utils = Config() def check_job_yaml(job): Loading Loading
tools/builder/builder.py +4 −2 Original line number Diff line number Diff line Loading @@ -26,9 +26,11 @@ import requests from yaml import full_load, YAMLError from jinja2 import Environment, FileSystemLoader, TemplateNotFound # Set the Path and import the config module sys.path.insert(0, "./") # Import the Config module and set the path to run the script from root project # /!\ This instruction is only working if you run this script from the root of the project from tools.utils.utils import Config sys.path.insert(0, "./") utils = Config() def get_conf(job_path): Loading
tools/job_customs/job_customs.py +3 −2 Original line number Diff line number Diff line Loading @@ -7,9 +7,10 @@ import yaml import argparse import re # Set the Path and import the config module sys.path.insert(0, "./") # Import the Config module and set the path to run the script from root project # /!\ This instruction is only working if you run this script from the root of the project from tools.utils.utils import Config sys.path.insert(0, "./") utils = Config() Loading
tools/job_image/job_image.py +3 −2 Original line number Diff line number Diff line Loading @@ -6,9 +6,10 @@ import logging import yaml import argparse # Set the Path and import the config module sys.path.insert(0, "./") # Import the Config module and set the path to run the script from root project # /!\ This instruction is only working if you run this script from the root of the project from tools.utils.utils import Config sys.path.insert(0, "./") utils = Config() def argparse_setup(): Loading
tools/job_labels/job_labels.py +3 −2 Original line number Diff line number Diff line Loading @@ -9,9 +9,10 @@ from urllib.parse import quote, urlencode from os import getenv, listdir import requests # Set the Path and import the config module sys.path.insert(0, "./") # Import the Config module and set the path to run the script from root project # /!\ This instruction is only working if you run this script from the root of the project from tools.utils.utils import Config sys.path.insert(0, "./") utils = Config() Loading
tools/job_structure/job_structure.py +3 −2 Original line number Diff line number Diff line Loading @@ -5,9 +5,10 @@ import logging import sys import yaml # Set the Path and import the config module sys.path.insert(0, "./") # Import the Config module and set the path to run the script from root project # /!\ This instruction is only working if you run this script from the root of the project from tools.utils.utils import Config sys.path.insert(0, "./") utils = Config() def check_job_yaml(job): Loading