
    #Ii                     J    S SK r " S S\R                  R                  5      rg)    Nc                   T    \ rS rSrSr\S 5       r\S 5       r\S 5       rS r	S r
Srg	)
StatsCommitActivity   z
This class represents StatsCommitActivities. The reference can be found here https://docs.github.com/en/rest/reference/repos#get-the-last-year-of-commit-activity
c                 .    U R                   R                  $ )z
:type: datetime.datetime
)_weekvalueselfs    @/venv/lib/python3.13/site-packages/github/StatsCommitActivity.pyweekStatsCommitActivity.week#       
 zz    c                 .    U R                   R                  $ )z
:type: int
)_totalr   r	   s    r   totalStatsCommitActivity.total*   s    
 {{   r   c                 .    U R                   R                  $ )z
:type: list of int
)_daysr   r	   s    r   daysStatsCommitActivity.days1   r   r   c                     [         R                  R                  U l        [         R                  R                  U l        [         R                  R                  U l        g )N)githubGithubObjectNotSetr   r   r   r	   s    r   _initAttributes#StatsCommitActivity._initAttributes8   s;    ((//
))00((//
r   c                     SU;   a  U R                  US   5      U l        SU;   a  U R                  US   5      U l        SU;   a  U R	                  US   5      U l        g g )Nr   r   r   )_makeTimestampAttributer   _makeIntAttributer   _makeListOfIntsAttributer   )r
   
attributess     r   _useAttributes"StatsCommitActivity._useAttributes=   sd    Z55j6HIDJj 00G1DEDKZ66z&7IJDJ  r   )r   r   r   N)__name__
__module____qualname____firstlineno____doc__propertyr   r   r   r   r#   __static_attributes__ r   r   r   r      sN         ! !    0
Kr   r   )github.GithubObjectr   r   NonCompletableGithubObjectr   r,   r   r   <module>r/      s$   6 %K&--HH %Kr   