from typing import Optional
from fastapi import FastAPI
from sqlalchemy.sql.expression import table
from sqlmodel import (
    SQLModel,
    Field,
    create_engine,
    select,
    Session

)

engine = create_engine('sqlite:///database.db')

class Pessoa(SQLModel, table=True):
    id : Optional[int] = 