cmu-delphi/delphi-epidata

clean up insert_or_update_batch() method

Open

#989 opened on Oct 4, 2022

 (1 comment) (0 reactions) (0 assignees)Python (67 forks)auto 404
acquisitioncode healthgood first issuehelp wantedrefactor

Repository metrics

Stars
 (104 stars)
PR merge metrics
 (PR metrics pending)

Description

  • remove insert_or_update_bulk()
  • roll run_dbjobs() logic into the insert_batch method
    • can get rid of "suppress_jobs" argument too, unless someone can come up with a good reason for keeping it

https://github.com/cmu-delphi/delphi-epidata/blob/dev/src/acquisition/covidcast/database.py#L159

Contributor guide