Skip to content

Commit 4e513a8

Browse files
authored
Merge pull request #1237 from alexcoda/add-missing-import
Add missing imports to run.py template
2 parents be9b16a + 2815b92 commit 4e513a8

File tree

1 file changed

+5
-3
lines changed
  • _template_python/delphi_NAME

1 file changed

+5
-3
lines changed

_template_python/delphi_NAME/run.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,18 @@
1414
unpublished signals are. See `delphi_utils.add_prefix()`
1515
- Any other indicator-specific settings
1616
"""
17-
from datetime import timedelta
18-
import pandas as pd
1917
import time
18+
from datetime import timedelta, datetime
19+
from itertools import product
2020

21+
import pandas as pd
22+
from delphi_utils import get_structured_logger
2123
from delphi_utils.export import create_export_csv
2224
from delphi_utils.geomap import GeoMapper
23-
from delphi_utils import get_structured_logger
2425

2526
from .constants import GEOS, SIGNALS, SMOOTHERS
2627

28+
2729
def run_module(params):
2830
"""
2931
Runs the indicator

0 commit comments

Comments
 (0)