michael-s-molina commented on code in PR #36529:
URL: https://github.com/apache/superset/pull/36529#discussion_r2615197798
##########
superset-core/src/superset_core/api/models.py:
##########
@@ -75,6 +84,83 @@ def backend(self) -> str:
def data(self) -> dict[str, Any]:
raise NotImplementedError
+ def execute(
+ self,
+ sql: str,
+ options: QueryOptions | None = None,
+ ) -> QueryResult:
+ """
+ Execute SQL synchronously.
+
+ :param sql: SQL query to execute
+ :param options: Optional QueryOptions for catalog, schema, limit,
+ template_params, cache settings, timeout, dry_run
Review Comment:
Agreed!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]