chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 13:22:34 +08:00
commit 4b22cfda96
9037 changed files with 2363717 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
from mlflow.data.code_dataset_source import CodeDatasetSource
def test_code_dataset_source_from_path():
tags = {
"mlflow_source_type": "NOTEBOOK",
"mlflow_source_name": "some_random_notebook_path",
}
code_datasource = CodeDatasetSource(tags)
assert code_datasource.to_dict() == {
"tags": tags,
}
def test_code_datasource_type():
assert CodeDatasetSource._get_source_type() == "code"