Files
PyGithub/github/TimelineEvent.pyi
T
Steve Kowalik 393bd21bd1 Add missing mypy stubs (#1443)
Deployment, TimelineEvent{,Source} were missing mypy stubs, since they
were added after the mypy branch was started. Add them, and clean up two
spurious __future__ imports that are no longer required. Add mypy's
cache directory to .gitignore
2020-03-28 21:45:04 +11:00

33 lines
918 B
Python

from datetime import datetime
from typing import Any, Dict
from github.NamedUser import NamedUser
from github.TimelineEventSource import TimelineEventSource
class TimelineEvent:
def __repr__(self) -> str: ...
def _initAttributes(self) -> None: ...
def _useAttributes(self, attributes: Dict[str, Any]) -> None: ...
@property
def actor(self) -> NamedUser: ...
@property
def commit_id(self) -> str: ...
@property
def created_at(self) -> datetime: ...
@property
def event(self) -> str: ...
@property
def id(self) -> int: ...
@property
def node_id(self) -> str: ...
@property
def commit_url(self) -> str: ...
@property
def source(self) -> Any[TimelineEventSource, None]: ...
@property
def body(self) -> Any[str, None]: ...
@property
def author_association(self) -> Any[str, None]: ...
@property
def url(self) -> str: ...