diff --git a/CHANGELOG.md b/CHANGELOG.md index 731f975..08cba43 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,12 @@ All notable changes to the `python-domino` library will be documented in this fi ### Changed +## 1.4.3 + +### Added + +Support environmentId and externalVolumeMountIds in app_publish + ## 1.4.2 ### Added diff --git a/domino/_version.py b/domino/_version.py index daa50c7..aa56ed4 100644 --- a/domino/_version.py +++ b/domino/_version.py @@ -1 +1 @@ -__version__ = "1.4.2" +__version__ = "1.4.3" diff --git a/domino/domino.py b/domino/domino.py index 13d70ee..0609413 100644 --- a/domino/domino.py +++ b/domino/domino.py @@ -889,7 +889,7 @@ def collaborators_remove(self, username_or_email): return response # App functions - def app_publish(self, unpublishRunningApps=True, hardwareTierId=None): + def app_publish(self, unpublishRunningApps=True, hardwareTierId=None, environmentId=None, externalVolumeMountIds=None): if unpublishRunningApps: self.app_unpublish() app_id = self._app_id @@ -897,7 +897,11 @@ def app_publish(self, unpublishRunningApps=True, hardwareTierId=None): # No App Exists creating one app_id = self.__app_create(hardware_tier_id=hardwareTierId) url = self._routes.app_start(app_id) - request = {"hardwareTierId": hardwareTierId} + request = { + "hardwareTierId": hardwareTierId, + "environmentId": environmentId, + "externalVolumeMountIds": externalVolumeMountIds + } response = self.request_manager.post(url, json=request) return response