Q2Config Handler

class q2_sdk.core.http_handlers.q2_config_handler.Q2ConfigRequestHandler(application, request, **kwargs)[source]

Bases: Q2TectonClientRequestHandler

initialize(routing_key=None)[source]

Handle extra keyword arguments passed via Tornado’s URLSpec.

async prepare()[source]

Prepare request and initialize customer-specific HQ credentials.

async q2_post(*args, **kwargs)[source]

Overrides the q2_post method Q2Config expects an error status to mark a publish as failed Extensions should raise a TectonError to return an error response

property router

Your extension’s routing map. To handle a request, a method must be listed here. When a POST request is made to this extension with a routing_key value, the extension will route the request to the method linked to that key. The methods referenced here are defined below.