Open crazycapivara opened 5 months ago
Because Pyodide ships with an old version of pydantic, it could make sense to switch to dataclass in order to make examples work in shinylive.
dataclass
May check if model_dump method is available. If not add it by using json method of pydantic v1
model_dump
json
Not needed anymore. Latest version of Shiny Live supports pydantic > 2
Because Pyodide ships with an old version of pydantic, it could make sense to switch to
dataclass
in order to make examples work in shinylive.