marimo/_schemas/README.md
This directory contains the schemas for the notebook, session, and kernel messages.
marimo/_messaging/notification.py): Schema for kernel notifications sent to the clientpython scripts/generate_schemas.py to generate the OpenAPI schema.make fe-codegen to generate the frontend types.We check for backwards compatibility using a GitHub action: .github/workflows/test_schemas.yaml
This will check that the OpenAPI schema is backwards compatible.
marimo/_schemas directory.marimo edit scripts/generate_schemas.py and add the schema (should be analogous to others).make fe-codegen to generate the frontend types..github/workflows/test_schemas.yaml