def __repr__()

in if/py/gen-py/fbnet/command_runner_asyncio/CommandRunner/Command.py [0:0]


  def __repr__(self):
    L = []
    padding = ' ' * 4
    if self.command is not None:
      value = pprint.pformat(self.command, indent=0)
      value = padding.join(value.splitlines(True))
      L.append('    command=%s' % (value))
    if self.device is not None:
      value = pprint.pformat(self.device, indent=0)
      value = padding.join(value.splitlines(True))
      L.append('    device=%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 '')