mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 19:01:15 +00:00
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
33 lines
918 B
Python
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: ...
|