MCPcopy
hub / github.com/apache/superset / stripped

Method stripped

superset/sql_parse.py:174–175  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

172 return self._parsed[0].get_type() == "UNKNOWN"
173
174 def stripped(self) -> str:
175 return self.sql.strip(" \t\n;")
176
177 def strip_comments(self) -> str:
178 return sqlparse.format(self.stripped(), strip_comments=True)

Callers 11

__init__Method · 0.95
is_explainMethod · 0.95
is_showMethod · 0.95
is_setMethod · 0.95
strip_commentsMethod · 0.95
as_create_tableMethod · 0.95
execute_sql_statementFunction · 0.95
validate_statementMethod · 0.95
process_statementMethod · 0.95
sqllab_vizMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected