+
     Ii	  c                   s    R t ^ RIt^ RIt^ RIt^ RIHt ^ RIHt ^ RIH	t	 ]P                  ! ]4      t] ! R R4      4       t]! R4      tR tR	 tR
 tR tR tR# )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)	dataclass)Optionalc                   s4   a  ] tR t^t o RtRtV 3R ltRtV tR# )PluginContextzQ
Encapsulation of plugins tracked within the `_plugin_context` context variable.
Nc                s6   < V ^8  d   Qh/ S[ S[,          ;R&   # )i   plugins)r   Zstr)Zformat__classdict__s   "4/usr/lib/python3.14/site-packages/botocore/plugin.pyZ__annotate__ZPluginContext.__annotate__   s      c]!      )	__name__Z
__module__Z__qualname__Z__firstlineno____doc__r   Z__annotate_func__Z__static_attributes__Z__classdictcell__)r   s   @r   r   r      s      "G  r   r   _plugin_contextc                 s,    \         P                  R4      # )zEGet the current `_plugin_context` context variable if set, else None.N)r   getr   r   r   get_plugin_contextr   (   s    t$$r   c                s0    \         P                  V 4      pV# )z3Set the current `_plugin_context` context variable.)r   Zset)Zctxtokens   & r   set_plugin_contextr   -   s    $ELr   c                s0    \         P                  V 4       R# )z5Reset the current `_plugin_context` context variable.N)r   Zreset)r   s   &r   reset_plugin_contextr   3   s    % r   c                  s    \        4       p V e8   V P                  pVf&   \        P                  P	                  R4      V n        MV# \        P                  P	                  R4      # )NZBOTOCORE_EXPERIMENTAL__PLUGINS)r   r   osZenvironr   )Zcontextr   s     r   get_botocore_pluginsr   8   sL     "G//? jjnn-MNGON::>>:;;r   c                 sZ   VP                  4        FD  w  r#\        P                  R VV4        \        P                  ! V4      pVP                  V 4       KF  	  R#   \         d    \        P                  RT4        Kn  \         d"   p\        P                  RY%4        Rp?K  Rp?ii ; i)z)Importing client plugin %s from module %sz1Failed to locate the following plugin module: %s.z)Error raised during the loading of %s: %sN)ZitemslogZdebug	importlibZimport_moduleZinitialize_client_pluginZModuleNotFoundErrorZ	Exception)Zclientr   Zplugin_nameZmodule_nameZmoduleZes   &&    r   load_client_pluginsr   C   s    $+MMO 		7	

	,,[9F++F3 %4 # 	IIC  	II;[ 	s#   'A!B*?B*B*	B%%B*)r
   r   Zloggingr   Zcontextvarsr    Zdataclassesr   Ztypingr   Z	getLoggerr	   r   r   r   r   r   r   r   r   r   r   r   <module>r      sm   
   	 " ! ! " " " ./%
!
<r   