
    +h                          G d  d      Z y)c                   0    e Zd ZdZdZed        Zd Zd Zy)Pathz-This class represents a path in a JSON value. c                       y)z-Return the root path's string representation.. r       K/var/www/html/venv/lib/python3.12/site-packages/redis/commands/json/path.py	root_pathzPath.root_path   s     r   c                     || _         y)z=Make a new path based on the string representation in `path`.NstrPath)selfpaths     r	   __init__zPath.__init__   s	    r   c                     | j                   S )Nr   )r   s    r	   __repr__zPath.__repr__   s    ||r   N)	__name__
__module____qualname____doc__r   staticmethodr
   r   r   r   r   r	   r   r      s&    7G r   r   N)r   r   r   r	   <module>r      s    r   