MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _reap_sqlite_dbs

Function _reap_sqlite_dbs

lib/sqlalchemy/dialects/sqlite/provision.py:198–204  ·  view source on GitHub ↗
(url, idents)

Source from the content-addressed store, hash-verified

196
197@run_reap_dbs.for_db("sqlite")
198def _reap_sqlite_dbs(url, idents):
199 log.info("db reaper connecting to %r", url)
200 log.info("identifiers in file: %s", ", ".join(idents))
201 url = sa_url.make_url(url)
202 for ident in idents:
203 for drivername in _drivernames:
204 _drop_dbs_w_ident(url.database, drivername, ident)
205
206
207@upsert.for_db("sqlite")

Callers

nothing calls this directly

Calls 3

_drop_dbs_w_identFunction · 0.85
infoMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected