def dbRestore(self, db_value, context=None):
if db_value is not None:<EOL><INDENT>try:<EOL><INDENT>return rest.unjsonify(db_value)<EOL><DEDENT>except StandardError:<EOL><INDENT>log.exception('<STR_LIT>')<EOL>raise orb.errors.DataStoreError('<STR_LIT>')<EOL><DEDENT><DEDENT>else:<EOL><INDENT>return db_value<EOL><DEDENT>
Converts a stored database value to Python.

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

:return: <variant>