Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Add slightly better representation than built-in
Browse files Browse the repository at this point in the history
  • Loading branch information
MadLittleMods committed Jul 11, 2023
1 parent f067e6a commit 4c17080
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions synapse/http/proxyagent.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,9 @@ def __init__(self, endpoints: Sequence[IStreamClientEndpoint]) -> None:
assert endpoints
self._endpoints = endpoints

def __repr__(self) -> str:
return f"<_ProxyEndpoints endpoints={self._endpoints}>"

def connect(
self, protocol_factory: IProtocolFactory
) -> "defer.Deferred[IProtocol]":
Expand Down

0 comments on commit 4c17080

Please sign in to comment.