dlt.destinations.impl.lance.factory
lance Objects
class lance(Destination[LanceClientConfiguration, "LanceClient"])
__init__
def __init__(catalog_type: LanceCatalogType = None,
credentials: Union[LanceCredentials, Dict[str, Any]] = None,
storage: Union[LanceStorageConfiguration, Dict[str, Any]] = None,
branch_name: Optional[str] = None,
embeddings: Union[LanceEmbeddingsConfiguration, Dict[str,
Any]] = None,
destination_name: str = None,
environment: str = None,
**kwargs: Any) -> None
Configure the Lance destination to use in a pipeline.
All arguments provided here supersede other configuration sources such as environment variables and dlt config files.
Arguments:
catalog_typeLanceCatalogType, optional - Lance catalog backend. Defaults to"dir"(directory namespace).credentialsUnion[LanceCredentials, Dict[str, Any]], optional - Catalog-scoped credentials. For"dir", this is an optionalDirectoryCatalogCredentialsoverriding the__manifestlocation; when empty, catalog colocates withstorage.storageUnion[LanceStorageConfiguration, Dict[str, Any]], optional - Storage configuration for table data (bucket, credentials, options, namespace subpath).branch_nameOptional[str] - Read/write branch for Lance operations. Usesmainif not set.embeddingsUnion[LanceEmbeddingsConfiguration, Dict[str, Any]], optional - Embedding provider, model, and credentials. If not provided, no vector column is added.destination_namestr, optional - Name of the destination.environmentstr, optional - Environment of the destination.**kwargsAny - Additional arguments forwarded to the destination config.