We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We need a method to expose a file from a Textual app which save it locally, or downloads it when running as a web application.
Locally the file would be copied to a pre-determined directory. Probably ~/Downloads or whatever makes sense on the OS.
~/Downloads
As a web application, the browser would treat it as a download.
The API would be something like this (on App):
def save_file(self, path_or_filelilke, mime_type:str, download:bool) -> None: ...
The text was updated successfully, but these errors were encountered:
Don't forget to star the repository!
Follow @textualizeio for Textual updates.
Sorry, something went wrong.
darrenburns
No branches or pull requests
We need a method to expose a file from a Textual app which save it locally, or downloads it when running as a web application.
Locally the file would be copied to a pre-determined directory. Probably
~/Downloads
or whatever makes sense on the OS.As a web application, the browser would treat it as a download.
The API would be something like this (on App):
TBD
The text was updated successfully, but these errors were encountered: