DefaultQueryHandler#

class wattson.hosts.ccx.app_gateway.handlers.default_query_handler.DefaultQueryHandler(app_gateway: AppGatewayServer)#

Bases: QueryHandler

Methods

handle

Attempts to handle the given query.

handle(query: AppGatewayQuery) AppGatewayResponse | None#

Attempts to handle the given query. If it is handled, the AppGatewayResponse should be returned. If it is not handled, None should be returned.

Parameters:

query (AppGatewayQuery) – The received AppGatewayQuery

Returns:

The AppGatewayResponse or None

Return type:

Optional[AppGatewayResponse]