diff --git a/dvc/hash_info.py b/dvc/hash_info.py index cfba288ca..077faf1f1 100644 --- a/dvc/hash_info.py +++ b/dvc/hash_info.py @@ -21,6 +21,9 @@ class HashInfo: def __bool__(self): return bool(self.value) + def __str__(self): + return f"{self.name}: {self.value}" + @classmethod def from_dict(cls, d): _d = d.copy() if d else {}