Skip to content

Commit

Permalink
✨ Add __repr__ to RequestMatch
Browse files Browse the repository at this point in the history
  • Loading branch information
RafaelWO committed May 1, 2024
1 parent 5f55123 commit 95c9f5e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions aioresponses/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,9 @@ async def build_response(
reason=result.reason)
return resp

def __repr__(self) -> str:
return f"RequestMatch('{self.url_or_pattern}')"


RequestCall = namedtuple('RequestCall', ['args', 'kwargs'])

Expand Down

0 comments on commit 95c9f5e

Please sign in to comment.