-
-
Notifications
You must be signed in to change notification settings - Fork 575
Open
Labels
apiRelated to Panel's APIRelated to Panel's APIneed input from Philipptype: enhancementMinor feature or improvement to an existing featureMinor feature or improvement to an existing feature
Milestone
Description
When creating applications that run on pyodide and especially when creating app code that should be able to run on both server and in pyodide it would be really helpful to know which environment you are in.
Right now I have to look this up every time I create apps for dual environments. Why not just make pn.state._is_pyodide public? I.e. rename to pn.state.is_pyodide.
[x] Yes. I would be willing to implement the change if I'm told this is ok.
Metadata
Metadata
Assignees
Labels
apiRelated to Panel's APIRelated to Panel's APIneed input from Philipptype: enhancementMinor feature or improvement to an existing featureMinor feature or improvement to an existing feature