Yohohohohohooho | Sanrei Aya
Sanrei Aya


Server : LiteSpeed
System : Linux barito.iixcp.rumahweb.net 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64
User : elvh3918 ( 1528)
PHP Version : 8.2.31
Disable Function : mail
Directory :  /usr/local/lib/python3.9/site-packages/click/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/local/lib/python3.9/site-packages/click/__pycache__/globals.cpython-39.pyc
a

��Sh��@s�ddlZddlmZejr.ddlZddlmZe�Z	ej
dddd�d	d
��Zej
deej
dd�dd
��Zdeej
dd�d
d
�Zddd�dd�Zdd�dd�Zdej
eej
ed�dd�ZdS)�N)�local�)�ContextFzte.Literal[False]r)�silent�returncCsdS�N��rrr�7/usr/local/lib/python3.9/site-packages/click/globals.py�get_current_contextsr.cCsdSrrr	rrr
rsc
CsPzt�dtjd�WSttfyJ}z|s6td�|�WYd}~n
d}~00dS)a�Returns the current click context.  This can be used as a way to
    access the current context object from anywhere.  This is a more implicit
    alternative to the :func:`pass_context` decorator.  This function is
    primarily useful for helpers such as :func:`echo` which might be
    interested in changing its behavior based on the current context.

    To push the current context, :meth:`Context.scope` can be used.

    .. versionadded:: 5.0

    :param silent: if set to `True` the return value is `None` if no context
                   is available.  The default behavior is to raise a
                   :exc:`RuntimeError`.
    r���z!There is no active click context.N)�t�cast�_local�stack�AttributeError�
IndexError�RuntimeError)r�errr
rs )�ctxrcCstj�dg��|�dS)z*Pushes a new context to the current stack.rN)r�__dict__�
setdefault�append)rrrr
�push_context,sr)rcCstj��dS)z%Removes the top level from the stack.N)rr�poprrrr
�pop_context1sr)�colorrcCs(|dur|Stdd�}|dur$|jSdS)z�Internal helper to get the default value of the color flag.  If a
    value is passed it's returned unchanged, otherwise it's looked up from
    the current context.
    NTr	)rr)rrrrr
�resolve_color_default6s
r)F).)F)N)�typingr
�	threadingr�
TYPE_CHECKINGZtyping_extensions�te�corerr�overloadr�bool�Optionalrrrrrrr
�<module>s

Yohohohohohooho | Sanrei Aya