How to add description for docfield

An ABC doctype there is a custom field name total_rows (Type =Int) i want to add description for that field for a certain value with python script, client

below code is not working

meta = frappe.get_meta('DGR Upload')
field=meta.get_field('total_rows')
# frappe.msgprint(str(field.description))
field.description = "Total rows are Not completed"
1 Like