Skip to content

Commit

Permalink
fix mlflow test link
Browse files Browse the repository at this point in the history
  • Loading branch information
mayurinehate committed Oct 14, 2024
1 parent 725f1e4 commit a79d75f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions metadata-ingestion/tests/unit/test_mlflow_source.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import datetime
from pathlib import Path
from typing import Any, TypeVar, Union
from typing import Any, Union

import pytest
from mlflow import MlflowClient
Expand All @@ -11,8 +11,6 @@
from datahub.ingestion.api.common import PipelineContext
from datahub.ingestion.source.mlflow import MLflowConfig, MLflowSource

T = TypeVar("T")


@pytest.fixture
def tracking_uri(tmp_path: Path) -> str:
Expand Down Expand Up @@ -46,7 +44,7 @@ def model_version(
)


def dummy_search_func(page_token: Union[None, str], **kwargs: Any) -> PagedList[T]:
def dummy_search_func(page_token: Union[None, str], **kwargs: Any) -> PagedList[str]:
dummy_pages = dict(
page_1=PagedList(items=["a", "b"], token="page_2"),
page_2=PagedList(items=["c", "d"], token="page_3"),
Expand Down

0 comments on commit a79d75f

Please sign in to comment.