Skip to content

Commit 488ec25

Browse files
committed
update
1 parent 76879f1 commit 488ec25

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/datacustomcode/run.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,11 @@ def run_entrypoint(
7676
f"Please ensure config.json contains a 'dataspace' field."
7777
)
7878

79-
# Load config file first (if provided) so that dataspace from config.json
80-
# can override any dataspace in the config file
79+
# Load config file first
8180
if config_file:
8281
config.load(config_file)
8382

8483
# Add dataspace to reader and writer config options
85-
# (after loading config file to ensure it takes precedence)
8684
_set_config_option(config.reader_config, "dataspace", dataspace)
8785
_set_config_option(config.writer_config, "dataspace", dataspace)
8886

0 commit comments

Comments
 (0)