Added
- If an entrypoint is not specified with `--entrypoint`, rsconnect-python will attempt
to choose an entrypoint file. It looks for common names (`app.py`, `application.py`,
`main.py`, `api.py`). If there is a single python source file in the directory,
that will be used as the entrypoint.
rsconnect-python does not inspect the file contents to identify the object name, which must be
one of the default names that Connect expects (`app`, `application`, `create_app`, or `make_app`).
- Ability to hide code cells when rendering Jupyter notebooks.
After setting up Connect (>=1.9.0) and rsconnect-python, the user can render a Jupyter notebook without its corresponding code cells by passing the ' hide-all-input' flag through the rsconnect cli:
rsconnect deploy notebook \
--server https://connect.example.org:3939 \
--api-key my-api-key \
--hide-all-input \
mynotebook.ipynb
To selectively hide the input of cells, the user can add a tag call 'hide_input' to the cell, then pass the ' hide-tagged-input' flag through the rsconnect cli:
rsconnect deploy notebook \
--server https://connect.example.org:3939 \
--api-key my-api-key \
--hide-tagged-input \
mynotebook.ipynb