#NEWLINE# @ classmethod #NEWLINE# def from_dict( cls , data , unmarshal_time = False ) : #NEWLINE# #INDENT# 'Translates the given ``dict`` into an instance of this class.\n\n        NOTE(harlowja): the ``dict`` provided should come from a prior\n        call to :meth:`.to_dict`.\n\n        :returns: a new logbook\n        :rtype: :py:class:`.LogBook`\n        ' #NEWLINE# if ( not unmarshal_time ) : #NEWLINE# #INDENT# unmarshal_fn = ( lambda x : x ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# unmarshal_fn = _safe_unmarshal_time #NEWLINE# #UNINDENT# obj = cls ( data [ 'name' ] , uuid = data [ 'uuid' ] ) #NEWLINE# obj . updated_at = unmarshal_fn ( data [ 'updated_at' ] ) #NEWLINE# obj . created_at = unmarshal_fn ( data [ 'created_at' ] ) #NEWLINE# obj . meta = _fix_meta ( data ) #NEWLINE# return obj