a
    Pf                     @   s   d Z g dZddlmZ ddlmZ ddlmZmZmZm	Z	m
Z
mZmZ ddlmZ eddd	Zedd
dZedddZedddZdS )z
pandas._config is considered explicitly upstream of everything else in pandas,
should have no intra-pandas dependencies.

importing `dates` and `display` ensures that keys needed by _libs
are initialized.
)
configdetect_console_encoding
get_option
set_optionreset_optiondescribe_optionoption_contextoptionsusing_copy_on_writewarn_copy_on_write    )r   )dates)_global_configr   r   r   r   r   r   )r   )returnc                  C   s    t d } | d du o| d dkS )Nmodecopy_on_writeTdata_managerblockr   Z_mode_options r   P/var/www/ai-form-bot/venv/lib/python3.9/site-packages/pandas/_config/__init__.pyr	   "   s    
r	   c                  C   s    t d } | d dko| d dkS )Nr   r   warnr   r   r   r   r   r   r   r
   *   s    
r
   c                  C   s   t d } | d S )Nr   Znullable_dtypesr   r   r   r   r   using_nullable_dtypes2   s    r   c                  C   s   t d } | d S )NfutureZinfer_stringr   r   r   r   r   using_pyarrow_string_dtype7   s    r   N)__doc____all__Zpandas._configr   r   Zpandas._config.configr   r   r   r   r   r   r   Zpandas._config.displayr   boolr	   r
   r   r   r   r   r   r   <module>   s   $	