8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed missing **kwargs. Without kwargs connect() isn't following the adbc connect() standard and can't support additional options like autocommit..
>>> c = connect(autocommit=True) Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: connect() got an unexpected keyword argument 'autocommit'
Pull Request with code fix: #16637
connect() error.
>>> import adbc_driver_duckdb >>> import adbc_driver_manager >>> import adbc_driver_manager.dbapi >>> >>> >>> def connect(path: str = None): ... """Connect to DuckDB via ADBC.""" ... db = None ... conn = None ... try: ... db = adbc_driver_duckdb.connect(path) ... conn = adbc_driver_manager.AdbcConnection(db) ... return adbc_driver_manager.dbapi.Connection(db, conn) ... except Exception: ... if conn: ... conn.close() ... if db: ... db.close() ... raise ... >>> c = connect(autocommit=True) Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: connect() got an unexpected keyword argument 'autocommit'
All
1.2
Python
No response
David Lee
BlackRock
I have not tested with any build
Yes
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
What happens?
Fixed missing **kwargs. Without kwargs connect() isn't following the adbc connect() standard and can't support additional options like autocommit..
Pull Request with code fix: #16637
To Reproduce
connect() error.
OS:
All
DuckDB Version:
1.2
DuckDB Client:
Python
Hardware:
No response
Full Name:
David Lee
Affiliation:
BlackRock
What is the latest build you tested with? If possible, we recommend testing with the latest nightly build.
I have not tested with any build
Did you include all relevant data sets for reproducing the issue?
Yes
Did you include all code required to reproduce the issue?
Did you include all relevant configuration (e.g., CPU architecture, Python version, Linux distribution) to reproduce the issue?
The text was updated successfully, but these errors were encountered: