o
    :D©i  ã                   @   s.   d Z ddlZejZejjZG dd„ deƒZdS )z0
Internal objects to support the UUID adapters.
é    Nc                   @   s   e Zd ZdZdZejZdS )Ú_WritableUUIDa’  Temporary class, with the same memory layout of UUID, but writable.

    This class must have the same memory layout of the UUID class, so we can
    create one, setting the `int` attribute, and changing the `__class__`,
    which should be faster than calling the complex UUID.__init__ machinery.

        u = _WritableUUID()
        u.is_safe = ...
        u.int = ...
        u.__class__ = UUID
    © N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú	__slots__ÚobjectÚ__setattr__r   r   r   úM/var/www/Datamplify/venv/lib/python3.10/site-packages/psycopg_binary/_uuid.pyr      s    
r   )r   ÚuuidÚUUIDÚSafeUUIDÚunknownÚSafeUUID_unknownr   r   r   r   r   Ú<module>   s
    