def METHOD_NAME(self, datasource):
    connection = pyodbc.connect(**self.get_connection_params(datasource.database))
    query_params = datasource.parameters or {}
    df = pandas_read_sql(
        datasource.query,
        con=connection,
        params=query_params,
        convert_to_qmark=True,
        render_user=True,
    )
    connection.close()
    return df