Metadata-Version: 2.5
Name: vibedata-dlt-fabric-studio
Version: 0.13.4
Summary: VibeData dlt runtime — Fabric Studio execution unit (intent-local runs targeting Fabric OneLake): local Delta staging + user-delegated OneLake sync via Studio's credential broker. Install this; it pulls in vibedata-dlt-fabric-core.
Author-email: Vibedata <eng@acceleratedata.ai>
License: MIT
Requires-Python: >=3.11
Requires-Dist: adlfs>=2024.2.0
Requires-Dist: azure-core>=1.30.0
Requires-Dist: azure-keyvault-secrets>=4.8.0
Requires-Dist: dlt[deltalake,filesystem]>=1.0.0
Requires-Dist: requests>=2.31.0
Requires-Dist: vibedata-dlt-fabric-core
Requires-Dist: vibedata-studio-azure-cred-broker>=0.1.2
Provides-Extra: dev
Requires-Dist: pytest-mock>=3.12; extra == 'dev'
Requires-Dist: pytest>=8.0; extra == 'dev'
Description-Content-Type: text/markdown

# vibedata-dlt-fabric-studio

Fabric Studio execution unit for the VibeData dlt runtime — the installed
distribution for Fabric domains running in the Studio-local intent venv. Key
Vault access uses the logged-in Studio user's delegated token via the `the credential broker`
broker; dlt writes Delta to a local staging dir and `finalize()` syncs it to the
intent's ephemeral OneLake lakehouse. After a completed upload with files,
`finalize()` requests Fabric SQL endpoint metadata refresh for the newly synced
Delta tables so they become queryable. `finalize()` scopes each request to the
newly synced tables and requires a matching successful result for each of them,
including after long-running operations. Exact schema/table matches are consumed first;
legacy bare names are matched one-to-one only when no remaining qualified
status could refer to the same table. A refresh
problem is reported in the returned summary as `pending`; it does not invalidate
or replay the completed upload.

```python
from vibedata.dlt.fabric import setup_environment, finalize
```

Install this package; it pulls in `vibedata-dlt-fabric-core` (and transitively
`vibedata-dlt-core`). The notebook unit (`vibedata-dlt-fabric-notebook`) ships the
same `vibedata.dlt.fabric` import with notebook-mode implementations — exactly
one Fabric unit is installed per environment, selected at provisioning time.
