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
36 lines
940 B
Python
36 lines
940 B
Python
from datetime import datetime
|
|
from typing import Any, Dict
|
|
|
|
from github.NamedUser import NamedUser
|
|
|
|
class Deployment:
|
|
def __repr__(self) -> str: ...
|
|
def _initAttributes(self) -> None: ...
|
|
def _useAttributes(self, attributes: Dict[str, Any]) -> None: ...
|
|
@property
|
|
def id(self) -> int: ...
|
|
@property
|
|
def url(self) -> str: ...
|
|
@property
|
|
def sha(self) -> str: ...
|
|
@property
|
|
def task(self) -> str: ...
|
|
@property
|
|
def payload(self) -> Dict[str, Any]: ...
|
|
@property
|
|
def original_environment(self) -> str: ...
|
|
@property
|
|
def environment(self) -> str: ...
|
|
@property
|
|
def description(self) -> str: ...
|
|
@property
|
|
def creator(self) -> NamedUser: ...
|
|
@property
|
|
def created_at(self) -> datetime: ...
|
|
@property
|
|
def updated_at(self) -> datetime: ...
|
|
@property
|
|
def statuses_url(self) -> str: ...
|
|
@property
|
|
def repository_url(self) -> str: ...
|