Add set_mergeable

This commit is contained in:
Konstantin Knizhnik
2023-11-16 23:55:30 +01:00
parent 012f22c36d
commit 71bd53c646
10 changed files with 192 additions and 24 deletions

View File

@@ -1174,6 +1174,22 @@ class NeonCli(AbstractNeonCli):
res = self.raw_cli(args)
res.check_returncode()
def set_mergeable(
self,
endpoint: Endpoint):
"""
Merge two branches
"""
args = [
"timeline",
"set_mergeable",
"--endpoint",
str(endpoint.endpoint_id),
]
res = self.raw_cli(args)
res.check_returncode()
def create_tenant(
self,
tenant_id: Optional[TenantId] = None,