ebonite.repository.artifact.local module

class ebonite.repository.artifact.local.LocalArtifactRepository(path: str = None)[source]

Bases: ebonite.repository.artifact.base.ArtifactRepository

ArtifactRepository implementation which stores artifacts in a local file system as directory

Param:path: path to directory where artifacts are to be stored, if None “local_storage” directory in Ebonite distribution is used
type = 'local'
get_artifact(artifact_type, artifact_id: str) → ebonite.core.objects.artifacts.ArtifactCollection[source]
push_artifact(artifact_type, artifact_id: str, blobs: Dict[str, ebonite.core.objects.artifacts.Blob]) → ebonite.core.objects.artifacts.ArtifactCollection[source]
delete_artifact(artifact_type, artifact_id: str)[source]