MCPcopy Create free account
hub / github.com/fabioz/PyDev.Debugger / Transactional

Function Transactional

pydevd_attach_to_process/winappdbg/sql.py:320–326  ·  view source on GitHub ↗

Decorator that wraps DAO methods to handle transactions automatically. It may only work with subclasses of L{BaseDAO}.

(fn, self, *argv, **argd)

Source from the content-addressed store, hash-verified

318
319@decorator
320def Transactional(fn, self, *argv, **argd):
321 """
322 Decorator that wraps DAO methods to handle transactions automatically.
323
324 It may only work with subclasses of L{BaseDAO}.
325 """
326 return self._transactional(fn, *argv, **argd)
327
328
329# ==============================================================================

Callers

nothing calls this directly

Calls 1

_transactionalMethod · 0.80

Tested by

no test coverage detected