how to get unique shift in attendance in py ?
Attendance_shift = frappe.db.get_list('Attendance',
fields=['shift'],
filters=[
['docstatus','=','1'],
['attendance_date', 'between', [filters['start_date'], filters['end_date']]],
['shift','=',filters['shift_type']]
])