Skip to content

Commit

Permalink
fix(Printing): Took out annoying printing in debug mode. (#231)
Browse files Browse the repository at this point in the history
* fix(Printing): Took out annoying printing in debug mode.

* chore
  • Loading branch information
szemyd authored Aug 7, 2023
1 parent 26df069 commit 2f9ba86
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/krisi/evaluate/scorecard.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,14 +250,6 @@ def __getitem__(self, key: Union[str, List[str]]) -> Union["ScoreCard", Metric]:
def __delitem__(self, key: str) -> None:
del self[key]

def __repr__(self) -> str:
self.print(mode=PrintMode.minimal)
return super().__repr__()

def __str__(self) -> str:
self.print(mode=PrintMode.minimal)
return ""

def __setattr__(self, key: str, item: Any) -> None:
"""
Defines Dictionary like behaviour and ensures that a Metric can be
Expand Down

0 comments on commit 2f9ba86

Please sign in to comment.