Skip to content

store

MLTE artifact store interface implementation.

ArtifactStore

Bases: Store

An abstract artifact store.

A Store instance is the "static" part of a store configuration. In contrast, a StoreSession represents an active session with the store.

Source code in mlte/store/artifact/store.py
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
class ArtifactStore(Store):
    """
    An abstract artifact store.

    A Store instance is the "static" part of a store configuration.
    In contrast, a StoreSession represents an active session with the store.
    """

    def session(self) -> ArtifactStoreSession:
        """
        Return a session handle for the store instance.
        :return: The session handle
        """
        raise NotImplementedError("Can't call session on a base Store.")

session()

Return a session handle for the store instance.

Returns:

Type Description
ArtifactStoreSession

The session handle

Source code in mlte/store/artifact/store.py
17
18
19
20
21
22
def session(self) -> ArtifactStoreSession:
    """
    Return a session handle for the store instance.
    :return: The session handle
    """
    raise NotImplementedError("Can't call session on a base Store.")