Replace Streamlit app files
fastero_replace_streamlit_filesReplace ALL of a Streamlit app's files with the ones sent — any file left out is deleted. It suits deploying a whole folder; fastero_write_streamlit_file changes one file. A running app picks up code changes in about 5 seconds; a changed requirements.txt applies on the next start. An app imported from Git keeps these edits across its starts until they're sent to its repository as a pull request, or discarded, from the app's workspace.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appId | Yes | A Streamlit app’s id, from fastero_list_streamlit_apps. | |
| files | Yes | The app's files. Each is { name, content, path? }: name has no slashes, path is the folder inside the app ('.' — the default — for the top level). The platform always runs app.py at the top level, so include it; add requirements.txt for extra packages. | |
| projectId | Yes | The project’s id, from fastero_list_projects. |