Skip to content

Commit

Permalink
Making season and skip-tables multi-select (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
mpope9 authored Sep 3, 2021
1 parent d06e9ee commit 7291be4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions stats/nba_sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ def main():
dest='seasons',
default=last_loadable_season,
choices=season_list,
widget='Listbox',
nargs="*",
help="""
The seasons flag loads the database with the specified season.
The format of the season should be in the form "YYYY-YY".
Expand Down Expand Up @@ -161,6 +163,7 @@ def main():
nargs="*",
default='',
choices=['player_season', 'player_game_log', 'play_by_play', 'pgtt', 'shot_chart_detail', ''],
widget='Listbox',
help=(
"Use this option to skip loading certain tables. "
" Example: --skip-tables play_by_play pgtt"
Expand Down

0 comments on commit 7291be4

Please sign in to comment.