Skip to main content

vibedata-dlt-fabric-warehouse-studio

Fabric Warehouse Studio execution unit for the VibeData dlt runtime — the installed distribution for Domains whose Fabric data platform is a Warehouse rather than a Lakehouse. dlt's own fabric destination does the loading; this unit supplies the two things it cannot get by itself: an audience-bound access token in place of a client secret, and a credential for the OneLake staging area the run is configured with, holding the parquet that COPY INTO reads back.

The same pipeline runs in the Studio-local intent venv and, once published, as a Fabric notebook. Only where the token and the Domain's Key Vault come from differs, and the unit resolves that from the environment.

On a CI runner (domain-cicd's dlt-gate) there is no broker. With VD_DLT_CREDENTIAL_SOURCE=ci-azure set and no Studio configuration present, the Warehouse TDS connection and the OneLake staging sign in as the runner's Azure identity (azure/login's az session, or a service principal in AZURE_CLIENT_*), minted per connection. Without the switch nothing changes; with the switch, any Studio configuration is an error. A Fabric notebook keeps its runtime identity either way.

In a Fabric notebook, restart Python after the install cell with notebookutils.session.restartPython(), as Fabric documents for Python notebooks: the kernel has already imported its own adlfs, fsspec, azure-core and duckdb, and keeps serving them until it restarts. The restart drops every variable, so set the parameters and the working directory again after it. setup_environment() refuses a kernel that was not restarted.

from vibedata.dlt.fabric_warehouse import setup_environment, finalize, onelake_staging
import dlt

setup_environment()
pipeline = dlt.pipeline(pipeline_name="<name>", destination="fabric",
                        staging=onelake_staging(), dataset_name="<schema>")
try:
    pipeline.run(source)
except Exception as e:
    finalize(pipeline, error_message=str(e)); raise
finalize(pipeline)

setup_environment() and finalize() are the whole API — the same pair every execution unit exposes. setup_environment() asserts dlt's fabric destination is patched for token auth, registers the venue's token provider and secret provider, resolves the staging location, and names dlt's scratch schema <dataset>_dlt_staging so it cannot collide with a dbt-modelled staging layer. finalize() persists the audit tables and stops there: dlt performs the load itself, so unlike the Lakehouse unit there is nothing left to sync.

The staging location is read from dlt config as [destination.filesystem] bucket_url, overridable through DESTINATION__FILESYSTEM__BUCKET_URL. It must be an abfss:// URL on OneLake naming its workspace by GUID: Fabric's OneLake endpoints reject display names, so a non-GUID is refused at setup. Absent the key there is no staging location and the load goes row by row.

The dlt pin

dlt>=1.30,<1.31. The fabric destination arrived in 1.30 and only speaks client-secret service-principal auth, so this unit patches five of its private seams: the destination's config spec, FabricCredentials.on_partial, FabricCredentials.get_odbc_dsn_dict, FabricSqlClient.open_connection, and FabricCopyFileLoadJob._ensure_fabric_token_initialized. None of those is public API, so a minor bump can move them and the upper bound is a correctness fence rather than caution. mssql and synapse are never touched.

Upstream support for an access token on the Fabric credentials — an access_token field and attrs_before on the connection — would make _spec.py and _patch.py deletable, leaving only staging and bootstrap.

Metadata

Release files for vibedata-dlt-fabric-warehouse-studio 0.8.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vibedata-dlt-fabric-warehouse-studio 0.8.0
File Size Uploaded Provenance Actions
vibedata_dlt_fabric_warehouse_studio-0.8.0.tar.gz 29.2 kB Without provenance Details for vibedata_dlt_fabric_warehouse_studio-0.8.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for vibedata-dlt-fabric-warehouse-studio 0.8.0
File Interpreter ABI Platform Actions
vibedata_dlt_fabric_warehouse_studio-0.8.0-py3-none-any.whl Python 3 none any Details for vibedata_dlt_fabric_warehouse_studio-0.8.0-py3-none-any.whl

Total release size: 51.1 kB

Release files / vibedata_dlt_fabric_warehouse_studio-0.8.0.tar.gz

Download URL vibedata_dlt_fabric_warehouse_studio-0.8.0.tar.gz
Size 29.2 kB
Tags Source
SHA-256 checksum
How to use checksums
bdb34b71145b8a1bf7ab85ad315f6bb49af770fa7c33566cd3f845f4d2b5059e
BLAKE2b-256 checksum
How to use checksums
befad3f277911ecbec51c77859a26891aea4b991a0e83d2abe312d90d4c2346b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.17

Release files / vibedata_dlt_fabric_warehouse_studio-0.8.0-py3-none-any.whl

Download URL vibedata_dlt_fabric_warehouse_studio-0.8.0-py3-none-any.whl
Size 21.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
69cffc39d095cdb7bd2791effc11c22de8da6e141f039692ecaced98a0733295
BLAKE2b-256 checksum
How to use checksums
5b4b9eb767395b78e102e8df4d5163078814cd0d964fb1d61ac62f91e53bb35c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.17

Security for vibedata-dlt-fabric-warehouse-studio 0.8.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page