Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def select(self, **kwargs):
query = SelectQueryBuilder(**kwargs).query
config.logger.debug(query)
self.db.execute(*query)
results = self.db.cursor().fetchall()
return pandas.DataFrame.from_records(list(results), columns=self.columns(), coerce_float=True)