Console Request Handlers
- class q2_sdk.core.http_handlers.console_handler.Q2ConsoleClientRequestHandler(application, request, **kwargs)[source]
Bases:
Q2CentralRequestHandler
,Q2TectonClientRequestHandler
- class q2_sdk.core.http_handlers.console_handler.Q2ConsoleServerRequestHandler(application, request, **kwargs)[source]
Bases:
Q2CentralRequestHandler
,Q2TectonServerRequestHandler
- get_tecton_form(header, head_content='', foot_content='', **kwargs)[source]
Returns Q2TectonForm object that is automatically serialized into html when returned from a handler
- Parameters:
header – If populated, is rendered as an <h1> at the top of the page
head_content (
str
) – HTML injected into the <head> tagfoot_content (
str
) – HTML injected at the bottom of the <html> tagpage_padding – If True, adds a pad around the Form Element
load_platform_css – If True, add css variables for default tecton props and the current theme.
load_utilities – If True, add utility css properties from q2-tecton-utilities.css
load_elements – If True, add script tags that loads Tecton UI components.
load_default_theme – If True, add default theme css properties from q2-tecton-theme.css
routing_key – Creates a hidden input named routing_key which can be used by the extension to determine what step to run next of a multi-step flow.
hide_submit_button – If True, this form will not have a submit button