Skip to content
Merged
Show file tree
Hide file tree
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
investigating build issues
  • Loading branch information
Ubuntu committed Jun 13, 2024
commit a14e746a948b33a0bcba45cdf4e045489f0d28df
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
from azure.ai.ml._utils._experimental import experimental


@experimental
class IndexConfig: # pylint: disable=too-many-instance-attributes
"""Convenience class that contains all config values that for index creation that are
NOT specific to the index source data or the created index type. Meant for internal use only
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
# ---------------------------------------------------------
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 @@ -13,7 +12,6 @@


# 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 @@ -30,7 +28,6 @@ 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 @@ -49,7 +46,6 @@ 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
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
)
from azure.ai.ml._telemetry import ActivityType, monitor_with_activity
from azure.ai.ml._utils._asset_utils import _resolve_label_to_asset
from azure.ai.ml._utils._experimental import experimental
from azure.ai.ml._utils._http_utils import HttpPipeline
from azure.ai.ml._utils._logger_utils import OpsLogger
from azure.ai.ml._utils.utils import _get_base_urls_from_discovery_service
Expand Down Expand Up @@ -252,6 +253,7 @@ def cls(rest_indexes: Iterable[RestIndex]) -> List[Index]:
return self._azure_ai_assets.indexes.list(name, list_view_type=list_view_type, cls=cls, **kwargs)

# pylint: disable=too-many-locals
@experimental
def build_index(
self,
*,
Expand Down