Skip to content

Debug

blackline.execution.debug

Debug

Source code in BAR /opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/blackline/execution/debug.py
class Debug:
    def __init__(self, path: Path, profile: str):
        self.path = path
        self.profile = profile
        self.project = ProjectConfig.parse_config_file(
            path=Path(path, PROJECT_CONFIG_FILE)
        )

        self.stores = DataStores.parse_folder(path=self.project.adapters_path)

    def debug(self):
        return {
            store.name: store.profiles[self.profile].adapter.test_connection()
            for store in self.stores.stores
        }

path = path instance-attribute

profile = profile instance-attribute

project = ProjectConfig.parse_config_file(path=Path(path, PROJECT_CONFIG_FILE)) instance-attribute

stores = DataStores.parse_folder(path=self.project.adapters_path) instance-attribute

__init__(path, profile)

Source code in /opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/blackline/execution/debug.py
def __init__(self, path: Path, profile: str):
    self.path = path
    self.profile = profile
    self.project = ProjectConfig.parse_config_file(
        path=Path(path, PROJECT_CONFIG_FILE)
    )

    self.stores = DataStores.parse_folder(path=self.project.adapters_path)

debug()

Source code in /opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/blackline/execution/debug.py
def debug(self):
    return {
        store.name: store.profiles[self.profile].adapter.test_connection()
        for store in self.stores.stores
    }