Tecton Base Request Handler
- class q2_sdk.core.http_handlers.tecton_base_handler.Q2TectonBaseRequestHandler(application, request, **kwargs)[source]
Bases:
Q2OnlineRequestHandler
RequestHandler meant to be used for all Tecton related requests
- async prepare()[source]
Fires before any request handling code
By default, will check any Rate Limiter instances in self.rate_limiters and disallow further processing if any are over their specified limit
- async q2_post(*args, **kwargs)[source]
Overridable method. Should be defined in the extension inheriting this class. Called from the housekeeping Q2 specific POST method after the incoming message is parsed and broken into objects
- async set_external_mfa_token(token)[source]
Sets an external MFA token with HQ and accounts for possible pre-auth token
- Return type:
Union
[Success
,InternalServerError
,NotFound
]