We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09e4a64 commit 97e2689Copy full SHA for 97e2689
gitlab.py
@@ -701,11 +701,11 @@ class Issue(GitlabObject):
701
class ProjectBranch(GitlabObject):
702
_url = '/projects/%(project_id)s/repository/branches'
703
idAttr = 'name'
704
- canDelete = False
705
canUpdate = False
706
- canCreate = False
707
requiredGetAttrs = ['project_id']
708
requiredListAttrs = ['project_id']
+ requiredCreateAttrs = ['project_id', 'branch_name', 'ref']
+ requiredDeleteAttrs = ['project_id']
709
_constructorTypes = {'commit': 'ProjectCommit'}
710
711
def protect(self, protect=True):
0 commit comments