Ë
    qPêjÇ	  ã                   ó¨   — d Z ddlZddlZddlZddlmZ ddlmZ  ej                  e	«      Z
e G d„ d«      «       Z ed«      Zd„ Zd	„ Zd
„ Zd„ Zd„ Zy)zŽ
NOTE: This module is considered private and is subject to abrupt breaking
changes without prior announcement. Please do not use it directly.
é    N)Ú
ContextVar)Ú	dataclassc                   ó&   — e Zd ZU dZdZedz  ed<   y)ÚPluginContextzY
    Encapsulation of plugins tracked within the `_plugin_context` context variable.
    NÚplugins)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   ÚstrÚ__annotations__© ó    úT/home/oem/CyberBrain26-unified/.venv/lib/python3.12/site-packages/botocore/plugin.pyr   r      s   … ñð €GˆS�4‰ZÔr   r   Ú_plugin_contextc                  ó,   — t         j                  d«      S )zEGet the current `_plugin_context` context variable if set, else None.N)r   Úgetr   r   r   Úget_plugin_contextr   '   s   € ä×Ñ˜tÓ$Ð$r   c                 ó0   — t         j                  | «      }|S )z3Set the current `_plugin_context` context variable.)r   Úset)ÚctxÚtokens     r   Úset_plugin_contextr   ,   s   € ä×Ñ Ó$€EØ€Lr   c                 ó.   — t         j                  | «       y)z5Reset the current `_plugin_context` context variable.N)r   Úreset)r   s    r   Úreset_plugin_contextr   2   s   € ä×Ñ˜%Õ r   c                  óÂ   — t        «       } | �5| j                  }|€%t        j                  j	                  d«      | _        n|S t        j                  j	                  d«      S )NÚBOTOCORE_EXPERIMENTAL__PLUGINS)r   r   ÚosÚenvironr   )Úcontextr   s     r   Úget_botocore_pluginsr"   7   sL   € Ü Ó"€GØÐØ—/‘/ˆØˆ?Ü Ÿj™jŸn™nÐ-MÓNˆG�OàˆNÜ�:‰:�>‰>Ð:Ó;Ð;r   c                 óJ  — |j                  «       D ]C  \  }}t        j                  d||«       	 t        j                  |«      }|j                  | «       ŒE y # t        $ r t        j                  d|«       Y Œht        $ r!}t        j                  d||«       Y d }~ŒŒd }~ww xY w)Nz)Importing client plugin %s from module %sz1Failed to locate the following plugin module: %s.z)Error raised during the loading of %s: %s)ÚitemsÚlogÚdebugÚ	importlibÚimport_moduleÚinitialize_client_pluginÚModuleNotFoundErrorÚ	Exception)Úclientr   Úplugin_nameÚmodule_nameÚmoduleÚes         r   Úload_client_pluginsr1   B   sš   € Ø$+§M¡M£Oò Ñ ˆ�[Ü�	‰	Ø7ØØô	
ð
	Ü×,Ñ,¨[Ó9ˆFØ×+Ñ+¨FÕ3ñøô #ò 	Ü�I‰IØCØöô ò 	Ü�I‰IØ;¸[È!÷ñ ûð	ús   ¯&AÁB"Á9B"ÂBÂB")r   r'   Úloggingr   Úcontextvarsr   Údataclassesr   Ú	getLoggerr   r%   r   r   r   r   r   r"   r1   r   r   r   ú<module>r6      sl   ðñó
 Û Û 	Ý "Ý !à€g×Ñ˜Ó!€ð ÷ð ó ðñ Ð.Ó/€ò%ò
ò!ò
<ór   