(self, hook)
| 192 | return Response(json=body, status=http_client.ACCEPTED) |
| 193 | |
| 194 | def _is_valid_hook(self, hook): |
| 195 | # TODO: Validate hook payload with payload_schema. |
| 196 | return hook in self._hooks |
| 197 | |
| 198 | def _register_webhook_trigger_types(self): |
| 199 | for trigger_type in WEBHOOK_TRIGGER_TYPES.values(): |
no outgoing calls