#NEWLINE# def _set_seed_idle_mode( self , mode ) : #NEWLINE# #INDENT# "\n        Set the seed ratio mode as string. Can be one of 'global', 'single' or 'unlimited'.\n        " #NEWLINE# if isinstance ( mode , str ) : #NEWLINE# #INDENT# self . _fields [ 'seedIdleMode' ] = Field ( IDLE_LIMIT [ mode ] , True ) #NEWLINE# self . _push ( ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# raise ValueError ( 'Not a valid limit' )