Skip to content

Commit

Permalink
repr for filters
Browse files Browse the repository at this point in the history
  • Loading branch information
prostomarkeloff committed Apr 13, 2020
1 parent 4faf259 commit 5f07137
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vkwave/bots/core/dispatching/filters/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ def __not__(self) -> "NotFilter":
def __or__(self, other: "BaseFilter") -> "OrFilter":
return OrFilter(self, other)

def __repr__(self) -> str:
return "%s(%r)" % (self.__class__, self.__dict__)

# sfilter: some filter

Expand Down

0 comments on commit 5f07137

Please sign in to comment.