cmu-delphi/delphi-epidata

add a runner and test(s) for _reset_load_table_ai_counter

开放

#991 创建于 2022年10月4日

 (0 条评论) (0 个反应) (0 位负责人)Python (67 个派生)auto 404
acquisitioncode healthdevopsgood first issuehelp wantedtests

仓库指标

星标
 (104 个星标)
PR 合并指标
 (平均合并 63天 20小时) (30 天内合并 11 个 PR)

描述

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

贡献者指南