Skip to content

python/adbc_driver_manager: allow top-level URI, positional driver argument #3517

@lidavidm

Description

@lidavidm

What feature or improvement would you like to see?

These should be possible:

dbapi.connect(driver="postgresql", uri="postgresql://...")
dbapi.connect("postgresql", uri="postgresql://...")
dbapi.connect("postgresql", "postgresql://...")
dbapi.connect("postgresql://...")

In the last case, we would check if the URI looks like a URI in the driver manager and assume the URI scheme is the driver name. (So not all drivers would be able to take advantage of this.)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions