From dbe3a0e1fdf3a4faca3ed682f3f6b3b3fbec449c Mon Sep 17 00:00:00 2001 From: kert Date: Tue, 27 Oct 2026 11:55:32 -0400 Subject: [PATCH] =?UTF-8?q?style:=20ruff=200.17=20formats=20Python=20block?= =?UTF-8?q?s=20inside=20Markdown=20=E2=80=94=20reformat=20README=5FUNITY?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The lock bump moved ruff 0.15.4 -> 0.17.1, whose `ruff format` now also covers fenced Python in Markdown under src/; CI's `ruff format --check src/ tests/` failed on four whitespace nits in this README. Refs #1365 --- src/aco/lake/README_UNITY.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/aco/lake/README_UNITY.md b/src/aco/lake/README_UNITY.md index 68e3044..5981672 100644 --- a/src/aco/lake/README_UNITY.md +++ b/src/aco/lake/README_UNITY.md @@ -235,7 +235,7 @@ df = ctx.load("core.encounter") # Columns are automatically renamed from Unity Catalog names assert "encounter_id" in df.columns # Mapped from encntr_id -assert "person_id" in df.columns # Mapped from mbr_id +assert "person_id" in df.columns # Mapped from mbr_id ``` ## Workspace Configuration @@ -310,6 +310,7 @@ encounters = ctx.load("core.encounter") # Use in pipeline from aco.pipe import readmissions + results = readmissions.pipeline.run(ctx.load) ``` @@ -474,11 +475,13 @@ Error: User does not have CREATE permission on catalog 'aco' ```python # 1. Develop locally with DuckDB from aco.lake import DuckDBContext + ctx_local = DuckDBContext(database="notebooks/aco.duckdb") results = execute(readmissions.pipeline, ctx_local) # 2. Deploy to Unity Catalog from aco.lake import IcebergContext + ctx_unity = IcebergContext( catalog_uri="https://dbc-7474655000864661.cloud.databricks.com/api/2.1/unity-catalog/iceberg", warehouse="aco",