def __init__(self, data, accessor, relationship_direction,
                 relation_operation):
        """
        :param data: Root of the data tree to traverse.
        :param relationship_direction: Constant indicating which relation
          direction(s) to consider for managing references.
        :param relation_operation: Constant indicating the relation operation
          for the traversal.
        """
        super(DataTraversalProxy, self).__init__()
        self.relationship_direction = relationship_direction
        self.relation_operation = relation_operation
        self._data = data
        self._accessor = accessor
def __init__ ( self , data , accessor , relationship_direction , relation_operation ) : super ( DataTraversalProxy , self ) . __init__ ( ) self . relationship_direction = relationship_direction self . relation_operation = relation_operation self . _data = data self . _accessor = accessor
:param data: Root of the data tree to traverse.
        :param relationship_direction: Constant indicating which relation
          direction(s) to consider for managing references.
        :param relation_operation: Constant indicating the relation operation
          for the traversal.