示例#1
0
def teardown(exception):
    """ closes the session """
    storage.close()
示例#2
0
def tearDown(self):
    storage.close()
示例#3
0
def close_db(error):
    """ comment """
    storage.close()
示例#4
0
def close_db(error):
    '''Close db session'''
    storage.close()
示例#5
0
def teardown_func(self):
    """Will excecute after each request
    Closes current sqlalchemy session
    """
    storage.close()
示例#6
0
def remove_session(exception):
    """ After each request you must remove the current SQLAlchemy Session """
    storage.close()
def teardown_db(self):
    '''close storage'''
    storage.close()
def remove_sqlalchemy(self):
    storage.close()
def close_db(err):
    """Closes the database again at the end of the request."""
    storage.close()
示例#10
0
def teardown(self):
    """This calls storage.close
    """
    storage.close()
示例#11
0
def teardown_db(*args, **kwargs):
    """Close database or file storage"""
    storage.close()
示例#12
0
文件: app.py 项目: CutiePizza/JobWin
def teardown_storage(e):
    """ Closes the storage on teardown """
    storage.close()
示例#13
0
def the_ending(self):
    """ Method takes care of removal of SQLAlchemy Session """
    storage.close()
示例#14
0
def teardown_db(exception):
    """closes the storage on teardown"""
    storage.close()
示例#15
0
def tear_down(self):
    "tears down"
    storage.close()
示例#16
0
def teardown_storage(self):
    """Teardown method that close session of database"""
    storage.close()
示例#17
0
def close_session(ctx):
    """ this function get called when the context is popped
        the context get popped when the request is finished
    """
    storage.close()
示例#18
0
def end_session(self):
    storage.close()
示例#19
0
def close_db(error):
    """ Close Storage """
    storage.close()
示例#20
0
def kill_session(exception):
    """ kills the sqlalchemy session """
    storage.close()
示例#21
0
def teardown(self):
    """After each request remove current SQLAlchemy Session"""
    storage.close()
示例#22
0
def tear_down(response_or_exc):
    """
    tear down method
    """
    storage.close()
示例#23
0
def teardown_db(exception):
    """
    after each request, this method calls .close() (i.e. .remove()) on
    the current SQLAlchemy Session
    """
    storage.close()
def teardown_db(self):
    ''' teardown_db '''
    storage.close()
def close_session(exception):
    """remove the session to see what happened"""
    storage.close()
示例#26
0
def closedb(foo):
    """Closes db session"""
    storage.close()
示例#27
0
def tear_down(self):
    """Close session"""
    storage.close()
def teardown(exception):
    storage.close()
示例#29
0
def close_db(error):
    """ Remove the current SQLAlchemy Session """
    storage.close()
示例#30
0
def close_session(exception):
    """Remove the db session or save file"""
    storage.close()
示例#31
0
def close_session(exception):
    """Remove the db session or save file"""
    storage.close()
示例#32
0
def remove_session(response_or_exc):
    """Removes the current SQLAlchemy Session
    """
    storage.close()