Skip to content
Merged
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
2 changes: 1 addition & 1 deletion openshift/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ OpenShift provides builds, application lifecycle, image content management, and
This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:

- API version: latest
- Package version: 0.4.3
- Package version: 0.4.4
- Build package: io.swagger.codegen.languages.PythonClientCodegen

## Requirements.
Expand Down
2 changes: 1 addition & 1 deletion openshift/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@

# Do not edit these constants. They will be updated automatically
# by scripts/update-client.sh.
__version__ = "0.4.3"
__version__ = "0.4.4"
__k8s_client_version__ = "4.0.0"
5 changes: 5 additions & 0 deletions openshift/client/api_client.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
from __future__ import absolute_import

import json
from base64 import b64encode

from kubernetes.client.api_client import ApiClient as K8sApiClient
from kubernetes.client import models as k8s_models

from . import models

class ApiClient(K8sApiClient):
def _ApiClient__deserialize(self, data, klass):
if klass == 'RuntimeRawExtension':
data = {'Raw': b64encode(json.dumps(data))}
try:
return super(ApiClient, self).__deserialize(data, klass)
except AttributeError:
Expand Down
2 changes: 1 addition & 1 deletion python-openshift.spec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
%global library openshift

Name: python-%{library}
Version: 0.4.3
Version: 0.4.4
Release: 6%{?dist}
Summary: Python client for the OpenShift API
License: MIT
Expand Down
2 changes: 1 addition & 1 deletion scripts/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

# client version for packaging and releasing. It can
# be different than SPEC_VERSION.
CLIENT_VERSION = "0.4.3"
CLIENT_VERSION = "0.4.4"
KUBERNETES_CLIENT_VERSION = "4.0.0"

# Name of the release package
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

# Do not edit these constants. They will be updated automatically
# by scripts/update-client.sh.
CLIENT_VERSION = "0.4.3"
CLIENT_VERSION = "0.4.4"
PACKAGE_NAME = "openshift"
DEVELOPMENT_STATUS = "3 - Alpha"

Expand Down