#NEWLINE# @ classmethod #NEWLINE# def _find_workflows( mcs , attrs ) : #NEWLINE# #INDENT# 'Find workflow definition(s) in a WorkflowEnabled definition.\n\n        This method overrides the default behavior from xworkflows in order to\n        use our custom StateField objects.\n        ' #NEWLINE# workflows = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# for ( k , v ) in attrs . items ( ) : #NEWLINE# #INDENT# if isinstance ( attrs , StateField ) : #NEWLINE# #INDENT# workflows [ k ] = v #NEWLINE# #UNINDENT# #UNINDENT# return workflows