code: def __init__(self, getter_function, name):
      self.getter_function = getter_function
      self.name = name
  
imports: import os
  import platform
  import re
  import subprocess
  from xml.etree import ElementTree
  import warnings
  from typing import List
  import cpuinfo
  from sacred.utils import optional_kwargs_decorator
  from sacred.settings import SETTINGS
label_desc: Use image node_id 1 to create a new HostInfoGetter object  with example: obj = HostInfoGetter(getter_function, name)