
    ,Of                     >    d dl mZmZ d dlmZmZmZ  G d de      Zy)    )AnyDict)	AttributeCompletableGithubObjectNotSetc                   ^    e Zd ZdZd	dZedefd       Zedefd       Zde	ee
f   ddfdZy)
CWEz
    This class represents a CWE.

    The reference can be found here
    https://docs.github.com/en/rest/security-advisories/repository-advisories

    returnNc                 0    t         | _        t         | _        y N)r   _cwe_id_nameselfs    *lib/python3.12/site-packages/github/CWE.py_initAttributeszCWE._initAttributes8   s    '-%+
    c                 .    | j                   j                  S r   )r   valuer   s    r   cwe_idz
CWE.cwe_id<   s    ||!!!r   c                 .    | j                   j                  S r   )r   r   r   s    r   namezCWE.name@   s    zzr   
attributesc                 z    d|v r| j                  |d         | _        d|v r| j                  |d         | _        y y )Nr   r   )_makeStringAttributer   r   )r   r   s     r   _useAttributeszCWE._useAttributesD   sE    z!44Z5IJDLZ22:f3EFDJ  r   )r
   N)__name__
__module____qualname____doc__r   propertystrr   r   r   r   r    r   r   r	   r	   /   s`    , " " "  c    Gc3h GD Gr   r	   N)typingr   r   github.GithubObjectr   r   r   r	   r#   r   r   <module>r&      s    T  J JG
! Gr   