Skip to content

Commit

Permalink
rename run_full_pipeline to retrieve_all_data (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
ishrat singh authored Mar 29, 2021
1 parent a81d57b commit 34197e8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -110,3 +110,6 @@ ENV/
.DS_Store
**/.DS_Store

# data dumps
**/data/
**/*.zip
4 changes: 2 additions & 2 deletions bin/dump_data_to_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def get_all_spec_ids(datastore_url, author_email):
return set(spec_ids)


def run_full_pipeline(datastore_url, author_email, spec_ids, out_dir):
def retrieve_all_data(datastore_url, author_email, spec_ids, out_dir):
"""
Runs the full data retrieval pipeline in the event that a user/key/start_ts/end_ts combination isn't provided.
"""
Expand Down Expand Up @@ -203,4 +203,4 @@ def parse_args():
args.out_dir)

else:
run_full_pipeline(args.datastore_url, args.author_email, spec_ids, args.out_dir)
retrieve_all_data(args.datastore_url, args.author_email, spec_ids, args.out_dir)

0 comments on commit 34197e8

Please sign in to comment.