#NEWLINE# @ staticmethod #NEWLINE# def from_json( conn , snap ) : #NEWLINE# #INDENT# return ReceivedSnap ( conn , snap [ 'id' ] , snap [ 'sn' ] , snap [ 'm' ] , snap [ 'st' ] , conn [ 'ts' ] , snap [ 'sts' ] , snap . get ( 't' , 0 ) , snap . get ( 'ss' , 0 ) , Caption . from_json ( snap ) )