MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / go

Function go

lib/sqlalchemy/testing/util.py:389–393  ·  view source on GitHub ↗
(fn, *args, **kw)

Source from the content-addressed store, hash-verified

387
388 @decorator
389 def go(fn, *args, **kw):
390 try:
391 return fn(*args, **kw)
392 finally:
393 drop_all_tables(config.db, inspect(config.db), include_names=names)
394
395 return go
396

Calls 4

inspectFunction · 0.90
drop_all_tablesFunction · 0.85
drop_allMethod · 0.80