Skip to content

Commit

Permalink
Dump to db
Browse files Browse the repository at this point in the history
  • Loading branch information
akariv committed Jun 5, 2024
1 parent e64f6f4 commit 3900338
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion operators/derive/to_sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@

def dump_to_sql_flow():
return DF.Flow(
DF.load(f'{settings.DATA_DUMP_DIR}/cards/datapackage.json'),
DF.load(f'{settings.DATA_DUMP_DIR}/card_data/datapackage.json'),
DF.update_resource('card_data', name='cards'),
DF.dump_to_sql(
dict(
cards={
Expand Down

0 comments on commit 3900338

Please sign in to comment.