code: def dictfetchone(cursor: Cursor) -> Optional[Dict[str, Any]]:
      
      columns = get_fieldnames_from_cursor(cursor)
      row = cursor.fetchone()
      if not row:
          return None
      return OrderedDict(zip(columns, row))
docs: Return the next row from a cursor as an :class:`OrderedDict`, or ``None``.