File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ def truncate_text(text):
6464 wrapper = textwrap .fill (text ,
6565 initial_indent = '' ,
6666 width = 50 ,
67- max_lines = 3 ,
67+ max_lines = 4 ,
6868 placeholder = "..." ,
6969 break_long_words = True ,
7070 drop_whitespace = True ,
@@ -96,7 +96,7 @@ def df_to_db(file_paths:list):
9696 df = df_add_urls (file_paths )
9797 # filepath below must match steps in assoc CI Job, 'with path: app/dev'
9898 # for testing use: ("./sample_db_prd.json")
99- rev_json = Path ('src/docs/_static /sample_db_prd.json' )
99+ rev_json = Path ('. /sample_db_prd.json' )
100100 db = df .to_json (rev_json , orient = 'records' )
101101 return db
102102
@@ -115,7 +115,7 @@ def main():
115115 merge_json_files (file_paths )
116116 json_db = df_to_db (file_paths )
117117 # for testing use: ("./sample_db_prd.json")
118- count_json_recs ("src/docs/_static /sample_db_prd.json" )
118+ count_json_recs (". /sample_db_prd.json" )
119119 return json_db
120120
121121if __name__ == "__main__" :
You can’t perform that action at this time.
0 commit comments