from db import dbGetMany def perform(dbh, params): tenants = dbGetMany(dbh, { "statement": "SELECT * FROM tenant_t", "params": () }) print(tenants)