Skip to content

[playground] fix Python Emitter module loading for playground#10557

Merged
JennyPng merged 8 commits into
microsoft:mainfrom
JennyPng:python-module-loading
Apr 30, 2026
Merged

[playground] fix Python Emitter module loading for playground#10557
JennyPng merged 8 commits into
microsoft:mainfrom
JennyPng:python-module-loading

Conversation

@JennyPng
Copy link
Copy Markdown
Member

@JennyPng JennyPng commented Apr 29, 2026

  • don't reload Pyodide on every single TypeSpec change in the playground, only load once

  • also increased debounce for Python slightly

@JennyPng JennyPng changed the title [playground] fix Python Emitter module loading [playground] fix Python Emitter module loading for playground Apr 29, 2026
@microsoft-github-policy-service microsoft-github-policy-service Bot added the emitter:client:python Issue for the Python client emitter: @typespec/http-client-python label Apr 29, 2026
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Apr 29, 2026

Open in StackBlitz

npm i https://pkg.pr.new/@typespec/http-client-python@10557

commit: 0532f05

@azure-sdk
Copy link
Copy Markdown
Collaborator

azure-sdk commented Apr 29, 2026

You can try these changes here

🛝 Playground 🌐 Website 🛝 VSCode Extension

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 29, 2026

All changed packages have been documented.

  • @typespec/http-client-python
Show changes

@typespec/http-client-python - fix ✏️

Update Python emitter browser behavior to only load Pyodide once instead of on every emit

@JennyPng JennyPng added this pull request to the merge queue Apr 30, 2026
Merged via the queue into microsoft:main with commit cc29c43 Apr 30, 2026
47 checks passed
@JennyPng JennyPng deleted the python-module-loading branch April 30, 2026 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

emitter:client:python Issue for the Python client emitter: @typespec/http-client-python eng meta:website TypeSpec.io updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants