client.connect
client.connect(con=None)DuckDB connection able to read the cartiflette files.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| con | duckdb.DuckDBPyConnection | Existing connection to use. By default, an in-memory connection shared by all the calls: the relations returned with engine="duckdb" stay usable, and the extensions are loaded once. |
None |
Returns
| Name | Type | Description |
|---|---|---|
| duckdb.DuckDBPyConnection | Connection with the httpfs and spatial extensions loaded. The proxy is taken from the https_proxy environment variable. |