Skip to content

skill: update instructions for top-level await#32

Merged
mscolnick merged 1 commit intomainfrom
ms/skill-update-instructions-for-top-level-await
Apr 15, 2026
Merged

skill: update instructions for top-level await#32
mscolnick merged 1 commit intomainfrom
ms/skill-update-instructions-for-top-level-await

Conversation

@mscolnick
Copy link
Copy Markdown
Contributor

@mscolnick mscolnick commented Apr 13, 2026

Executing Code section: added an explicit "do not wrap in async def main() + asyncio.run()" warning, with the reason (compound statements can't follow def name(): on the same line, so -c one-liners fail with SyntaxError).
Troubleshooting section: added a SyntaxError/ImportError entry clarifying that code runs in the marimo kernel via HTTP, so the local Python/uv/venv is irrelevant — fix the code, not the environment.

@mscolnick mscolnick requested a review from manzt April 13, 2026 21:14
@mscolnick mscolnick merged commit af88c3a into main Apr 15, 2026
@mscolnick mscolnick deleted the ms/skill-update-instructions-for-top-level-await branch April 15, 2026 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants