Add support for Workflows (#1496)

To start supporting GitHub Actions, add the first part of that,
Workflow, which encapsulates a workflow over the API, along with
two methods on Repository to query them.
This commit is contained in:
Steve Kowalik
2020-05-05 15:49:45 +10:00
committed by GitHub
parent ba9d59c209
commit a1ed7c0e2d
7 changed files with 296 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
from datetime import datetime
from typing import Any, Dict
from github.GithubObject import CompletableGithubObject
class Deployment(CompletableGithubObject):
def __repr__(self) -> str: ...
def _initAttributes(self) -> None: ...
def _useAttributes(self, attributes: Dict[str, Any]) -> None: ...
@property
def id(self) -> int: ...
@property
def name(self) -> str: ...
@property
def path(self) -> str: ...
@property
def state(self) -> str: ...
@property
def created_at(self) -> datetime: ...
@property
def updated_at(self) -> datetime: ...
@property
def url(self) -> str: ...
@property
def html_url(self) -> str: ...
@property
def badge_url(self) -> str: ...