#NEWLINE# @ factory . post_generation #NEWLINE# def tags( doc , create , extracted , **kwargs ) : #NEWLINE# #INDENT# if ( not extracted ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# if ( extracted is not None ) : #NEWLINE# #INDENT# for t in extracted : #NEWLINE# #INDENT# doc . tags . add ( t )