docstr: Delete a pet
docstr_tok: ["Delete","a","pet"]
code: def delete(self, pet_id):
      """Delete a pet"""
      if pet_id > len(pets) - 1:
          abort(404)
      pets[pet_id]["deleted"] = True
      pets[pet_id]["name"] = "Ghost"
      return ""
  
file_path: apiflask/examples/cbv/app.py
imports: from apiflask import APIFlask, Schema, abort
  from apiflask.fields import Integer, String
  from apiflask.validators import Length, OneOf
  from flask.views import MethodView
label_desc: Use image node_id 3 for calling the Pet obj's underlying member method code with example usage: obj.delete(pet_id) and returns: str