code: def get_pet(pet_id):
      if pet_id > len(pets) - 1 or pets[pet_id].get("deleted"):
          abort(404)
      return {
          "data": pets[pet_id],
          "message": "Success!",
          "code": 200,
      }
  
file_path: apiflask/examples/base_response/app.py
imports: from apiflask import APIFlask, Schema, abort
  from apiflask.fields import Integer, String, Field
  from apiflask.validators import Length, OneOf
label_desc: Use image node_id 2 for calling a global function with example usage: get_pet(pet_id) and returns: dict