docs: def _emit(self, **kwargs):
          '''
          Emit an OpenConfig object given a certain combination of
          fields mappeed in the config to the corresponding hierarchy.
          '''
          oc_dict = {}
          for mapping, result_key in kwargs['mapping']['variables'].items():
              result = kwargs[result_key]
              oc_dict = napalm_logs.utils.setval(mapping.format(**kwargs), result, oc_dict)
          for mapping, result in kwargs['mapping']['static'].items():
              oc_dict = napalm_logs.utils.setval(mapping.format(**kwargs), result, oc_dict)
  
          return oc_dict