seq  1.1.0
 All Classes Namespaces Files Functions Variables Groups Pages
Public Member Functions | Public Attributes | List of all members
etr.storage.manager.CommitContext Class Reference

Context manager that does automatic commits if no errors occur. More...

Public Member Functions

def __init__
 
def __enter__
 Return cursor. More...
 
def __exit__
 

Public Attributes

 conn
 

Detailed Description

Context manager that does automatic commits if no errors occur.

Constructor & Destructor Documentation

def etr.storage.manager.CommitContext.__init__ (   self,
  conn 
)

Member Function Documentation

def etr.storage.manager.CommitContext.__enter__ (   self)

Return cursor.

def etr.storage.manager.CommitContext.__exit__ (   self,
  type,
  value,
  traceback 
)

Member Data Documentation

etr.storage.manager.CommitContext.conn

The documentation for this class was generated from the following file: