�
B�g5 � � � d Z ddlZddlZddlmZ eej � dd� � � � eej � dd� � � � dd eej � d
d� � � � dddddd
�
Z ej
� � Zd� Zd� Z
dd�Zeddddddddddd
�
d�� � ZdS )z7Global configuration state and functions for management� N)�contextmanager�SKLEARN_ASSUME_FINITEF�SKLEARN_WORKING_MEMORYi T�diagram� SKLEARN_PAIRWISE_DIST_CHUNK_SIZE� �default�
�
assume_finite�working_memory�print_changed_only�display�pairwise_dist_chunk_size�enable_cython_pairwise_dist�array_api_dispatch�transform_output�enable_metadata_routing�skip_parameter_validationc � � t t d� � s#t � � � t _ t j S )z|Get a threadlocal **mutable** configuration. If the configuration
does not exist, copy the default global configuration.�
global_config)�hasattr�_threadlocal�_global_config�copyr � � �_/home/asafur/pinokio/api/open-webui.git/app/env/lib/python3.11/site-packages/sklearn/_config.py�_get_threadlocal_configr s3 � � �<��1�1� ;�%3�%8�%8�%:�%:��"��%�%r c �B � t � � � � � S )a� Retrieve current values for configuration set by :func:`set_config`.
Returns
-------
config : dict
Keys are parameter names that can be passed to :func:`set_config`.
See Also
--------
config_context : Context manager for global scikit-learn configuration.
set_config : Set global scikit-learn configuration.
Examples
--------
>>> import sklearn
>>> config = sklearn.get_config()
>>> config.keys()
dict_keys([...])
)r r r r r �
get_configr # s � �, #�$�$�)�)�+�+�+r c
�� � t � � }
| �| |
d<