MCPcopy Create free account
hub / github.com/aws/aws-cli / execute

Method execute

awscli/telemetry.py:89–96  ·  view source on GitHub ↗
(self, query, *parameters)

Source from the content-addressed store, hash-verified

87 self._ensure_database_setup()
88
89 def execute(self, query, *parameters):
90 try:
91 return self._connection.execute(query, *parameters)
92 except sqlite3.OperationalError:
93 # Process timed out waiting for database lock.
94 # Return any empty `Cursor` object instead of
95 # raising an exception.
96 return sqlite3.Cursor(self._connection)
97
98 def _ensure_cache_dir(self):
99 self._cache_dir.mkdir(parents=True, exist_ok=True)

Callers 10

session_connFunction · 0.95
_create_session_tableMethod · 0.95
_create_host_id_tableMethod · 0.95
_ensure_host_idMethod · 0.95
_try_to_enable_walMethod · 0.95
writeMethod · 0.45
readMethod · 0.45
read_host_idMethod · 0.45
sweepMethod · 0.45

Calls

no outgoing calls

Tested by 2

session_connFunction · 0.76