관리-도구
편집 파일: globals.cpython-311.pyc
� Q�Dg� � �, � d dl Zd dlmZ ej r d dlZddlmZ e� � Z ej ddd �� � Zej ddedej d fd�� � Zddedej d fd �Zdd�Zdd�Zddej e dej e fd�ZdS )� N)�local� )�ContextF�silent�te.Literal[False]�returnr c � � d S �N� �r s �m/builddir/build/BUILD/imunify360-venv-2.4.0/opt/imunify360/venv/lib/python3.11/site-packages/click/globals.py�get_current_contextr � � ��C� .c � � d S r r r s r r r r r c � � t j dt j d � � S # t t f$ r}| st d� � |�Y d}~nd}~ww xY wdS )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 �es r r r s� � �K��v�i���b�!1�2�2�2���J�'� K� K� K�� K��B�C�C��J� K� K� K� K� K�����K���� �4s �$'