in if/py/gen-py/fbnet/command_runner_asyncio/CommandRunner/Command.py [0:0]
def __repr__(self):
L = []
padding = ' ' * 4
if self.device_to_commands is not None:
value = pprint.pformat(self.device_to_commands, indent=0)
value = padding.join(value.splitlines(True))
L.append(' device_to_commands=%s' % (value))
if self.timeout is not None:
value = pprint.pformat(self.timeout, indent=0)
value = padding.join(value.splitlines(True))
L.append(' timeout=%s' % (value))
if self.open_timeout is not None:
value = pprint.pformat(self.open_timeout, indent=0)
value = padding.join(value.splitlines(True))
L.append(' open_timeout=%s' % (value))
if self.client_ip is not None:
value = pprint.pformat(self.client_ip, indent=0)
value = padding.join(value.splitlines(True))
L.append(' client_ip=%s' % (value))
if self.client_port is not None:
value = pprint.pformat(self.client_port, indent=0)
value = padding.join(value.splitlines(True))
L.append(' client_port=%s' % (value))
if self.uuid is not None:
value = pprint.pformat(self.uuid, indent=0)
value = padding.join(value.splitlines(True))
L.append(' uuid=%s' % (value))
return "%s(%s)" % (self.__class__.__name__, "\n" + ",\n".join(L) if L else '')