Skip to content

Commit

Permalink
feat: 优化对象 __repr__ 表示
Browse files Browse the repository at this point in the history
  • Loading branch information
FHU-yezi committed Jan 26, 2025
1 parent 9c0c1d2 commit 757cbff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion jkit/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ def __repr__(self) -> str:


class ResourceObject:
pass
def __repr__(self) -> str:
return f"{self.__class__.__name__}()"


class CheckableMixin(metaclass=ABCMeta):
Expand Down

0 comments on commit 757cbff

Please sign in to comment.