|
| 1 | +from typing import Dict, List, Any, Type |
| 2 | + |
| 3 | +from requests import Response |
| 4 | + |
| 5 | +PYTHON_VERSIONS = Dict[str, str] |
| 6 | + |
| 7 | +class AuthenticationError(Exception): ... |
| 8 | +class NoTokenError(Exception): ... |
| 9 | + |
| 10 | +def get_api_endpoint() -> str: ... |
| 11 | +def call_api(url: str, method: str, **kwargs) -> Response: ... |
| 12 | + |
| 13 | +class Webapp: |
| 14 | + def __init__(self, domain: str) -> None: |
| 15 | + self.domain = Type[str] |
| 16 | + ... |
| 17 | + |
| 18 | + def __eq__(self, other: Webapp) -> bool: ... |
| 19 | + def sanity_checks(self, nuke: bool) -> None: ... |
| 20 | + def create(self, python_version: str, virtualenv_path: str, project_path: str, nuke: bool) -> None: ... |
| 21 | + def add_default_static_files_mappings(self, project_path: str) -> None: ... |
| 22 | + def reload(self) -> None: ... |
| 23 | + def set_ssl(self, certificate: str, private_key: str) -> None: ... |
| 24 | + def get_ssl_info(self) -> Dict[str, Any]: ... |
| 25 | + def delete_log(self, log_type: str, index: int = 0) -> None: ... |
| 26 | + def get_log_info(self) -> Dict[str, List[int]]: ... |
0 commit comments