def get_dates(args):
 no_of_days = date_diff(add_days(args[u'to_date'], 1), args[u'from_date'])
 dates = [add_days(args[u'from_date'], i) for i in range(0, no_of_days)]
 return dates

def get_dates ( args ) : no_of_days = date_diff ( add_days ( args [ u'to_date' ] , 1 ) , args [ u'from_date' ] ) dates = [ add_days ( args [ u'from_date' ] , i ) for i in range ( 0 , no_of_days ) ] return dates
get list of dates in between from date and to date .