(session, key)
return db_info.value
Get an information entry from the database.

        :param session:
        :param key:
        :return:
Get an information entry from the database.
Get an information entry from the database .
def get_info(session, key):
        """
        Get an information entry from the database.

        :param session:
        :param key:
        :return:
        """

        db_info = session.query(DbInformation).filter_by(key=key).scalar()
        if db_info is None:
            return None
        return db_info.value
def get_info ( session , key ) : db_info = session . query ( DbInformation ) . filter_by ( key = key ) . scalar ( ) if db_info is None : return None return db_info . value