Skip to content

Automatic .env loading in sandbox mode #10252

Description

@hessammehr

Marimo automatically pulls a .env file co-located with pyproject.toml, but this functionality does not seem to extend to sandboxed notebooks. It would seem sensible that, in lieu of a pyproject.toml, a .env file located in the same directory as the current notebook is loaded.

If this strikes you as a feature worth considering I would be happy to submit a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions