API Docs
geneva.connect
connect(
uri: str | Path,
*,
region: str | None = None,
api_key: Credential | str | None = None,
host_override: str | None = None,
storage_options: dict[str, str] | None = None,
checkpoint: str | CheckpointStore | None = None,
**kwargs,
) -> Connection
Connect to Geneva.
Examples:
>>> import geneva
>>> conn = geneva.connect("db://my_dataset")
>>> tbl = conn.open_table("youtube_dataset")
Parameters:
-
uri
(str | Path
) –LanceDB Database URI, or a S3/GCS path
-
region
(str | None
, default:None
) –LanceDB cloud region. Set to
None
on LanceDB Enterprise -
api_key
(Credential | str | None
, default:None
) –API key to connect to the DB instance.
-
host_override
(str | None
, default:None
) –Set to the host of the enterprise stack
Returns:
-
Connection - A LanceDB connection
–