Skip to content

Conversation

@wch
Copy link
Collaborator

@wch wch commented Apr 12, 2024

This fixes a bug reported in posit-dev/py-shiny#1302 (comment).

The original error could be reproduced when redeploying an app with --app-id, as in:

rsconnect deploy shiny -n colorado -a e03d7b2a-b8b1-4866-9809-01732d9eafef myapp

The problem was that I had changed the code to use app.app_id instead of app["app_id"].

I also corrected some of the types listed in ContentItemV0.

@github-actions
Copy link

github-actions bot commented Apr 12, 2024

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
4733 3533 75% 0% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
rsconnect/api.py 71% 🟢
rsconnect/models.py 92% 🟢
TOTAL 82% 🟢

updated for commit: a7c6b30 by action🐍

@wch wch changed the title Fix usage of `AppModes.ge_ by ordinal Fix usage of AppModes.get_by_ordinal Apr 12, 2024
@wch wch marked this pull request as ready for review April 12, 2024 04:44
@wch wch requested a review from mmarchetti April 12, 2024 04:44
@wch wch merged commit 4e290ce into master Apr 12, 2024
@wch wch deleted the fix-get-by-ordinal branch April 12, 2024 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants