This should actually be just:

```python
cursor.execute(query)
```

Otherwise when SQL Lab calls:

```python
db_engine_spec.execute(cursor, query.executed_sql, async_=True)
```

The `async_` kwarg will be passed down to **all** the cursors, and this could 
potentially cause an exception if their method signatures don't have `**kwargs`.

[ Full content available at: 
https://github.com/apache/incubator-superset/pull/5759 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to