Skip to content

Commit

Permalink
ADCM-1012 add functions to view and accept license
Browse files Browse the repository at this point in the history
  • Loading branch information
acmnu committed Jan 27, 2020
1 parent 2971bfe commit 0b3708a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions adcm_client/objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,12 @@ def cluster(self, **args) -> "Cluster":
raise IncorrectPrototypeType
return prototype.cluster(**args)

def license(self):
return self._subcall("license", "read")

def license_accept(self):
self._subcall("license", "accept", "update")


class BundleList(BaseAPIListObject):
_ENTRY_CLASS = Bundle
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

setuptools.setup(
name="adcm_client",
version="2019.12.16.15",
version="2020.01.27.16",
author="Anton Chevychalov",
author_email="[email protected]",
description="ArenaData Cluster Manager Client",
Expand Down

0 comments on commit 0b3708a

Please sign in to comment.