aboutsummaryrefslogtreecommitdiffstats
path: root/pygithub3
diff options
context:
space:
mode:
authorNat Williams <nwilliams@leapfrogonline.com>2012-04-19 09:56:56 -0500
committerNat Williams <nwilliams@leapfrogonline.com>2012-04-19 09:56:56 -0500
commitefee843e8e46894ed236811c29bb9c07e9907000 (patch)
treec7a05e271dfba88db0ac025eee07038e46625a73 /pygithub3
parentadd docs for pull requests (diff)
downloadpython-github3-efee843e8e46894ed236811c29bb9c07e9907000.tar.xz
python-github3-efee843e8e46894ed236811c29bb9c07e9907000.zip
merge request won't json encode body without schema
Diffstat (limited to 'pygithub3')
-rw-r--r--pygithub3/requests/pull_requests/__init__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/pygithub3/requests/pull_requests/__init__.py b/pygithub3/requests/pull_requests/__init__.py
index 7e85f8f..bd03f3e 100644
--- a/pygithub3/requests/pull_requests/__init__.py
+++ b/pygithub3/requests/pull_requests/__init__.py
@@ -60,3 +60,7 @@ class Merge_status(Request):
class Merge(Request):
uri = 'repos/{user}/{repo}/pulls/{number}/merge'
resource = Raw
+ body_schema = {
+ 'schema': ('commit_message',),
+ 'required': (),
+ }