(self, session, extra_info: Optional[Dict[str,str]]=None)
Update the information in database.

        :param session:
        :return:
Update the information in database.
Update the information in database .
def update_dbinfo(self, session, extra_info: Optional[Dict[str,str]]=None):
        """
        Update the information in database.

        :param session:
        :return:
        """

        self.save_info(session, "version", str(self.VERSION))
        self.save_info(session, "saved_at", str(int(time.time())))

        if extra_info:
            for key, value in extra_info.items():
                self.save_info(session, str(key), str(value))
def update_dbinfo ( self , session , extra_info : Optional [ Dict [ str , str ] ] = None ) : self . save_info ( session , "version" , str ( self . VERSION ) ) self . save_info ( session , "saved_at" , str ( int ( time . time ( ) ) ) ) if extra_info : for key , value in extra_info . items ( ) : self . save_info ( session , str ( key ) , str ( value ) )