Ë
    Ñwìi  ã                   ó2   — d dl mZ d dlmZ  G d„ de«      Zy)é   )ÚSymlinkNodeMixin)Ú_reprc                   ó   — e Zd ZdZdd„Zd„ Zy)ÚSymlinkNodeuZ  
    Tree node which references to another tree node.

    Args:
        target: Symbolic Link Target. Another tree node, which is referred to.

    Keyword Args:
        parent: Reference to parent node.
        children: Iterable with child nodes.
        *: Any other given attribute is just stored as attribute **in** `target`.

    The :any:`SymlinkNode` has its own parent and its own child nodes.
    All other attribute accesses are just forwarded to the target node.

    >>> from anytree import SymlinkNode, Node, RenderTree
    >>> root = Node("root")
    >>> s1 = Node("sub1", parent=root, bar=17)
    >>> l = SymlinkNode(s1, parent=root, baz=18)
    >>> l0 = Node("l0", parent=l)
    >>> print(RenderTree(root))
    Node('/root')
    â”œâ”€â”€ Node('/root/sub1', bar=17, baz=18)
    â””â”€â”€ SymlinkNode(Node('/root/sub1', bar=17, baz=18))
        â””â”€â”€ Node('/root/sub1/l0')

    Any modifications on the target node are also available on the linked node and vice-versa:

    >>> s1.foo = 4
    >>> s1.foo
    4
    >>> l.foo
    4
    >>> l.foo = 9
    >>> s1.foo
    9
    >>> l.foo
    9
    Nc                 ó~   — || _         | j                   j                  j                  |«       || _        |r|| _        y y )N)ÚtargetÚ__dict__ÚupdateÚparentÚchildren)Úselfr   r   r   Úkwargss        úi/workspace/moltex-experiments/.pixi/envs/default/lib/python3.12/site-packages/anytree/node/symlinknode.pyÚ__init__zSymlinkNode.__init__-   s7   € ØˆŒØ�‰×Ñ×#Ñ# FÔ+ØˆŒÙØ$ˆD�Mð ó    c                 óF   — t        | t        | j                  «      gd¬«      S )N)r   )Únameblacklist)r   Úreprr   )r   s    r   Ú__repr__zSymlinkNode.__repr__4   s   € Ü�TœD §¡Ó-Ð.¸kÔJÐJr   )NN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   © r   r   r   r      s   „ ñ%óN%óKr   r   N)Úsymlinknodemixinr   Úutilr   r   r   r   r   Ú<module>r      s   ðÝ .Ý ô0KÐ"õ 0Kr   