syneto_api 0.2.48__tar.gz → 0.2.49__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: syneto-api
3
- Version: 0.2.48
3
+ Version: 0.2.49
4
4
  Summary: Syneto Client API library
5
5
  Home-page: https://github.com/SynetoNet/syneto-api
6
6
  License: Proprietary
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "syneto_api"
3
- version = "0.2.48"
3
+ version = "0.2.49"
4
4
  description = "Syneto Client API library"
5
5
  authors = ["Your Name <you@example.com>"]
6
6
  license = "Proprietary"
@@ -33,5 +33,13 @@ class Central(APIClientBase):
33
33
  def get_monitoring_details(self) -> Any:
34
34
  return self.get_request("/services/monitoring")
35
35
 
36
+ def check_for_updates(self, current_version: str, update_channel: str, update_branch: str) -> Any:
37
+ details = {
38
+ "current_version": current_version,
39
+ "update_channel": update_channel,
40
+ "update_branch": update_branch
41
+ }
42
+ return self.get_request("/syneto-os-update", query_args=details)
43
+
36
44
  def health(self) -> Any:
37
45
  return self.get_request("/health")
File without changes