cmu-delphi/delphi-epidata

add a runner and test(s) for _reset_load_table_ai_counter

オープン

#991 opened on 2022/10/04

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)Python (67 件のフォーク)auto 404
acquisitioncode healthdevopsgood first issuehelp wantedtests

Repository metrics

Stars
 (104 個のスター)
PR merge metrics
 (平均マージ 63d 20h) (30d で 11 merged PRs)

説明

as seen in: https://github.com/cmu-delphi/delphi-epidata/blob/dev/src/acquisition/covidcast/database.py#L126

  • also make change to ensure epimetric_load is empty first instead of just blindly clearing it

motivations for actual implementation reset process:

extra credit:

  • research (and implement?!?) if can we deny ability to TRUNCATE epimetric_load through permissions? (--> ie, remove drop permissions for epimetric_* family of tables to prevent resetting of autoincrement ids again)
  • verify that we do not replicate epimetric_load table, though this is not a deal-breaker

コントリビューターガイド