Ë
    ÑÕ¯i  ã                   ó"   — d dl Z  G d„ de«      Zy)é    Nc                   óf   ‡ — e Zd ZdZˆ fd„Zed„ «       Zej                  d„ «       Zd„ Zˆ fd„Z	ˆ xZ
S )Ú
Collectionz“
    Defines a collection of objects.

    The collection holds extra metadata about the objects which are used
    in things like pagination.
    c                 óZ   •— |j                  di «      | _        t        t        | �  |i |¤Ž y )NÚmetadata)ÚpopÚ	_metadataÚsuperr   Ú__init__)ÚselfÚargsÚkwargsÚ	__class__s      €úN/var/www/html/venv/lib/python3.12/site-packages/pyactiveresource/collection.pyr
   zCollection.__init__   s)   ø€ ØŸ™ J°Ó3ˆŒÜŒj˜$Ñ(¨$Ð9°&Ó9ó    c                 ó   — | j                   S ©N©r   )r   s    r   r   zCollection.metadata   s   € à�~‰~Ðr   c                 ó   — || _         y r   r   )r   Úvalues     r   r   zCollection.metadata   s	   € àˆ�r   c                 ól   — t        | «      }t        |t        j                  | j                  «      ¬«      S )z3Override list.copy so that it returns a Collection.)r   )Úlistr   ÚcopyÚdeepcopyr   )r   Úcopied_lists     r   r   zCollection.copy   s%   € ä˜4“jˆÜ˜+´·±¸d¿n¹nÓ0MÔNÐNr   c                 óª   •— t         t        | �  |«      }t        |t        «      r|xr | j                  |j                  k(  S t        |t
        «      r|S y)z/Test equality of metadata as well as the items.F)r	   r   Ú__eq__Ú
isinstancer   r   )r   ÚotherÚ	same_listr   s      €r   r   zCollection.__eq__   sK   ø€ ô œ* dÑ2°5Ó9ˆ	Ü�eœZÔ(ØÒ@ §¡°%·.±.Ñ!@Ð@Ü�eœTÔ"ØÐØr   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r
   Úpropertyr   Úsetterr   r   Ú__classcell__)r   s   @r   r   r      sI   ø„ ñô:ð ñó ðð ‡_�_ñó ðòO÷
ð r   r   )r   r   r   © r   r   Ú<module>r(      s   ðÛ ô!�õ !r   