from humancheck.connectors.base import ReviewConnector
class CustomConnector(ReviewConnector):
def _get_connector_type(self) -> str:
return "custom"
async def send_review_notification(self, review, recipients, context=None):
# Your implementation
return {
"success": True,
"message_id": "external_id"
}
async def send_decision_notification(self, review, decision, recipients):
# Your implementation
return {"success": True}
async def test_connection(self):
# Test configuration
return {"success": True, "message": "Connected!"}