@classmethod
  def get_ip_port(cls, ip=None, port=None):
    ip = ip or os.environ.get('LIBPROCESS_IP', '0.0.0.0')
    try:
      port = int(port or os.environ.get('LIBPROCESS_PORT', 0))
    except __HOLE__:
      raise cls.Error('Invalid ip/port provided')
    return ip, port
dataset/ETHPy150Open wickman/compactor/compactor/context.py/Context.get_ip_port