Rebuild: Dagster code location with the sample dlt and dbt assets

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
rockdrigo
2026-11-24 11:18:08 -06:00
commit 3558e24a46
6 changed files with 124 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
import mlflow
def test_logs_a_run(tmp_path):
mlflow.set_tracking_uri(f"sqlite:///{tmp_path / 'mlflow.db'}")
with mlflow.start_run() as run:
mlflow.log_param("seed", 7)
mlflow.log_metric("auc", 0.5)
got = mlflow.get_run(run.info.run_id)
assert got.data.params == {"seed": "7"} and got.data.metrics == {"auc": 0.5}