@frappe.whitelist()
def archive_restore_column(board_name, column_title, status):
 doc = frappe.get_doc(u'Kanban Board', board_name)
 for col in doc.columns:
  if (column_title == col.column_name):
   col.status = status
 doc.save()
 return doc.columns

@ frappe . whitelist ( ) def archive_restore_column ( board_name , column_title , status ) : doc = frappe . get_doc ( u'Kanban Board' , board_name ) for col in doc . columns : if ( column_title == col . column_name ) : col . status = status doc . save ( ) return doc . columns
set columns status to status .