Skip to content

Conversation

WebReflection
Copy link
Contributor

Description

This MR fixes #2040 by providing a config entry in the pyscript module.

/cc @ntoll

Changes

  • updated polyscript to its latest which augments custom scripts on both main and worker with an extra config object literal
  • change the pyscript stdlib to provide a Pythonic version of such config instead
  • test via integration both main and worker scripts get the config and can introspect it

Checklist

  • All tests pass locally
  • I have updated CHANGELOG.md
  • I have created documentation for this(if applicable) - documentation actually on polyscript side

Copy link
Member

@ntoll ntoll left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@WebReflection WebReflection merged commit 5b4e852 into pyscript:main May 2, 2024
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