rsconnect-python
rsconnect-python copied to clipboard
send content category to Posit Cloud API
Intent
Resolves https://github.com/rstudio/rsconnect-python/issues/474. Dependent on https://github.com/rstudio/rsconnect-python/pull/477.
Type of Change
Enhancement
Approach
Includes a change to the functions passed to make_bundle to return the Manifest and the bundle file bytes so that can pass the content category to Posit Cloud's API.
Automated Tests
Updated some tests to handle the case where content_category is non-None.
Directions for Reviewers
Deploy and redeploy Quarto content to Posit Cloud.
Checklist
- [ ] I have updated CHANGELOG.md to cover notable changes. probably not notable enough for a changelog entry
- [x] I have updated all related GitHub issues to reflect their current state.
☂️ Python Coverage
current status: ✅
Overall Coverage
| Lines | Covered | Coverage | Threshold | Status |
|---|---|---|---|---|
| 4268 | 2761 | 65% | 0% | 🟢 |
New Files
No new covered files...
Modified Files
| File | Coverage | Status |
|---|---|---|
| rsconnect/actions.py | 33% | 🟢 |
| rsconnect/api.py | 68% | 🟢 |
| rsconnect/bundle.py | 80% | 🟢 |
| rsconnect/main.py | 55% | 🟢 |
| TOTAL | 59% | 🟢 |
updated for commit:
04affc0by action🐍
Tested this using a rendered Rmd (rsconnect deploy html) and a quarto doc (`rsconnect deploy quarto).