File: Milestone.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 (49 lines) | stat: -rw-r--r-- 1,474 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
from datetime import date, datetime
from typing import Any, Dict, Optional, Union

from github.GithubObject import CompletableGithubObject, _NotSetType
from github.Label import Label
from github.NamedUser import NamedUser
from github.PaginatedList import PaginatedList

class Milestone(CompletableGithubObject):
    def __repr__(self) -> str: ...
    @property
    def _identity(self) -> int: ...
    def _initAttributes(self) -> None: ...
    def _useAttributes(self, attributes: Dict[str, Any]) -> None: ...
    @property
    def closed_issues(self) -> int: ...
    @property
    def created_at(self) -> datetime: ...
    @property
    def creator(self) -> NamedUser: ...
    def delete(self) -> None: ...
    @property
    def description(self) -> str: ...
    @property
    def due_on(self) -> Optional[datetime]: ...
    def edit(
        self,
        title: str,
        state: Union[_NotSetType, str] = ...,
        description: Union[_NotSetType, str] = ...,
        due_on: Union[date, _NotSetType] = ...,
    ) -> None: ...
    def get_labels(self) -> PaginatedList[Label]: ...
    @property
    def id(self) -> int: ...
    @property
    def labels_url(self) -> str: ...
    @property
    def number(self) -> int: ...
    @property
    def open_issues(self) -> int: ...
    @property
    def state(self) -> str: ...
    @property
    def title(self) -> str: ...
    @property
    def updated_at(self) -> datetime: ...
    @property
    def url(self) -> str: ...