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

Method _ensure_database_setup

awscli/autocomplete/db.py:55–60  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

53 return self._connection.execute(query, kwargs)
54
55 def _ensure_database_setup(self):
56 # We are setting journal mode to off because there is no guarantee
57 # the user has permissions to write temporary files to where the
58 # CLI is installed and in-practice, the index is only ever read from
59 # (except when we need to generate it).
60 self.execute(self._JOURNAL_MODE_OFF)
61
62 def _get_index_filename(self):
63 if os.path.isfile(INDEX_FILE):

Callers 1

_connectionMethod · 0.95

Calls 1

executeMethod · 0.95

Tested by

no test coverage detected