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]) 
     cleanup = options["cleanup"]
     return runner.update_warehouse(start_date, end_date, cleanup) 
     
    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])
        cleanup = options["cleanup"]
        return runner.update_warehouse(start_date, end_date, cleanup)
def update_warehouse_async(start_date=None, end_date=None, cleanup=False):
    """
    To asynchronously update the warehouse, e.g. from a view.
    """
    return update_warehouse(start_date, end_date, cleanup)