Skip to content

vendor_connectors.meshy.webhooks.handler

Webhook handler for Meshy API callbacks.

WebhookHandlerHandle webhook callbacks from Meshy API.
_utc_nowReturn current UTC time with timezone info.

Return current UTC time with timezone info.

Handle webhook callbacks from Meshy API.

This class processes webhook payloads, updates task state in the repository, and downloads artifacts on successful completion.

Initialize webhook handler.

Args: repository: TaskRepository for updating state download_artifacts: Whether to download GLB files on SUCCEEDED

Process webhook payload and update repository.

Args: payload: Parsed webhook payload project: Optional project name (will search if not provided) spec_hash: Optional spec hash (will search if not provided)

Returns: Dict with status and details

Download GLB artifact and create record.

Verify webhook signature (stubbed for testing).