#NEWLINE# def get_document( self , doc_id ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# return add_couch_properties_to_sql_form_json ( self . form_accessors . get_form ( doc_id ) . to_json ( ) ) #NEWLINE# #UNINDENT# except ( XFormNotFound , BlobError ) as e : #NEWLINE# #INDENT# raise DocumentNotFoundError ( doc_id )