def getQueryFromType(self, fti, sf_object_id=None): """ Sync objects created from this FTI. """ schema = fti.lookupSchema() return queryFromSchema(schema, sf_object_id=sf_object_id)
def _queryFromSchema(self, query): from collective.salesforce.content.utils import queryFromSchema return queryFromSchema(query)