From b885d412276ff69ef7bc092fab24b354a5cf1c58 Mon Sep 17 00:00:00 2001 From: Aron Atkins Date: Wed, 26 Jun 2024 15:11:41 -0400 Subject: [PATCH] remove RSConnectClient.app_publish(); obsolete workflow (Connect 1.7.6+) --- CHANGELOG.md | 7 +++++++ rsconnect/api.py | 6 ------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4fb41d8f..fa9386a6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/rsconnect/api.py b/rsconnect/api.py index f1e871b2..e1c3d5cc 100644 --- a/rsconnect/api.py +++ b/rsconnect/api.py @@ -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)