Go to file
Tobias Urdin c024b4fc43 Check response type in _extract_error_json
The response being passed to _extract_error_json
is assumed to be a requests.Response but can also
be a http.client.HTTPResponse.

This patch adds a try statement where it first tries
for a requests.Response and if not set falls back on
parsing the string body instead of trying to use the
json() helper function in requests.Response.

Change-Id: I61840d284b5d3a249f621822b277c9bd6825140d
Closes-Bug: 1870264
2020-04-08 09:46:58 +00:00
2019-06-03 19:34:36 +10:00
2016-08-28 21:47:22 +01:00
2018-07-24 15:44:42 +07:00
2019-04-19 19:40:49 +00:00
2014-11-21 08:33:53 +09:00
2018-07-24 15:44:42 +07:00
2020-03-18 13:18:30 +13:00
2014-11-21 08:33:53 +09:00
2014-11-18 14:38:31 -07:00
2018-07-24 15:44:42 +07:00
2020-03-31 09:56:29 +00:00
2018-07-24 15:44:42 +07:00
2020-03-18 13:18:30 +13:00
2017-03-03 22:58:41 +00:00
2020-03-28 15:54:06 +01:00

Team and repository tags

image

Python bindings to the Magnum API

Latest Version

Downloads

This is a client library for Magnum built on the Magnum API. It provides a Python API (the magnumclient module) and a command-line tool (magnum).

Development takes place via the usual OpenStack processes as outlined in the developer guide.

Description
Python client for Container Infrastructure Management Service
Readme 8 MiB
Languages
Python 100%