harden delivery pipeline and production runtime
This commit is contained in:
@@ -23,8 +23,8 @@ class ModelRegistry:
|
||||
|
||||
def register(self, artifact: TrainedArtifact) -> TrainedArtifact:
|
||||
self._validate_artifact_id(artifact.artifact_id)
|
||||
self._artifacts[artifact.artifact_id] = artifact
|
||||
self._persist(artifact)
|
||||
self._artifacts[artifact.artifact_id] = artifact
|
||||
return artifact
|
||||
|
||||
def load_artifact(self, artifact_id: str) -> TrainedArtifact:
|
||||
|
||||
Reference in New Issue
Block a user