Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: remove repeated calls to self._get_reason (#1513)
self._get_reason is being called in \_\_init\_\_ (#1185) , so why not save it then? also in the \_\_repr\_\_ function we got the reason by calling the _get_reason function right in the beginning, but was then called again.
- Loading branch information
Showing
1 changed file
with
5 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters