Coverage for src/mlopus/mlflow/api/common/exceptions.py: 60%

5 statements  

« prev     ^ index     » next       coverage.py v7.6.1, created at 2025-07-13 14:49 +0000

1from pathlib import Path 

2 

3 

4class FailedToPublishArtifact(Exception): 

5 """Failed to add artifact.""" 

6 

7 def __init__(self, source: Path): 

8 super().__init__(str(source)) 

9 self.source = source