I want to do something like
from simple_salesforce import Salesforce, format_soql sf = Salesforce(username=..., password=..., security_token=..., domain=...) result = sf.query(format_soql("SELECT Id, ValidationName, Active, Description, EntityDefinition.DeveloperName, ErrorDisplayField, ErrorMessage FROM ValidationRule"))
to fetch validation rules from Salesforce. The above obviously fails since I cannot query ValidationRules like Account or Contact records. How can I fix this?