code: def delete_pet(pet_id):
      pet = db.get_or_404(PetModel, pet_id)
      db.session.delete(pet)
      db.session.commit()
      return ""
  
file_path: apiflask/examples/orm/app.py
imports: from apiflask import APIFlask, Schema
  from apiflask.fields import Integer, String
  from apiflask.validators import Length, OneOf
  from flask_sqlalchemy import SQLAlchemy
label_desc: Use image node_id 7 for calling a global function with example usage: delete_pet(pet_id) and returns: str