Skip to content

Commit

Permalink
Release v18.20.0post2
Browse files Browse the repository at this point in the history
  • Loading branch information
benesch committed Aug 25, 2021
1 parent f510dc3 commit a9b5c34
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
8 changes: 6 additions & 2 deletions codegen/base/kubernetes-stubs/client/api_client.pyi
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
from typing import Optional, Type, TypeVar
from typing import Any, Optional, Protocol, Type, TypeVar

from kubernetes.client import Configuration

_T = TypeVar("_T")

class Response(Protocol):
data: str

class ApiClient:
def __init__(self, configuration: Optional[Configuration] = ...) -> None: ...
def __deserialize(self, response: str, response_type: Type[_T]) -> _T: ...
def sanitize_for_serialization(self, obj: Any) -> dict[Any, Any]: ...
def deserialize(self, response: Response, response_type: Type[_T]) -> _T: ...
8 changes: 6 additions & 2 deletions kubernetes-stubs/client/api_client.pyi
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
from typing import Optional, Type, TypeVar
from typing import Any, Optional, Protocol, Type, TypeVar

from kubernetes.client import Configuration

_T = TypeVar("_T")

class Response(Protocol):
data: str

class ApiClient:
def __init__(self, configuration: Optional[Configuration] = ...) -> None: ...
def __deserialize(self, response: str, response_type: Type[_T]) -> _T: ...
def sanitize_for_serialization(self, obj: Any) -> dict[Any, Any]: ...
def deserialize(self, response: Response, response_type: Type[_T]) -> _T: ...
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "kubernetes-stubs"
version = "18.20.0post1"
version = "18.20.0post2"
description = "Type stubs for the Kubernetes Python API client"
authors = ["Nikhil Benesch <[email protected]>"]
license = "Apache-2.0"
Expand Down

0 comments on commit a9b5c34

Please sign in to comment.