azure_ml_sdk.services.asset.base ================================ .. py:module:: azure_ml_sdk.services.asset.base Attributes ---------- .. autoapisummary:: azure_ml_sdk.services.asset.base.AML_ENTITY Classes ------- .. autoapisummary:: azure_ml_sdk.services.asset.base.BaseAssetManager Module Contents --------------- .. py:data:: AML_ENTITY .. py:class:: BaseAssetManager(ml_client: azure.ai.ml.MLClient, asset_type: str) Base class for Azure Machine Learning asset managers. .. py:attribute:: ml_client .. py:attribute:: asset_type .. py:attribute:: asset_client .. py:method:: list() -> List[str] List the names of the assets in the workspace. :returns: The list of the names of the assets in the workspace. :rtype: List[str] .. py:method:: list_versions(name: str) -> List[str] List the versions of an asset in the workspace. :param name: The name of the asset. :type name: str :returns: The list of the versions of an asset. :rtype: List[str] .. py:method:: get_latest_version(name: str) -> str Get the number of the latest version of an environment. :param name: The name of the asset. :type name: str :returns: The number of the latest version. :rtype: str .. py:method:: get(name: str, version: Optional[str] = None) -> AML_ENTITY Get a specified asset in the workspace. :param name: The name of the asset. :type name: str :param version: The version if the asset. Defaults to None. :type version: Optional[str], optional :returns: The specified asset. :rtype: AML_ENTITY