Skip to content

Commit b937579

Browse files
authored
remove RSConnectClient.app_publish(); obsolete workflow (Connect 1.7.6+) (#606)
1 parent c4dd08d commit b937579

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## Unreleased
8+
9+
### Removed
10+
11+
- Uncalled `RSConnectClient.app_publish()` function, which referenced an
12+
obsolete workflow.
13+
714
## [1.24.0] - 2024-05-28
815

916
### Added

rsconnect/api.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -336,12 +336,6 @@ def app_deploy(self, app_id: str, bundle_id: Optional[int] = None) -> TaskStatus
336336
response = self._server.handle_bad_response(response)
337337
return response
338338

339-
def app_publish(self, app_id: str, access: str):
340-
return self.post(
341-
"applications/%s" % app_id,
342-
body={"access_type": access, "id": app_id, "needs_config": False},
343-
)
344-
345339
def app_config(self, app_id: str) -> ConfigureResult:
346340
response = cast(Union[ConfigureResult, HTTPResponse], self.get("applications/%s/config" % app_id))
347341
response = self._server.handle_bad_response(response)

0 commit comments

Comments
 (0)