�
J�gB � �T � d dl Z d dlZd dlmZ dgZ G d� d� � Zd� Zd� Zd� ZdS )� N)� signature�
deprecatedc �2 � e Zd ZdZd d�Zd� Zd� Zd� Zd� ZdS )
r a� Decorator to mark a function or class as deprecated.
Issue a warning when the function is called/the class is instantiated and
adds a warning to the docstring.
The optional extra argument will be appended to the deprecation message
and the docstring. Note: to use this with the default value for extra, put
in an empty of parentheses:
Examples
--------
>>> from sklearn.utils import deprecated
>>> deprecated()
<sklearn.utils.deprecation.deprecated object at ...>
>>> @deprecated()
... def some_function(): pass
Parameters
----------
extra : str, default=''
To be added to the deprecation messages.
� c � � || _ d S )N)�extra)�selfr s �i/home/asafur/pinokio/api/open-webui.git/app/env/lib/python3.11/site-packages/sklearn/utils/deprecation.py�__init__zdeprecated.__init__&