Repository navigation
Add webhooks resource - #15
Conversation
|
Would be great to know when this will be into master or at least can someone review this code and let me know if there's any further development required on it? |
|
Tentative 👍 from me. My only suggestion is to squash down the commits before they go into master. As for getting this merged, maybe @maetl can help? |
|
@tgsergeant not me, as I no longer have merge access to any of these public repos. |
|
You mean the repo doesn't have a maintainer at the moment ? |
|
So no maintainer? |
|
There is a bit of a quirk in this PR. A This PR is still quite usable. |
|
@hockeybuggy I use this patch in my application and I haven't tried delete all on the resource but for sure I can delete webhook objects: https://developer.bigcommerce.com/api/stores/v2/webhooks#delete-hook |
|
+1 on this. Would love to see this merged. |
|
Since webhooks doesn't allow
I'll give this some thought but please chime in if you guys feel strongly one way or the other or if you have a less ugly solution. |
|
I implemented the second option proposed by @gabelimon here -> Alir3z4/pull/1 |
There was a problem hiding this comment.
Also, would you mind removing the extra line?
There was a problem hiding this comment.
I could but, I think it would be a style violation. When I remove it and run pep8 against the file:
➤ pep8 bigcommerce/resources/webhooks.py
bigcommerce/resources/webhooks.py:3:1: E302 expected 2 blank lines, found 1
|
@gabelimon So this is ok to merge into master after @Alir3z4 gets a chance to merge Alir3z4#1 ? |
|
Yeah we're good to go if he merges your change. |
…delete-all Overrode the delete_all method on Webhooks. Thanks @hockeybuggy
|
@gabelimon @hockeybuggy I merged the pull request ;) |
|
👍 |
Add
Webhooksmodule to support https://developer.bigcommerce.com/api/stores/v2/webhooks