streamlit-extras icon indicating copy to clipboard operation
streamlit-extras copied to clipboard

Patch requests for stlite playgrounds which require GET calls

Open arnaudmiribel opened this issue 1 year ago • 0 comments

Description

Stlite playgrounds are disabled for certain extras because they require GET requests to collect a dataset and requests doesn't work by default with pyodide. Fortunately though, there's a library which offers a patch to that! See code here https://github.com/koenvo/pyodide-http#supported-packages - we may just add a parameter patch_requests which would add the following requirements to stlite as well as the necessary header code!

arnaudmiribel avatar Oct 23 '23 09:10 arnaudmiribel