Skip to content

Function return type is missing in the live doc panel #8210

@dimk90

Description

@dimk90

Describe the bug

The function return type is missing in the live doc panel:

Image

Will you submit a PR?

  • Yes

Environment

Details
{
  "marimo": "0.19.9",
  "editable": false,
  "OS": "Linux",
  "OS Version": "6.6.87.2-microsoft-standard-WSL2",
  "Processor": "",
  "Python Version": "3.12.12",
  "Locale": "--",
  "Binaries": {
    "Browser": "--",
    "Node": "v25.2.1"
  },
  "Dependencies": {
    "click": "8.3.1",
    "docutils": "0.22.4",
    "itsdangerous": "2.2.0",
    "jedi": "0.19.2",
    "markdown": "3.10.1",
    "narwhals": "2.16.0",
    "packaging": "26.0",
    "psutil": "7.2.2",
    "pygments": "2.19.2",
    "pymdown-extensions": "10.20.1",
    "pyyaml": "6.0.3",
    "starlette": "0.52.1",
    "tomlkit": "0.14.0",
    "typing-extensions": "4.15.0",
    "uvicorn": "0.40.0",
    "websockets": "16.0"
  },
  "Optional Dependencies": {
    "loro": "1.10.3",
    "openai": "2.17.0",
    "python-lsp-server": "1.14.0"
  },
  "Experimental Flags": {}
}

Code to reproduce

  1. Run a simple notebook with 2 cells:

     import marimo
     
     __generated_with = "0.19.9"
     app = marimo.App(width="medium")
     
     @app.cell
     def _():
         import marimo as mo
         return (mo,)
     
     @app.cell
     def _(mo):
         mo.hstack()
         return
     
     if __name__ == "__main__":
         app.run()
  2. Open the live doc panel and move the cursor to the hstack function in the second cell.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions