Streams support
#4307
Replies: 2 comments 3 replies
-
Is it possible to process a selected file on a browser side without uploading it to a server? |
Beta Was this translation helpful? Give feedback.
3 replies
-
This might be useful re: files: pyodide/pyodide#679 (comment) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
The thing that would absolutely benefit Flet is streams support.
Currently,
Audio
,AudioRecorder
,FilePicker
controls are rather limited in functionality, in their current state, the controls are assuming that all developers want to for example upload the file to specific pre-signed URL, rather than parse file directly in for example client's browser. Similar story with Audio/AudioRecorder where we are expected to either record to file or play from specific path/url.Adding for example
content
field of typeBytesIO
toFilePickerFile
would make FilePicker on theweb
actually useful, because in current form it's practically useless - assuming you actually don't want to upload anything to server, or the server expects custom POST/PUT request (not the pre-signed URL).Beta Was this translation helpful? Give feedback.
All reactions