We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c35c55 commit 8fa987bCopy full SHA for 8fa987b
1 file changed
src/db.py
@@ -96,7 +96,7 @@ def df_to_db(file_paths:list):
96
df = df_add_urls(file_paths)
97
# filepath below must match steps in assoc CI Job, 'with path: app/dev'
98
# for testing use: ("./sample_db_prd.json")
99
- rev_json = Path('app/dev/src/docs/_static/sample_db_prd.json')
+ rev_json = Path('src/docs/_static/sample_db_prd.json')
100
db = df.to_json(rev_json, orient='records')
101
return db
102
@@ -114,8 +114,7 @@ def main():
114
file_paths = make_json_list(rootdir)
115
merge_json_files(file_paths)
116
json_db = df_to_db(file_paths)
117
- # for testing use: ("./sample_db_prd.json")
118
- # count_json_recs("./sample_db_prd.json")
+ count_json_recs("src/docs/_static/sample_db_prd.json")
119
return json_db
120
121
if __name__ == "__main__":
0 commit comments