def dbRestore(self, db_value, context=None):
        """
        Converts a stored database value to Python.

        :param py_value: <variant>
        :param context: <orb.Context>

        :return: <variant>
        """
        if db_value is not None:
            return yaml.load(projex.text.nativestring(db_value))
        else:
            return db_value
def dbRestore ( self , db_value , context = None ) : if db_value is not None : return yaml . load ( projex . text . nativestring ( db_value ) ) else : return db_value
Converts a stored database value to Python.

        :param py_value: <variant>
        :param context: <orb.Context>

        :return: <variant>