Actually, no need to turn it into a `::date` 
```
cut_off_date = year_old_monday.date()
cursor.execute("select drop_named_partitions('%s')", (cut_off_date,))
```