Skip to content

Commit

Permalink
feat(config): add new default run commands in config files
Browse files Browse the repository at this point in the history
  • Loading branch information
entelecheia committed Jul 26, 2023
1 parent 241192c commit 1199686
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 22 deletions.
11 changes: 1 addition & 10 deletions config/pipe/_test_dataframes_load.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
defaults:
- __dataframe_external_funcs__
- /run: load_dataframes

run: hyfi.main.HyFI.load_dataframes
run_with:
data_files:
data_dir:
filetype:
split:
concatenate: false
ignore_index: false
use_cached: false
verbose: true
use_pipe_obj: false
11 changes: 1 addition & 10 deletions config/pipe/_test_dataframes_save.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
defaults:
- __dataframe_external_funcs__
- /run: save_dataframes

run: hyfi.main.HyFI.save_dataframes
run_with:
data:
data_file:
data_dir:
columns:
index: false
filetype: parquet
suffix:
verbose: true
pipe_obj_arg_name: data
return_pipe_obj: true
3 changes: 1 addition & 2 deletions config/pipe/_test_preprocessing.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
defaults:
- __dataframe_external_funcs__

run: hyfi.pipe.test.preprocessing_esg_ratings
- /run: preprocessing_esg_ratings

0 comments on commit 1199686

Please sign in to comment.