
    ^j                    l    d Z ddlmZ ddlZddlmZ ddlmZ ddlm	Z	 e	d
d       Z
ddZe	dd	       Zy)z(Generic functions for extending IPython.    )annotationsN)AnyTryNext)singledispatchc                    t         )zCalled when you do obj?

    .. deprecated:: 9.15
        `inspect_object` is deprecated and will be removed in a future
        version. It is no longer used within IPython, so registering
        handlers on it has no effect.
    r   )objs    O/opt/ringagent/.cad-venv/lib/python3.12/site-packages/IPython/utils/generics.py_inspect_objectr      s	     M    c                z    | dk(  r"t        j                  dt        d       t        S t	        dt
        d|       )Ninspect_objectzinspect_object is deprecated since IPython 9.15 and will be removed in a future version. It is no longer used within IPython, so registering handlers on it has no effect.   )
stacklevelzmodule z has no attribute )warningswarnDeprecationWarningr   AttributeError__name__)names    r
   __getattr__r      sF    D 	
 
78,.@I
JJr   c                    t         )ay  Custom completer dispatching for python objects.

    Parameters
    ----------
    obj : object
        The object to complete.
    prev_completions : list
        List of attributes discovered so far.
    This should return the list of attributes in obj. If you only wish to
    add to the attributes already discovered normally, return
    own_attrs + prev_completions.
    r   )r	   prev_completionss     r
   complete_objectr   &   s	     Mr   )r	   r   returnNone)r   strr   r   )r	   r   r   	list[str]r   r   )__doc__
__future__r   r   typingr   IPython.core.errorr   	functoolsr   r   r   r    r   r
   <module>r%      sE    . "   & $  
K  r   