(self)
return result
Handles could be nested in collections, if so, find the handlers names that apply to this resource.
Handles could be nested in collections, if so, find the handlers names that apply to this resource.
Handles could be nested in collections if so find the handlers names that apply to this resource .
def all_handles(self):
        """
        Handles could be nested in collections, if so, find the handlers names that apply to this resource.
        """
        result = []
        ptr = self
        while ptr is not None:
            if ptr.handles:
                result.append(ptr.handles)
            ptr = ptr.parent()
        return result
def all_handles ( self ) : result = [ ] ptr = self while ptr is not None : if ptr . handles : result . append ( ptr . handles ) ptr = ptr . parent ( ) return result