File: StatsContributor.pyi

package info (click to toggle)
pygithub 1.55-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,908 kB
  • sloc: python: 15,000; makefile: 7
file content (26 lines) | stat: -rw-r--r-- 862 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
from datetime import datetime
from typing import Any, Dict, List, Optional

from github.GithubObject import NonCompletableGithubObject
from github.NamedUser import NamedUser

class StatsContributor(NonCompletableGithubObject):
    def _initAttributes(self) -> None: ...
    def _useAttributes(self, attributes: Dict[str, Any]) -> None: ...
    @property
    def author(self) -> NamedUser: ...
    @property
    def total(self) -> int: ...
    @property
    def weeks(self) -> List[Week]: ...
    class Week(NonCompletableGithubObject):
        def _initAttributes(self) -> None: ...
        def _useAttributes(self, attributes: Dict[str, int]) -> None: ...
        @property
        def a(self) -> int: ...
        @property
        def c(self) -> int: ...
        @property
        def d(self) -> int: ...
        @property
        def w(self) -> datetime: ...