
    Ki                         S SK r S SKrS SKJr  S SKJr  S SKJr  \ R                  " \	5      r
 " S S\R                  5      r\" S5       " S S	\5      5       rg)
    N)
deprecated)Context)textmapc            	          \ rS rSrSrS\R                  \R                     SS4S jr	S\R                  4S\R                  S\R                  \   S	\R                  \R                     S\4S
 jjrS\R                   4S\R                  S\R                  \   S\R"                  \R                     SS4S jjr\S\R(                  \   4S j5       rSrg)CompositePropagator   zCompositePropagator provides a mechanism for combining multiple
propagators into a single one.

Args:
    propagators: the list of propagators to use
propagatorsreturnNc                     Xl         g )N_propagators)selfr	   s     e/var/www/html/dynamic-report/venv/lib/python3.13/site-packages/opentelemetry/propagators/composite.py__init__CompositePropagator.__init__!   s
     (    carriercontextgetterc                 L    U R                    H  nUR                  XUS9nM     U$ )a=  Run each of the configured propagators with the given context and carrier.
Propagators are run in the order they are configured, if multiple
propagators write the same context key, the propagator later in the list
will override previous propagators.

See `opentelemetry.propagators.textmap.TextMapPropagator.extract`
)r   )r   extract)r   r   r   r   
propagators        r   r   CompositePropagator.extract&   s.     ++J ((&(IG ,r   setterc                 J    U R                    H  nUR                  XUS9  M     g)a<  Run each of the configured propagators with the given context and carrier.
Propagators are run in the order they are configured, if multiple
propagators write the same carrier key, the propagator later in the list
will override previous propagators.

See `opentelemetry.propagators.textmap.TextMapPropagator.inject`
)r   N)r   inject)r   r   r   r   r   s        r   r   CompositePropagator.inject7   s'     ++Jgv> ,r   c                     [        5       nU R                   H'  nUR                   H  nUR                  U5        M     M)     U$ )zqReturns a set with the fields set in `inject`.

See
`opentelemetry.propagators.textmap.TextMapPropagator.fields`
)setr   fieldsadd)r   composite_fieldsr   fields       r   r    CompositePropagator.fieldsG   sB     5++J#** $$U+ + ,  r   r   )__name__
__module____qualname____firstlineno____doc__typingSequencer   TextMapPropagatorr   default_getterCarrierTOptionalr   Getterr   default_setterSetterr   propertySetstrr    __static_attributes__ r   r   r   r      s    (!??7+D+DE(	( -13:3I3I	!! ) w//0	
 
( -13:3I3I	?!!? )? w//0	?
 
?   

3    r   r   zCYou should use CompositePropagator. Deprecated since version 1.2.0.c                       \ rS rSrSrSrg)CompositeHTTPPropagatorW   zcCompositeHTTPPropagator provides a mechanism for combining multiple
propagators into a single one.
r7   N)r%   r&   r'   r(   r)   r6   r7   r   r   r9   r9   W   s    r   r9   )loggingr*   typing_extensionsr   opentelemetry.context.contextr   opentelemetry.propagatorsr   	getLoggerr%   loggerr,   r   r9   r7   r   r   <module>rA      s]      ( 1 -			8	$; '33 ; | I1 r   