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:
@@ -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}
|
||||
Reference in New Issue
Block a user