FALLBACK_CACHE

getmac.getmac.FALLBACK_CACHE: dict[str, list[Method]] = {'default_iface': [], 'iface': [], 'ip4': [], 'ip6': []}

Order of methods is determined by:

  • Platform + version

  • Performance (file read > command)

  • Reliability (how well I know/understand the command to work)