#NEWLINE# def get_collection_doc( cid ) : #NEWLINE# #INDENT# collection_obj = Collection . query . get ( cid ) #NEWLINE# if ( not cid ) : #NEWLINE# #INDENT# return None #NEWLINE# #UNINDENT# return get_collection_doc_from_object ( collection_obj )