§
    7xÅ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dS )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<   dS )ÚPluginContextzY
    Encapsulation of plugins tracked within the `_plugin_context` context variable.
    NÚplugins)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   ÚstrÚ__annotations__© ó    ú@C:\Projects\Historical\venv\Lib\site-packages\botocore/plugin.pyr   r      s2   € € € € € € ðð ð €GˆS�4‰ZÐÐÑÐÐr   r   Ú_plugin_contextc                  ó6   — t                                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                 ó:   — t                                | ¦  «        }|S )z3Set the current `_plugin_context` context variable.)r   Úset)ÚctxÚtokens     r   Úset_plugin_contextr   ,   s   € å×Ò Ñ$Ô$€EØ€Lr   c                 ó:   — t                                | ¦  «         dS )z5Reset the current `_plugin_context` context variable.N)r   Úreset)r   s    r   Úreset_plugin_contextr   2   s   € å×Ò˜%Ñ Ô Ð Ð Ð r   c                  óÀ   — t          ¦   «         } | �0| j        }|€%t          j                             d¦  «        | _        n|S t          j                             d¦  «        S )NÚBOTOCORE_EXPERIMENTAL__PLUGINS)r   r   ÚosÚenvironr   )Úcontextr   s     r   Úget_botocore_pluginsr"   7   sQ   € Ý Ñ"Ô"€GØÐØ”/ˆØˆ?Ý œjŸnšnÐ-MÑNÔNˆGŒOˆOàˆNÝŒ:�>Š>Ð:Ñ;Ô;Ð;r   c                 óx  — |                      ¦   «         D ]¤\  }}t                               d||¦  «         	 t          j        |¦  «        }|                     | ¦  «         ŒL# t          $ r t                               d|¦  «         Y Œst          $ r&}t                               d||¦  «         Y d }~Œ�d }~ww xY wd S )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¤Oð ð Ñ ˆ�[Ý�	Š	Ø7ØØñ	
ô 	
ð 	
ð
	ÝÔ,¨[Ñ9Ô9ˆFØ×+Ò+¨FÑ3Ô3Ð3Ð3øÝ"ð 	ð 	ð 	Ý�IŠIØCØñô ð ð ð õ ð 	ð 	ð 	Ý�IŠIØ;¸[È!ñô ð ð ð ð ð ð øøøøð	øøøðð s   ·)A!Á!%B7Â	B7ÂB2Â2B7)r   r'   Úloggingr   Úcontextvarsr   Údataclassesr   Ú	getLoggerr   r%   r   r   r   r   r   r"   r1   r   r   r   ú<module>r6      s   ððð ð
 Ð Ð Ð Ø €€€Ø 	€	€	€	Ø "Ð "Ð "Ð "Ð "Ð "Ø !Ð !Ð !Ð !Ð !Ð !à€gÔ˜Ñ!Ô!€ð ðð ð ð ð ñ ô ñ „ðð �*Ð.Ñ/Ô/€ð%ð %ð %ð
ð ð ð!ð !ð !ð
<ð <ð <ðð ð ð ð r   