1 parent 6d8d4fc commit 4eef4f9Copy full SHA for 4eef4f9
1 file changed
hypernode_api_python/client.py
@@ -630,6 +630,19 @@ def order_hypernode(self, data):
630
"""
631
return self.requests("POST", HYPERNODE_API_APP_ORDER_ENDPOINT, data=data)
632
633
+ def get_active_branchers(self, app_name):
634
+ """
635
+ List all active brancher nodes of your Hypernode.
636
+
637
+ :param str app_name: The name of the Hypernode to create the branch from
638
+ :return obj response: The request response object
639
640
+ HYPERNODE_API_APP_BRANCHER_ENDPOINT = "/v2/app/{}/brancher/"
641
642
+ return self.requests(
643
+ "GET", HYPERNODE_API_APP_BRANCHER_ENDPOINT.format(app_name)
644
+ )
645
646
def create_brancher(self, app_name, data):
647
648
Create a new branch (server replica) of your Hypernode.
0 commit comments