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