Skip to content

Commit

Permalink
remove RSConnectClient.app_publish(); obsolete workflow (Connect 1.7.6+)
Browse files Browse the repository at this point in the history
  • Loading branch information
aronatkins committed Jun 27, 2024
1 parent c4dd08d commit ae98f0f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased

### Removed

- Uncalled `RSConnectClient.app_publish()` function, which referenced an
obsolete workflow.

## [1.24.0] - 2024-05-28

### Added
Expand Down
6 changes: 0 additions & 6 deletions rsconnect/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,12 +336,6 @@ def app_deploy(self, app_id: str, bundle_id: Optional[int] = None) -> TaskStatus
response = self._server.handle_bad_response(response)
return response

def app_publish(self, app_id: str, access: str):
return self.post(
"applications/%s" % app_id,
body={"access_type": access, "id": app_id, "needs_config": False},
)

def app_config(self, app_id: str) -> ConfigureResult:
response = cast(Union[ConfigureResult, HTTPResponse], self.get("applications/%s/config" % app_id))
response = self._server.handle_bad_response(response)
Expand Down

0 comments on commit ae98f0f

Please sign in to comment.