I can e.g. do
from simple_salesforce import Salesforce
sf = Salesforce()
sf.Account.describe()
to access the account object. However, I am passed the object as a string like
sf_object = "Account"
How can I now access the object? sf[sf_object], sf(sf_object) and sf.sf_object all don't work. Thanks for your help!