def prettymetrics(self) -> str:
        """
        Pretty printing for metrics
        """
        rendered = ["{}: {}".format(*m) for m in self.metrics()]
        return "\n            ".join(rendered)
def prettymetrics ( self ) -> str : rendered = [ "{}: {}" . format ( * m ) for m in self . metrics ( ) ] return "\n            " . join ( rendered )
Pretty printing for metrics