code: def read_heroes(
      *,
      session: Session = Depends(get_session),
      offset: int = 0,
      limit: int = Query(default=100, le=100),
  ):
      heroes = session.exec(
          select(Hero).offset(offset).limit(limit)
      ).all()
      return heroes
  
file_path: sqlmodel/docs_src/tutorial/fastapi/app_testing/tutorial001_py310/main.py
imports: from fastapi import Depends, FastAPI, HTTPException, Query
  from sqlmodel import Field, Session, SQLModel, create_engine, select
label_desc: Use image node_id 5 for calling a global function with example usage: read_heroes() and returns: heroes