#NEWLINE# def _prepare( request , annotation ) : #NEWLINE# #INDENT# 'Prepare the given annotation for storage.' #NEWLINE# fetcher = partial ( fetch_annotation , request , _postgres = False ) #NEWLINE# transform . prepare ( fetcher , fetcher ) #NEWLINE# event = AnnotationBeforeSaveEvent ( request , annotation ) #NEWLINE# request . registry . notify ( event )