code: def create_hero(hero: Hero):
      with Session(engine) as session:
          session.add(hero)
          session.commit()
          session.refresh(hero)
          return hero
  
imports: from fastapi import FastAPI
  from sqlmodel import Field, Session, SQLModel, create_engine, select
label_desc: Use image node_id 3 for calling a global function with example usage: create_hero(hero) and returns: hero