Skip to content

Commit

Permalink
whitespace/formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
czue committed Jan 15, 2025
1 parent 4355059 commit edd2a87
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from warehouse import runner

class Command(BaseCommand):

help = "Run the data warehouse"
args = "<start_date> <end_date>"
label = ""
Expand All @@ -18,8 +18,9 @@ def add_arguments(self, parser):
help='Cleanup the tables before starting the warehouse',
default=False,
)

def handle(self, *args, **options):
start_date = None if len(args) < 1 else string_to_datetime(args[0])
end_date = None if len(args) < 2 else string_to_datetime(args[1])
end_date = None if len(args) < 2 else string_to_datetime(args[1])
cleanup = options["cleanup"]
return runner.update_warehouse(start_date, end_date, cleanup)
return runner.update_warehouse(start_date, end_date, cleanup)

0 comments on commit edd2a87

Please sign in to comment.