Skip to content

Commit

Permalink
Created maintenance folder.
Browse files Browse the repository at this point in the history
Added new scripts for API Keys maintenance.
Deleted:
 * src/acquisition/covidcast/generate_islatest_fix_sql.py
 * src/acquisition/covidcast/islatest_fix.sql
 * src/acquisition/covidcast/migrate_epidata_to_v4.py
Moved from acquisition to maintenance:
 * src/acquisition/covidcast/covidcast_meta_cache_updater.py
 * src/acquisition/covidcast/delete_batch.py
 * src/acquisition/covidcast/signal_dash_data_generator.py
  • Loading branch information
dmytrotsko committed Jun 29, 2023
1 parent 27bf48d commit 57da8ce
Show file tree
Hide file tree
Showing 14 changed files with 127 additions and 2,032 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from delphi.epidata.client.delphi_epidata import Epidata
import delphi.operations.secrets as secrets
import delphi.epidata.acquisition.covidcast.database as live
from delphi.epidata.acquisition.covidcast.covidcast_meta_cache_updater import main
from delphi.epidata.maintenance.covidcast_meta_cache_updater import main

# py3tester coverage target (equivalent to `import *`)
__test_target__ = (
Expand Down
2 changes: 1 addition & 1 deletion integrations/client/test_delphi_epidata.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

# third party
import delphi.operations.secrets as secrets
from delphi.epidata.acquisition.covidcast.covidcast_meta_cache_updater import main as update_covidcast_meta_cache
from delphi.epidata.maintenance.covidcast_meta_cache_updater import main as update_covidcast_meta_cache
from delphi.epidata.acquisition.covidcast.test_utils import CovidcastBase, CovidcastTestRow, FIPS, MSA
from delphi.epidata.client.delphi_epidata import Epidata
from delphi_utils import Nans
Expand Down
2 changes: 1 addition & 1 deletion integrations/server/test_covidcast_endpoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import requests
import pandas as pd

from delphi.epidata.acquisition.covidcast.covidcast_meta_cache_updater import main as update_cache
from delphi.epidata.maintenance.covidcast_meta_cache_updater import main as update_cache
from delphi.epidata.acquisition.covidcast.test_utils import CovidcastBase, CovidcastTestRow

# use the local instance of the Epidata API
Expand Down
2 changes: 1 addition & 1 deletion integrations/server/test_covidcast_meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

#first party
from delphi_utils import Nans
from delphi.epidata.acquisition.covidcast.covidcast_meta_cache_updater import main as update_cache
from delphi.epidata.maintenance.covidcast_meta_cache_updater import main as update_cache
import delphi.operations.secrets as secrets

# use the local instance of the Epidata API
Expand Down
63 changes: 0 additions & 63 deletions src/acquisition/covidcast/generate_islatest_fix_sql.py

This file was deleted.

Loading

0 comments on commit 57da8ce

Please sign in to comment.