Skip to content

Commit 76463d7

Browse files
TimTim
authored andcommitted
added SKIP_DATALOADER_LIST
1 parent 925dfd4 commit 76463d7

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

motherlode/config.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ class DEFAULT(ConfigBase):
2626
# similar to DATALOADER_LIST but only to run a single dataloader. overrides DATALOADER_LIST
2727
DATALOADER_SINGLE = None
2828

29+
SKIP_DATALOADER_LIST = []
30+
2931
# DOCKER_DEAMON_BASE_URL = "tcp://127.0.0.1:1234"
3032
DOCKER_DEAMON_BASE_URL = "unix://var/run/docker.sock"
3133

motherlode/main.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,8 @@ def run_datasource_containers():
186186

187187
for datasource in sorted_datasources:
188188
envs = env_vars.copy()
189+
if datasource["name"] in config.SKIP_DATALOADER_LIST:
190+
continue
189191
if "envs" in datasource:
190192
envs.update(datasource["envs"])
191193
log.info("###########################".format(datasource["dockerimage"]))

0 commit comments

Comments
 (0)