:calls: `POST /hub `_ :param event: string :param callback: string :param secret: string :rtype: None
(self, event: str, callback: str, secret: Opt[str] = NotSet)
| 4094 | return status == 204 |
| 4095 | |
| 4096 | def subscribe_to_hub(self, event: str, callback: str, secret: Opt[str] = NotSet) -> None: |
| 4097 | """ |
| 4098 | :calls: `POST /hub <https://docs.github.com/en/rest/reference/repos#pubsubhubbub>`_ |
| 4099 | :param event: string |
| 4100 | :param callback: string |
| 4101 | :param secret: string |
| 4102 | :rtype: None |
| 4103 | """ |
| 4104 | return self._hub("subscribe", event, callback, secret) |
| 4105 | |
| 4106 | def unsubscribe_from_hub(self, event: str, callback: str) -> None: |
| 4107 | """ |
no test coverage detected