pricedb/csv.py
def __get_session(self):
        """ Reuses the same db session """
        if not self.session:
            self.session = dal.get_default_session()
        return self.session
def __get_session(self):
        if not self.session:
            self.session = dal.get_default_session()
        return self.session
def __get_session ( self ) : if not self . session : self . session = dal . get_default_session ( ) return self . session
Reuses the same db session
Reuses the same db session