Skip to content

Commit 4236e59

Browse files
Dmitriy DiachkovDmitriy Diachkov
authored andcommitted
Add docstring
1 parent 5b6966c commit 4236e59

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

atlassian/bamboo.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,12 @@ def create_branch(self, plan_key, branch_name, vcs_branch=None, enabled=False, c
373373
return self.put(self.resource_url(resource), params=params)
374374

375375
def get_branch_info(self, plan_key, branch_name):
376-
376+
"""
377+
Get information about a plan branch
378+
:param plan_key:
379+
:param branch_name:
380+
:return:
381+
"""
377382
resource = 'plan/{plan_key}/branch/{branch_name}'.format(plan_key=plan_key, branch_name=branch_name)
378383
return self.get(self.resource_url(resource))
379384

0 commit comments

Comments
 (0)