Title: pull-requests - raise TypeError and better docs by iartarisi · Pull Request #57 · ask/python-github2 · GitHub
Open Graph Title: pull-requests - raise TypeError and better docs by iartarisi · Pull Request #57 · ask/python-github2
X Title: pull-requests - raise TypeError and better docs by iartarisi · Pull Request #57 · ask/python-github2
Description: I spent a good amount of time trying to figure out the proper way to call the PullRequests.create method. I'm raising a TypeError because if the user doesn't specify a title, a NoneType error will be raised later. Maybe it would be a good idea to also write an example of the call with the format for the project name. For now I've just tried to make it more obvious which project the 'project' parameter refers to.
Open Graph Description: I spent a good amount of time trying to figure out the proper way to call the PullRequests.create method. I'm raising a TypeError because if the user doesn't specify a title, a NoneType err...
X Description: I spent a good amount of time trying to figure out the proper way to call the PullRequests.create method. I'm raising a TypeError because if the user doesn't specify a title, a None...
Opengraph URL: https://github.com/ask/python-github2/pull/57
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:def2d30a-70d7-b669-1689-3ca333be2154 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 894E:C2FFC:22DFB9A:2CE0DA8:6974AE19 |
| html-safe-nonce | 51d304df92349d790734cd53e99e7ebc67aa5669dcc2aec40630590661fbf4b6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OTRFOkMyRkZDOjIyREZCOUE6MkNFMERBODo2OTc0QUUxOSIsInZpc2l0b3JfaWQiOiI3NjAwNjEyNzkxNTEzNTU4NTUzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | f100d5b03c493b9953a581e0c6796436d38b4bca1b298eaa1acf83524627cfd4 |
| hovercard-subject-tag | pull_request:219243 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/ask/python-github2/pull/57/files |
| twitter:image | https://avatars.githubusercontent.com/u/35473?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/35473?s=400&v=4 |
| og:image:alt | I spent a good amount of time trying to figure out the proper way to call the PullRequests.create method. I'm raising a TypeError because if the user doesn't specify a title, a NoneType err... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4a4bf5f4e28041a9d2e5c107d7d20b78b4294ba261cab243b28167c16a623a1f |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/ask/python-github2 git https://github.com/ask/python-github2.git |
| octolytics-dimension-user_id | 1558 |
| octolytics-dimension-user_login | ask |
| octolytics-dimension-repository_id | 179358 |
| octolytics-dimension-repository_nwo | ask/python-github2 |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 179358 |
| octolytics-dimension-repository_network_root_nwo | ask/python-github2 |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 488b30e96dfd057fbbe44c6665ccbc030b729dde |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width