code: def read_heroes():
      with Session(engine) as session:
          heroes = session.exec(select(Hero)).all()
          return heroes
  
file_path: sqlmodel/docs_src/tutorial/fastapi/multiple_models/tutorial002_py310.py
imports: from fastapi import FastAPI
  from sqlmodel import Field, Session, SQLModel, create_engine, select
label_desc: Use image node_id 4 for calling a global function with example usage: read_heroes() and returns: heroes