Ë
    Fü´jí  ã                  ó‚   — d Z ddlmZ ddlmZmZ ddlmZ ddlm	Z	 ddl
mZ erddlmZ ddlZdd	lmZ  G d
„ de«      Zy)zProvide the Front class.é    )Úannotations)ÚTYPE_CHECKINGÚAny)Úurljoin)ÚListingGenerator)ÚSubredditListingMixin)ÚIteratorN)Úmodelsc                  ó,   ‡ — e Zd ZdZdˆ fd„Zdd„Zˆ xZS )ÚFrontz8Front is a Listing class that represents the front page.c                ó6   •— t         ‰| �  |d¬«       d| _        y)z&Initialize a :class:`.Front` instance.N)Ú_dataú/)ÚsuperÚ__init__Ú_path)ÚselfÚredditÚ	__class__s     €úO/root/workspace/ytshorts/venv/lib/python3.12/site-packages/praw/models/front.pyr   zFront.__init__   s   ø€ ä‰Ñ˜ tÐÔ,Øˆ�
ó    c                óX   — t        | j                  t        | j                  d«      fi |¤ŽS )z«Return a :class:`.ListingGenerator` for best items.

        Additional keyword arguments are passed in the initialization of
        :class:`.ListingGenerator`.

        Úbest)r   Ú_redditr   r   )r   Úgenerator_kwargss     r   r   z
Front.best   s&   € ô   §¡¬g°d·j±jÀ&Ó.IÑ^ÐM]Ñ^Ð^r   )r   zpraw.RedditÚreturnÚNone)r   r   r   zIterator[models.Submission])Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   Ú__classcell__)r   s   @r   r   r      s   ø„ ÙBõ÷
_r   r   )r!   Ú
__future__r   Útypingr   r   Úurllib.parser   Úpraw.models.listing.generatorr   Úpraw.models.listing.mixinsr   Úcollections.abcr	   Úprawr
   r   © r   r   ú<module>r+      s2   ðÙ å "ç %Ý  å :Ý <áÝ(ãÝô_Ð!õ _r   