You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We don't really document or make use of the py-mount functionality in the codebase - it's a 'convenience' function that finds all the elements on the page with the py-mount attribute, and dynamically creates Python objects pointing at those elements, where the object name is the id of the HTML element:
+1 for deprecating it.
I think it should be easy: in the next release, we show a deprecation warning in case we notice a py-mount. In the next next release, we kill it.
PRs are welcome ;)
Uh oh!
There was an error while loading. Please reload this page.
We don't really document or make use of the
py-mount
functionality in the codebase - it's a 'convenience' function that finds all the elements on the page with thepy-mount
attribute, and dynamically creates Python objects pointing at those elements, where the object name is theid
of the HTML element:pyscript/pyscriptjs/src/components/pyscript.ts
Lines 225 to 236 in e2c2459
Let's deprecate and then remove this.
(This was something the team noticed during the Plugins discussion the morning of Friday Feb 24 at the offsite.)
The text was updated successfully, but these errors were encountered: