mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 19:01:15 +00:00
* Add missing preview features of Deployment and Deployment Statuses API - Enable support for deployment status states in_progress and queued - Add arguments production_environment and transient_environment to Repository.create_deployment() - Add attributes production_environment and transient_environment to Deployment - Use correct type in assertion for Deployment.payload - Fix incorrect assertion for description in Deployment.create_status() - Add arguments environment, environment_url, auto_inactive to Deployment.create_status() - Add attribute environment_url to DeploymentStatus
38 lines
1022 B
Python
38 lines
1022 B
Python
from datetime import datetime
|
|
from typing import Any, Dict
|
|
|
|
from github.GithubObject import CompletableGithubObject
|
|
from github.NamedUser import NamedUser
|
|
|
|
|
|
class DeploymentStatus(CompletableGithubObject):
|
|
def __repr__(self) -> str: ...
|
|
def _initAttributes(self) -> None: ...
|
|
def _useAttributes(self, attributes: Dict[str, Any]) -> None: ...
|
|
@property
|
|
def created_at(self) -> datetime: ...
|
|
@property
|
|
def creator(self) -> NamedUser: ...
|
|
@property
|
|
def deployment_url(self) -> str: ...
|
|
@property
|
|
def description(self) -> str: ...
|
|
@property
|
|
def environment(self) -> str: ...
|
|
@property
|
|
def environment_url(self) -> str: ...
|
|
@property
|
|
def repository_url(self) -> str: ...
|
|
@property
|
|
def state(self) -> str: ...
|
|
@property
|
|
def target_url(self) -> str: ...
|
|
@property
|
|
def updated_at(self) -> datetime: ...
|
|
@property
|
|
def url(self) -> str: ...
|
|
@property
|
|
def id(self) -> int: ...
|
|
@property
|
|
def node_id(self) -> str: ...
|