Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions cloud_pipelines_backend/launchers/kubernetes_launchers.py
Original file line number Diff line number Diff line change
Expand Up @@ -1778,13 +1778,13 @@ def windows_path_to_docker_path(path: str) -> str:


def _kubernetes_serialize(obj) -> dict[str, Any]:
shallow_client = k8s_client_lib.ApiClient.__new__(k8s_client_lib.ApiClient)
return shallow_client.sanitize_for_serialization(obj)
client = k8s_client_lib.ApiClient()
return client.sanitize_for_serialization(obj)


def _kubernetes_deserialize(obj_dict: dict[str, Any], cls: typing.Type[_T]) -> _T:
shallow_client = k8s_client_lib.ApiClient.__new__(k8s_client_lib.ApiClient)
return shallow_client._ApiClient__deserialize(obj_dict, cls)
client = k8s_client_lib.ApiClient()
return client._ApiClient__deserialize(obj_dict, cls)


def _update_dict_recursively(d1: dict, d2: dict):
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ dependencies = [
"bugsnag>=4.9.0,<5",
"cloud-pipelines>=0.23.2.4",
"fastapi[standard]>=0.115.12",
"kubernetes>=33.1.0,<36",
"kubernetes>=36.0.0,<37",
"opentelemetry-api>=1.41.1",
"opentelemetry-exporter-otlp-proto-grpc>=1.41.1",
"opentelemetry-exporter-otlp-proto-http>=1.39.1",
Expand Down
15 changes: 10 additions & 5 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.