Kyle Hornberg
cdd7c69730
Refactor and restyle
2020-04-13 16:29:41 -05:00
Kyle Hornberg
ddacfed1ff
Style with black
2020-04-13 16:19:27 -05:00
Kyle Hornberg
ad6abe85f1
Add deprectaed methods to the objects
...
Fixes #90
2020-04-13 14:59:48 -05:00
Kyle Hornberg
98ce6ca364
Switch to using black
2020-01-17 11:49:05 -06:00
Kyle Hornberg
2758d98ed3
Refactor and style
2020-01-16 16:32:08 -06:00
Kyle Hornberg
7a9242d711
Refactor for OpenAPI
2020-01-16 16:31:40 -06:00
Kyle Hornberg
262f1fd4eb
Test: Update tests from breaking changes in routes
2019-04-16 20:56:41 -05:00
Kyle Hornberg
958198b20e
Style: yapf
2019-04-16 20:25:09 -05:00
Kyle Hornberg
e5a2c6ab89
Style: flake8
2019-04-16 15:50:07 -05:00
Kyle Hornberg
c590f27169
Bug Fix: Properly verify and check required nested parameters
2019-04-16 15:50:07 -05:00
Kyle Hornberg
be18953374
Fix style
2019-04-15 15:17:31 -05:00
Kyle Hornberg
708eb26746
Style: Moved docstring to bottom of file
2019-01-02 14:51:41 -06:00
Kyle Hornberg
f172d25fb7
Bug Fix: Correctly validate object/dictionary parameters
2018-10-05 09:59:44 -05:00
Kyle Hornberg
75a6a14bc7
Test: Fix UnboundLocalError
2018-10-04 11:54:41 -05:00
Kyle Hornberg
2e38455aab
Style: yapf
2018-10-04 11:47:46 -05:00
Kyle Hornberg
3d8c2f3bb0
Feature: Change to using @octokit/routes json
...
The json file is automatically created GitHub's documentation. The file
is not yet automatically updated here.
Also fix an object inheritance bug concerning headers.
2018-10-04 11:01:46 -05:00
Kyle Hornberg
4a3334f90c
Bug Fix: Send boolean defaults
2018-06-01 15:28:53 -05:00
Kyle Hornberg
a80ca34f06
Bug Fix: Return copy of self instead of self
...
If one had a single reference object, that object would be mutated
unknowningly.
Example:
repo = octokit.repos.repo(...)
repo.issues.create(...)
repo now is the response of the created issue not the getting of the
repo.
2018-03-12 15:10:10 -05:00
Kyle Hornberg
0266a2e503
Feature: Raise OctokitParameterError for parameter errors
2018-03-12 15:09:15 -05:00
Kyle Hornberg
e659549b69
Enhancement: Do not break if response is not JSON
...
DELETEs do not return content
2018-03-09 13:51:47 -06:00
Kyle Hornberg
3e5b13a82c
Style: yapf
2018-02-27 09:22:51 -06:00
Kyle Hornberg
37e983961f
Enhancement: Allow chaining request and responses with shared url state
2018-02-27 09:07:41 -06:00
Kyle Hornberg
55d17c6725
Enhancement: method calls return self with response attributes
2018-02-26 13:34:49 -06:00
Kyle Hornberg
829192e377
Enhancement: Send query string params
2018-02-07 12:06:58 -06:00
Kyle Hornberg
cf730e7a05
Enhancement: Provide default headers
...
https://developer.github.com/v3/#current-version
https://developer.github.com/v3/#parameters
2018-02-07 12:06:58 -06:00
Kyle Hornberg
81db4b1f18
Test: clean up
2018-02-06 14:09:18 -06:00
Kyle Hornberg
66b10f8074
Style: yapf
2018-02-06 12:43:52 -06:00
Kyle Hornberg
6bedd84678
Style: isort
2018-02-06 11:36:42 -06:00
Kyle Hornberg
a707d38e25
Enhancement: Validate request body parameters and use defaults
2018-02-06 07:10:41 -06:00
Kyle Hornberg
d97405c9a3
Test: Fix
2018-02-06 06:25:04 -06:00
Kyle Hornberg
039542b2e7
Enhancement: working clients
2018-02-05 16:36:27 -06:00