Repository navigation
Conversation
☂️ Python Coverage
Overall Coverage
New FilesNo new covered files... Modified Files
|
mmarchetti
left a comment
There was a problem hiding this comment.
Looks good. TIL about click's deprecated flag.
|
since we have a |
|
We have used the Should we continue to allow |
Oh - I did not know that. I was working under the assumption that it only deployed Flask applications. Let me make another pass taking this into account. |
|
See @aronatkins's comment above. I will open a new pull request when that work is ready. |
|
@tdstein - you may want to also coordinate with the posit.cloud folks in case they have documentation that needs updating. I did a quick look at https://posit.cloud/learn/guide, but may have missed something. |
Intent
Renames commands using the
apinomenclature to useflaskinstead.Closes #491
Type of Change
Approach
This change adds the
flasktarget to thedeployandwrite-manifestcommands and deprecates theapitarget. Sinceapiis designed forflaskfunctionality, a new AppMode is not required. Instead, theAppModes.PTYHON_APIis reused.The existing
apicommands are marked as deprecated to ensure backward compatibility.Automated Tests
Existing tests for the
apicommand are refactored to useflask.Directions for Reviewers
deploy flask.write-manifest flask.Checklist