When I use simple-salesforce's Metadata api read method _sf.mdapi.CustomObject.read(sf_object_name)
, I get what seems to be a full list of fields from my object. However, if I use the describe method getattr(_sf, sf_object_name).describe()
, the metadata returned is missing dozens of fields. Why is that the case for the same object?
I'd prefer to use .describe(), since it returns usable picklistValues
vs. .read(), which sometimes gives a valueSetName
that doesn't include the actual picklist values, just the name of a valueSet which I'd have to re-query for.