marimo-team/marimo

FastAPI example in documentation does not run

Closed this issue · 1 comments

Documentation is

  • Missing
  • Outdated
  • Confusing
  • Not sure?

Explain in Detail

The example code provided on https://docs.marimo.io/guides/deploying/programmatically.html won't run, and seems to be missing some bits? I.e. there is the line app.add_middleware(auth_middleware), but the variable auth_middleware isn't defined.

Your Suggestion for Changes

A working example would be lovely, I'd like to try this!