
    _Og	                     h    S r SSKJr   " S S\R                  5      r " S S\R                  5      rg)zGitHub Pages related logic.   )modelsc                   $    \ rS rSrSrS rS rSrg)	PagesInfo   ab  Representation of the information about a GitHub pages website.

.. attribute:: cname

    The cname in use for the pages site, if one is set.

.. attribute:: custom_404

    A boolean attribute indicating whether the user configured a custom
    404 page for this site.

.. attribute:: status

    The current status of the pages site, e.g., ``built``.
c                 T    US   U l         US   U l        US   U l        US   U l        g )Nurlcname
custom_404status_apir	   r
   r   selfinfos     X/Users/admin/workspace/ai/Jarvis/env/lib/python3.13/site-packages/github3/repos/pages.py_update_attributesPagesInfo._update_attributes   s/    K	']
|,8n    c                 ~    U R                   =(       d    SnU(       a  US-  nXR                  =(       d    S-  nSU S3$ )N /z<Pages Info []>)r	   r   r   s     r   _reprPagesInfo._repr   s<    zzRCKD!r!tfB''r   r   N__name__
__module____qualname____firstlineno____doc__r   r   __static_attributes__ r   r   r   r      s     %(r   r   c                   $    \ rS rSrSrS rS rSrg)
PagesBuild$   a9  Representation of a single build of a GitHub pages website.

.. attribute:: commit

    The SHA of the commit that triggered this build.

.. attribute:: created_at

    A :class:`~datetime.datetime` object representing the date and time
    when this build was created.

.. attribute:: duration

    The time it spent processing this build.

.. attribute:: error

    If this build errored, a dictionary containing the error message and
    details about the error.

.. attribute:: pusher

    A :class:`~github3.users.ShortUser` representing the user who pushed
    the commit that triggered this build.

.. attribute:: status

    The current statues of the build, e.g., ``building``.

.. attribute:: updated_at

    A :class:`~datetime.datetime` object representing the date and time
    when this build was last updated.
c                    SSK Jn  US   U l        US   U l        U R	                  US   5      U l        US   U l        US   U l        UR                  US   U 5      U l	        US	   U l
        U R	                  US
   5      U l        g )Nr   )usersr   commit
created_atdurationerrorpusherr   
updated_at)r   r'   r   r(   	_strptimer)   r*   r+   	ShortUserr,   r   r-   )r   buildr'   s      r   r   PagesBuild._update_attributesH   s}    %L	Ho..|)<=j)7^
ooeHot<Ho..|)<=r   c                 <    SU R                    SU R                   S3$ )Nz<Pages Build [r   r   )r(   r   )r   s    r   r   PagesBuild._reprT   s    }Adkk]"==r   )r   r(   r)   r*   r+   r,   r   r-   Nr   r"   r   r   r$   r$   $   s    !F
>>r   r$   N)r    r   r   
GitHubCorer   r$   r"   r   r   <module>r5      s/    ! (!! (>1>"" 1>r   