MCPcopy
hub / github.com/spaceandtimefdn/SxT-Python-SDK / execute_sql

Method execute_sql

src/spaceandtime/sxtuser.py:485–491  ·  view source on GitHub ↗

**Deprecated** This is a duplicate of the "execute_query" method, provided for backwards compatibility. Use the more consistent "execute_query" to avoid future deprecation issues.

(self, sql_text:str, biscuits:list = None, app_name:str = None)

Source from the content-addressed store, hash-verified

483 return True, self.access_token
484
485 def execute_sql(self, sql_text:str, biscuits:list = None, app_name:str = None):
486 """
487 **Deprecated** This is a duplicate of the "execute_query" method, provided for backwards compatibility.
488 Use the more consistent "execute_query" to avoid future deprecation issues.
489 """
490 self.logger.warning('execute_sql is deprecated. Use execute_query() instead.')
491 return self.execute_query(sql_text=sql_text, biscuits=biscuits, app_name=app_name)
492
493
494 def execute_query(self, sql_text:str, biscuits:list = None, app_name:str = None):

Callers 2

test_sxt_userFunction · 0.95
test_sxt_user_2Function · 0.95

Calls 1

execute_queryMethod · 0.95

Tested by 2

test_sxt_userFunction · 0.76
test_sxt_user_2Function · 0.76