Conditions | 1 |
Total Lines | 5 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | #!/usr/local/bin/python |
||
23 | def __repr__(self) -> str: |
||
24 | return 'MasterServer(ip={ip:s}, port={port:d}, hostname={hostname:s}, ' \ |
||
25 | 'response={response!r}, num_servers={num_servers:d}, request_token={request_token!r}' \ |
||
26 | .format(ip=self._ip, port=self._port, hostname=self._hostname, response=self._response, |
||
27 | num_servers=self._num_servers, request_token=self._request_token) |
||
28 | |||
48 |