def end_of_request(exception): # pylint: disable=unused-argument ''' close the database ''' DB.close()