HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //usr/local/lib/python3.10/dist-packages/sqlalchemy/testing/__pycache__/pickleable.cpython-310.pyc
o

���g�@sHdZddlmZddlmZddlmZddlmZGdd	�d	e�Z	Gd
d�de�Z
Gdd
�d
e�ZGdd�de	�ZGdd�de�Z
Gdd�de�ZGdd�de�ZGdd�de�ZGdd�d�ZGdd�d�ZGdd�dee�ZGdd�d�ZGd d!�d!�ZGd"d#�d#�ZGd$d%�d%�ZGd&d'�d'�ZGd(d)�d)�ZGd*d+�d+�Zd,S)-zOClasses used in pickling tests, need to be at the module level for
unpickling.
�)�annotations�)�ComparableEntity�)�Column)�Stringc@�eZdZdS)�UserN��__name__�
__module__�__qualname__�rr�H/usr/local/lib/python3.10/dist-packages/sqlalchemy/testing/pickleable.pyr	�r	c@r)�OrderNr
rrrrrrrc@r)�	DingalingNr
rrrrrrrc@r)�	EmailUserNr
rrrrr!rrc@r)�AddressNr
rrrrr%rrc@r)�Child1Nr
rrrrr*rrc@r)�Child2Nr
rrrrr.rrc@r)�ParentNr
rrrrr2rrc@seZdZddd�ZdS)�ScreenNcC�||_||_dS�N)�obj�parent)�selfrrrrr�__init__7�
zScreen.__init__r�rrr
rrrrrr6src@seZdZee�ZdS)�MixinN)rrr
rr�
email_addressrrrrr!<�r!c@r)�
AddressWMixinNr
rrrrr$@rr$c@s$eZdZddd�ZejZdd�ZdS)�Foo�im stuffcCsd|_||_||_dS)Nzim data��data�stuff�moredata)rr*r)rrrrEs
zFoo.__init__cCs$|j|jko|j|jko|j|jkSrr'�r�otherrrr�__eq__L�

�
�z
Foo.__eq__N)r&)rrr
r�object�__hash__r-rrrrr%Ds
r%c@s*eZdZdd�ZejZdd�Zdd�ZdS)�BarcCrr��x�y�rr3r4rrrrUrzBar.__init__cC�$|j|juo|j|jko|j|jkSr��	__class__r3r4r+rrrr-[r.z
Bar.__eq__cC�d|j|jfS�NzBar(%d, %d)r2�rrrr�__str__b�zBar.__str__N)rrr
rr/r0r-r<rrrrr1Ts
r1c@�eZdZdd�Zdd�ZdS)�	OldSchoolcCrrr2r5rrrrgrzOldSchool.__init__cCr6rr7r+rrrr-kr.zOldSchool.__eq__N)rrr
rr-rrrrr?f�r?c@seZdZdd�ZdS)�OldSchoolWithoutComparecCrrr2r5rrrrtrz OldSchoolWithoutCompare.__init__Nr rrrrrAsr#rAc@r>)�BarWithoutComparecCrrr2r5rrrrzrzBarWithoutCompare.__init__cCr9r:r2r;rrrr<~r=zBarWithoutCompare.__str__N)rrr
rr<rrrrrByr@rBc@�,eZdZdd�Zdd�Zdd�Zdd�Zd	S)
�
NotComparablecC�
||_dSr�r(�rr(rrrr��
zNotComparable.__init__cC�t|�Sr��idr;rrrr0��zNotComparable.__hash__cC�tSr��NotImplementedr+rrrr-��zNotComparable.__eq__cCrMrrNr+rrr�__ne__�rPzNotComparable.__ne__N�rrr
rr0r-rQrrrrrD��
rDc@rC)
�BrokenComparablecCrErrFrGrrrr�rHzBrokenComparable.__init__cCrIrrJr;rrrr0�rLzBrokenComparable.__hash__cC�t�r��NotImplementedErrorr+rrrr-�rPzBrokenComparable.__eq__cCrUrrVr+rrrrQ�rPzBrokenComparable.__ne__NrRrrrrrT�rSrTN)�__doc__�
__future__r�entitiesr�schemar�typesrr	rrrrrrrrr!r$r%r1r?rArBrDrTrrrr�<module>s.