redash-query-runner-framework-extension-pattern
Redash’s query-runner framework uses module-level register(cls) to populate a query_runners dict; individual drivers are enabled via the REDASH_ENABLED_QUERY_RUNNERS environment variable without rebuild. BaseQueryRunner defines run_query(query, user)→(data, error), get_schema(), test_connection(), and configuration_schema()→JSON Schema. R-Same ports this framework to packages/query-runner and the Snowflake driver uses asyncio.to_thread to wrap the sync snowflake-connector-python library.