We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a1bb94 commit 8ce8218Copy full SHA for 8ce8218
gitlab/objects.py
@@ -1226,7 +1226,7 @@ class ProjectFile(GitlabObject):
1226
requiredCreateAttrs = ['file_path', 'branch_name', 'content',
1227
'commit_message']
1228
optionalCreateAttrs = ['encoding']
1229
- requiredDeleteAttrs = ['branch_name', 'commit_message']
+ requiredDeleteAttrs = ['branch_name', 'commit_message', 'file_path']
1230
getListWhenNoId = False
1231
shortPrintAttr = 'file_path'
1232
getRequiresId = False
0 commit comments