PATH:
opt
/
cloudlinux
/
venv
/
lib
/
python3.11
/
site-packages
/
pylint_django
/
tests
/
input
/
__pycache__
/
Editing: func_noerror_foreign_key_sets.cpython-311.pyc
� � hJ � � � d Z ddlmZ G d� dej � � Z G d� dej � � Z G d� dej � � Zd � Zd S )zG Checks that Pylint does not complain about foreign key sets on models � )�modelsc �B � e Zd Z ej d�� � Zd� Zd� Zd� ZdS )� SomeModel� )� max_lengthc �4 � | j � � � S �N)�othermodel_set�all��selfs ��/builddir/build/BUILD/cloudlinux-venv-1.0.8/venv/lib/python3.11/site-packages/pylint_django/tests/input/func_noerror_foreign_key_sets.py� get_otherszSomeModel.get_others s � ��"�&�&�(�(�(� c �4 � | j � � � S r )r �firstr s r � get_firstzSomeModel.get_first s � ��"�(�(�*�*�*r c �4 � | j � � � S r )r �update_or_creater s r �othermodel_update_or_createz%SomeModel.othermodel_update_or_create s � ��"�3�3�5�5�5r N) �__name__� __module__�__qualname__r � CharField�namer r r � r r r r sV � � � � � ��6��r�*�*�*�D�)� )� )�+� +� +�6� 6� 6� 6� 6r r c �Z � e Zd Z ej � � Z ej eej �� � Z dS )� OtherModel)� on_deleteN) r r r r �IntegerField�count� ForeignKeyr �CASCADE� somethingr r r r r s7 � � � � � ��F��!�!�E�!��!�)�v�~�F�F�F�I�I�Ir r c �>