def Stat(self, urns, token=None):
    if token is None:
      token = data_store.default_token

    if isinstance(urns, basestring):
      raise RuntimeError("Expected an iterable, not string.")
    for subject, values in data_store.DB.MultiResolvePrefix(
        urns, ["aff4:type", "metadata:last"], token=token):
      res = dict(urn=rdfvalue.RDFURN(subject))
      for v in values:
        if v[0] == "aff4:type":
          res["type"] = v
        elif v[0] == "metadata:last":
          res["last"] = rdfvalue.RDFDatetime(v[1])
      yield res
Write an NDEF tag configuration to the YubiKey NEO.
dataset/ETHPy150Open google/grr/grr/lib/aff4.py/Factory.Stat--crossover with--dataset/ETHPy150Open Yubico/python-yubico/yubico/yubikey_neo_usb_hid.py/YubiKeyNEO_USBHID.write_ndef