Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
revert experimental changes
  • Loading branch information
Ubuntu committed Jun 13, 2024
commit 35bbba670025af2c19bd5d9da46b1b93275d5a3f
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# ---------------------------------------------------------
from typing import Union

from azure.ai.ml._utils._experimental import experimental
from azure.ai.ml.entities._inputs_outputs import Input
from azure.ai.ml.constants._common import IndexInputType

Expand All @@ -12,6 +13,7 @@


# Defines stuff related to supplying inputs for an index AKA the base data.
@experimental
class IndexDataSource:
"""Base class for configs that define data that will be processed into an ML index.
This class should not be instantiated directly. Use one of its child classes instead.
Expand All @@ -28,6 +30,7 @@ def __init__(self, *, input_type: Union[str, IndexInputType]):
# Field bundle for creating an index from files located in a Git repo.
# TODO Does git_url need to specifically be an SSH or HTTPS style link?
# TODO What is git connection id?
@experimental
class GitSource(IndexDataSource):
"""Config class for creating an ML index from files located in a git repository.

Expand All @@ -46,6 +49,7 @@ def __init__(self, *, url: str, branch_name: str, connection_id: str):
super().__init__(input_type=IndexInputType.GIT)


@experimental
class LocalSource(IndexDataSource):
"""Config class for creating an ML index from a collection of local files.

Expand Down