Fabric
examples/fabric/run_pipeline.ipynb runs the example pipeline against a Fabric lakehouse. Steps:
- Install pipetree as a custom library on a Fabric environment attached to the notebook, or with
%pip installof an uploaded wheel. - Upload
examples/pipeline.yaml,examples/data/andexamples/notebooks/to the lakehouseFiles/section, so the relative paths resolve. - Attach the lakehouse as the notebook’s default and run the notebook.
notebookutilsis assumed to be a global, withnotebookutils.credentials.getSecret(vault_url, secret_name)for secrets.FabricPlatformresolves paths toFiles/<relative path>, which needs the default lakehouse attached. The notebook’sCONFIG_PATHuses the mounted form/lakehouse/default/Files/.... They are different strings.- Token auth (
auth.mode: aad_token) runs as the notebook’s executing identity and supports a limited set of audiences (storage,pbi,keyvault,kusto, Kusto cluster URIs). surrogate_keyneeds Delta identity columns, which Fabric Runtime 1.3 lacks: use Runtime 2.0.
To follow a run in the notebook, pass an observer: run_pipeline("pipeline.yaml", observer=LiveGraphView()) from pipetree.notebook redraws the graph in place.