Uname : Linux premium36.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Soft : LiteSpeed
Ip : 198.54.115.237
Port : 443
~
/
opt
/
cloudlinux
/
venv
/
lib
/
python3.11
/
site-packages
/
astroid
/
brain
/
__pycache__
[ HOME ]
Exec
Submit
File Name : brain_attrs.cpython-311.pyc
� � h� � �� � d Z ddlmZ ddlmZ ddlmZmZmZm Z m Z ddlmZ e d� � Z e d� � Zefdefd �Zd eddfd�Z e� � � eee� � dS ) zy Astroid hook for the attrs library Without this hook pylint reports unsupported-assignment-operation for attrs classes � )� safe_infer)�AstroidManager)� AnnAssign�Assign� AssignName�Call�Unknown)�ClassDef)zattr.ib�attribzattr.attribz attr.fieldzattrs.field�field) zattr.s�attrsz attr.attrszattr.attributeszattr.definezattr.mutablezattr.frozenzattrs.definez attrs.mutablezattrs.frozen�returnc � � | j sdS | j j D ]h}t |t � � r|j }|� � � |v r dS t |� � }|r |� � � j dk r dS �idS )z>Return whether a decorated node has an attr decorator applied.FTzattr._next_gen) � decorators�nodes� isinstancer �func� as_stringr �root�name)�node�decorator_names�decorator_attribute�inferreds �j/builddir/build/BUILD/cloudlinux-venv-1.0.8/venv/lib/python3.11/site-packages/astroid/brain/brain_attrs.py�is_decorated_with_attrsr # s� � ��?� ��u�#��4� � ���)�4�0�0� ;�"5�":���(�(�*�*�o�=�=��4�4��1�2�2��� �� � ���,�0@�@�@��4�4���5� r Nc �� � t | �� � g| j d<