#NEWLINE# def __init__( self , include , require = None , exclude = None , subquery = None , position_cutoff = None , extra_optimizations = None ) : #NEWLINE# #INDENT# self . include = OrderedSet ( include ) #NEWLINE# self . require = ( require or OrderedSet ( ) ) #NEWLINE# self . exclude = ( exclude or OrderedSet ( ) ) #NEWLINE# self . subquery = ( subquery or { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) #NEWLINE# self . position_cutoff = position_cutoff #NEWLINE# if ( extra_optimizations is None ) : #NEWLINE# #INDENT# extra_optimizations = [ ] #NEWLINE# #UNINDENT# self . extra_optimizations = extra_optimizations #NEWLINE# if isinstance ( self . require , ( list , tuple ) ) : #NEWLINE# #INDENT# self . require = OrderedSet ( self . require ) #NEWLINE# #UNINDENT# if isinstance ( self . exclude , ( list , tuple ) ) : #NEWLINE# #INDENT# self . exclude = OrderedSet ( self . exclude )