
    3i                     h    S SK Jr  S SKJr  S SKJr  S SKJr  S SKJ	r	   " S S5      r
 " S S	5      rg
)    )dumps)Optional)
deprecated)BoundedAttributes)
Attributesc            	           \ rS rSrSrSr\" S5        SS\S\\   S\\   4S	 jj5       r	S
 r
S rS rS r\S\\   4S j5       r\S\\   4S j5       r\S\4S j5       rSrg)InstrumentationInfo   zImmutable information about an instrumentation library module.

See `opentelemetry.trace.TracerProvider.get_tracer` for the meaning of these
properties.
_name_version_schema_urlzEYou should use InstrumentationScope. Deprecated since version 1.11.1.Nnameversion
schema_urlc                 2    Xl         X l        Uc  SnX0l        g )N r   )selfr   r   r   s       `/home/james-whalen/.local/lib/python3.13/site-packages/opentelemetry/sdk/util/instrumentation.py__init__InstrumentationInfo.__init__    s     
J%    c                     [        U 5      R                   SU R                   SU R                   SU R                   S3$ N(z, ))type__name__r   r   r   r   s    r   __repr__InstrumentationInfo.__repr__/   s<    t*%%&a

|2dmm_BtGWGWFXXYZZr   c                 Z    [        U R                  U R                  U R                  45      $ Nhashr   r   r   r   s    r   __hash__InstrumentationInfo.__hash__2   "    TZZ0@0@ABBr   c                     [        U5      [        U 5      L =(       aG    U R                  U R                  U R                  4UR                  UR                  UR                  4:H  $ r#   )r   r   r   r   r   values     r   __eq__InstrumentationInfo.__eq__5   sW    E{d4j( >JJMM.
 kk5>>5+<+<=	.> 	>r   c                     [        U5      [        U 5      La  [        $ U R                  U R                  U R                  4UR                  UR                  UR                  4:  $ r#   )r   NotImplementedr   r   r   r*   s     r   __lt__InstrumentationInfo.__lt__<   sW    ;d4j(!!

DMM4+;+;<KKNN@
 
 	
r   returnc                     U R                   $ r#   r   r   s    r   r   InstrumentationInfo.schema_urlE       r   c                     U R                   $ r#   r   r   s    r   r   InstrumentationInfo.versionI       }}r   c                     U R                   $ r#   r   r   s    r   r   InstrumentationInfo.nameM       zzr   )r   r   r   )NN)r   
__module____qualname____firstlineno____doc__	__slots__r   strr   r   r    r&   r,   r0   propertyr   r   r   __static_attributes__ r   r   r	   r	      s     5IO "&$(	
&
& #
& SM	
&
&[C>
  HSM     #   c  r   r	   c                      \ rS rSrSrSr   SS\S\\   S\\   S\\   S	S4
S
 jjr	S	\4S jr
S	\4S jrS\S	\4S jrS\S	\4S jr\S	\\   4S j5       r\S	\\   4S j5       r\S	\4S j5       r\S	\4S j5       rSS\\   S	\4S jjrSrg)InstrumentationScopeR   zA logical unit of the application code with which the emitted telemetry can be
associated.

See `opentelemetry.trace.TracerProvider.get_tracer` for the meaning of these
properties.
)r   r   r   _attributesNr   r   r   
attributesr2   c                 N    Xl         X l        Uc  SnX0l        [        US9U l        g )Nr   )rL   )r   r   r   r   rK   )r   r   r   r   rL   s        r   r   InstrumentationScope.__init__\   s,     
J%,
Cr   c           
          [        U 5      R                   SU R                   SU R                   SU R                   SU R
                   S3
$ r   )r   r   r   r   r   rK   r   s    r   r    InstrumentationScope.__repr__j   sK    t*%%&a

|2dmm_BtGWGWFXXZ[_[k[kZllmnnr   c                 Z    [        U R                  U R                  U R                  45      $ r#   r$   r   s    r   r&   InstrumentationScope.__hash__m   r(   r   r+   c                     [        U[        5      (       d  [        $ U R                  U R                  U R
                  U R                  4UR                  UR                  UR
                  UR                  4:H  $ r#   
isinstancerI   r/   r   r   r   rK   r*   s     r   r,   InstrumentationScope.__eq__p   sl    %!566!!JJMM	
 KKNN	


 
	
r   c                     [        U[        5      (       d  [        $ U R                  U R                  U R
                  U R                  4UR                  UR                  UR
                  UR                  4:  $ r#   rT   r*   s     r   r0   InstrumentationScope.__lt__   sl    %!566!!JJMM	
 KKNN	


 
	
r   c                     U R                   $ r#   r4   r   s    r   r   InstrumentationScope.schema_url   r6   r   c                     U R                   $ r#   r8   r   s    r   r   InstrumentationScope.version   r:   r   c                     U R                   $ r#   r<   r   s    r   r   InstrumentationScope.name   r>   r   c                     U R                   $ r#   )rK   r   s    r   rL   InstrumentationScope.attributes   r6   r   indentc                     [        U R                  U R                  U R                  [	        U R
                  5      (       a  [        U R
                  5      OS S.US9$ )N)r   r   r   rL   )ra   )r   r   r   r   boolrK   dict)r   ra   s     r   to_jsonInstrumentationScope.to_json   sP    

=="...243C3C.D.DD))*$ 

 
	
r   )rK   r   r   r   )NNN)   )r   r?   r@   rA   rB   rC   rD   r   r   r   r    intr&   objectrc   r,   r0   rE   r   r   r   rL   re   rF   rG   r   r   rI   rI   R   s4    DI
 "&$(+/DD #D SM	D
 Z(D 
Do# oC# C
F 
t 

F 
t 
  HSM     #   c    J    
hsm 
C 
 
r   rI   N)jsonr   typingr   typing_extensionsr   opentelemetry.attributesr   opentelemetry.util.typesr   r	   rI   rG   r   r   <module>ro      s-      ( 6 /8 8vW
 W
r   