MCPcopy Create free account
hub / github.com/apache/arrow / __init__

Method __init__

dev/archery/archery/docker/core.py:62–78  ·  view source on GitHub ↗
(self, config_path, dotenv_path, compose_bin,
                 using_docker=False, using_buildx=False,
                 params=None, debug=False)

Source from the content-addressed store, hash-verified

60class ComposeConfig:
61
62 def __init__(self, config_path, dotenv_path, compose_bin,
63 using_docker=False, using_buildx=False,
64 params=None, debug=False):
65 self.using_docker = using_docker
66 self.using_buildx = using_buildx
67 self.debug = debug
68 config_path = _ensure_path(config_path)
69 if dotenv_path:
70 dotenv_path = _ensure_path(dotenv_path)
71 else:
72 dotenv_path = config_path.parent / '.env'
73 if self.debug:
74 # Log docker version
75 Docker().run('version')
76
77 self._read_env(dotenv_path, params)
78 self._read_config(config_path, compose_bin)
79
80 def _read_env(self, dotenv_path, params):
81 """

Callers

nothing calls this directly

Calls 5

_read_envMethod · 0.95
_read_configMethod · 0.95
_ensure_pathFunction · 0.85
DockerClass · 0.85
runMethod · 0.45

Tested by

no test coverage detected