| 28 | |
| 29 | @attr.s(frozen=True) |
| 30 | class ServerInfo(object): |
| 31 | url = attr.ib() # type: str |
| 32 | pid = attr.ib() # type: int |
| 33 | |
| 34 | def __str__(self): |
| 35 | # type: () -> str |
| 36 | return "{url} @ {pid}".format(url=self.url, pid=self.pid) |
| 37 | |
| 38 | |
| 39 | @attr.s(frozen=True) |