Skip to content

Conversation

@koaning
Copy link
Contributor

@koaning koaning commented Nov 27, 2025

I kept hitting my head when I tried to do dict(mo.cli_args()) but then I checked the implementation and noticed some missing verbs.

I also noticed that we don't really document CLIArgs even though it is public. I can add those docs if we feel strongly. I guess I don't as long as the object really does behave like a dict when it comes to getting data out of it.

@koaning koaning requested a review from dmadisetti as a code owner November 27, 2025 14:28
@vercel
Copy link

vercel bot commented Nov 27, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
marimo-docs Ready Ready Preview Comment Nov 27, 2025 4:14pm

@koaning koaning changed the title allow dict() and .items() allow dict() and .items() on CLIArgs Nov 27, 2025
@koaning koaning added the enhancement New feature or request label Nov 27, 2025
@koaning koaning merged commit 9e6d2e9 into main Nov 28, 2025
39 of 41 checks passed
@koaning koaning deleted the more-dictlike-args branch November 28, 2025 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants