I would like to set the description for all object fields that are layoutable but not present in any layout to: "Not used". I found out how to find fields that are layoutable, but I can't find out how to set the description of a Field using simple_salesforce.
I assume it must be done using the Metadata API, but I couldn't find an example anywhere. I couldn't figure it out myself either. I'd like to do it for all types of fields (both from standard and custom objects).
How can I set the description of a field using simple_salesforce?
Example pseudocode:
sf.objects["Account"].fields["AccountNumber"].set_description("Not used")