I would have written ``reports_partition = previous_monday.strftime('reports_%Y%m%d')`` instead, seems a lot easier to me.