a
    tNg                     @   s   G d d de ZdS )c                   @   s    e Zd ZdZdd Zdd ZdS )Contextu;   
    Базовый контекстный класс.
    c                 C   s
   || _ d S )N)_Context__contexts)selfZcontexts r   {/var/www/vosh/data/www/fastworkle.ru/webshop-tgbot-v.1.0/venv/lib/python3.9/site-packages/yookassa/domain/common/context.py__init__	   s    zContext.__init__c                 C   s   || j v rt| |S dS )u   
        Возвращает контекстные данные

        :param context: mixed
        :return: mixed
        N)r   getattr)r   contextr   r   r   get_context_data   s    
zContext.get_context_dataN)__name__
__module____qualname____doc__r   r	   r   r   r   r   r      s   r   N)objectr   r   r   r   r   <module>       