Files
PyGithub/github/Deployment.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

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: ...