MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / go

Function go

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

Source from the content-addressed store, hash-verified

346
347 @decorator
348 def go(fn, *args, **kw):
349 try:
350 return fn(*args, **kw)
351 finally:
352 drop_all_tables(config.db, inspect(config.db), include_names=names)
353
354 return go
355

Calls 4

inspectFunction · 0.90
drop_all_tablesFunction · 0.85
drop_allMethod · 0.80