def _FieldDictKey((fdef, _, flags, fn)):
  assert fdef.name and fdef.title, "Name and title are required"
  assert FIELD_NAME_RE.match(fdef.name)
  assert TITLE_RE.match(fdef.title)
  assert (DOC_RE.match(fdef.doc) and len(fdef.doc.splitlines()) == 1 and
          fdef.doc.strip() == fdef.doc), \
         "Invalid description for field '%s'" % fdef.name
  assert callable(fn)
  assert (flags & ~QFF_ALL) == 0, "Unknown flags for field '%s'" % fdef.name

  return fdef.name
Return a time formatted according to the given pattern.
dataset/ETHPy150Open ganeti/ganeti/lib/query.py/_FieldDictKey--crossover with--dataset/ETHPy150Open ibagrak/algae/gae/libs/babel/support.py/Format.time