#NEWLINE# @ property #NEWLINE# def folder( self ) : #NEWLINE# #INDENT# if ( ( 'tags' not in self . operation ) or ( len ( self . operation [ 'tags' ] ) == 0 ) ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# tag = self . operation [ 'tags' ] [ 0 ] #NEWLINE# for folder in self . collection . folders : #NEWLINE# #INDENT# if ( folder . tag == self ) : #NEWLINE# #INDENT# return folder . id