snowflake-connector-python
snowflake-connector-python copied to clipboard
SNOW-590714: cursor.execute_async returns a dictionary instead of a cursor object
Please answer these questions before submitting your issue. Thanks!
- What version of Python are you using?
Python 3.9.12
- What operating system and processor architecture are you using?
macOS-10.16-x86_64-i386-64bit
- What are the component versions in the environment (
pip freeze
)?
snowflake-connector-python=2.6.2=py39hb2f4e1b_0
- What did you do?
type(conn.cursor().execute_async('SELECT 1'))
dict
- What did you expect to see? https://docs.snowflake.com/en/user-guide/python-connector-api.html#execute_async indicates that we should have a return type of a cursor, so:
snowflake.connector.cursor.SnowflakeCursor