File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
integrations/acquisition/covidcast_nowcast
src/acquisition/covidcast_nowcast Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -151,4 +151,4 @@ def test_duplicate_row(self):
151151 'signal' : 'sig' ,
152152 }],
153153 'message' : 'success' ,
154- })
154+ })
Original file line number Diff line number Diff line change @@ -36,12 +36,12 @@ def main(csv_path: str = SENSOR_CSV_PATH) -> None:
3636 """
3737 user , pw = secrets .db .epi
3838 engine = sqlalchemy .create_engine (f"mysql+pymysql://{ user } :{ pw } @{ secrets .db .host } /{ DB_NAME } " )
39- for filepath , attr in CsvImporter .find_csv_files (csv_path ):
40- if attr is None :
39+ for filepath , attribute in CsvImporter .find_csv_files (csv_path ):
40+ if attribute is None :
4141 _move_after_processing (filepath , success = False )
4242 continue
4343 try :
44- data = load_and_prepare_file (filepath , attr )
44+ data = load_and_prepare_file (filepath , attribute )
4545 conn = engine .connect ()
4646 with conn .begin ():
4747 method = _create_upsert_method (sqlalchemy .MetaData (conn ))
You can’t perform that action at this time.
0 commit comments