Skip to content

Commit 6ef96da

Browse files
committed
cast CLI args to types
1 parent 3a9ff70 commit 6ef96da

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/acquisition/flusurv/flusurv_update.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,11 +191,13 @@ def main():
191191
# fmt: off
192192
parser.add_argument(
193193
"location",
194+
type=str,
194195
help='location for which data should be scraped (e.g. "CA" or "all")'
195196
)
196197
parser.add_argument(
197198
"--max-age",
198199
default=MAX_AGE_TO_CONSIDER_WEEKS,
200+
type=int,
199201
help="age in weeks of data to ingest"
200202
)
201203
parser.add_argument(

0 commit comments

Comments
 (0)