MCPcopy Create free account
hub / github.com/Python3WebSpider/ProxyPool / __str__

Method __str__

proxypool/schemas/proxy.py:12–17  ·  view source on GitHub ↗

to string, for print :return:

(self)

Source from the content-addressed store, hash-verified

10 port = attr(type=int, default=None)
11
12 def __str__(self):
13 """
14 to string, for print
15 :return:
16 """
17 return f'{self.host}:{self.port}'
18
19 def string(self):
20 """

Callers 1

stringMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected