Python client for Monasca REST API.
Go to file
Doug Szumski 59e2a9bd2f Fix alarm-definition-list in Python 3
Python 3 uses unicode strings by default. This bug was caused by
attempting to join a byte string to a unicode string when running
with the Python 3 interpreter.

A unit test was added to reproduce the problem.

Whilst this fix allows alarm definitions to be listed, it doesn't
fix the formatting problem in Python 3. A better fix may be
to return unicode strings in Python 3 as part of a wider code
audit.

Story: 2004972
Task: 29427
Change-Id: Ib008ed2aacd93f499b15094cf5a7e1bb0bb50a1f
2019-02-11 15:24:57 +00:00
doc/source Merge "Clean up README.rst" 2018-07-24 12:21:49 +00:00
monascaclient Fix alarm-definition-list in Python 3 2019-02-11 15:24:57 +00:00
releasenotes Update reno for stable/rocky 2018-07-24 16:47:25 +00:00
.gitignore Remove testrepository and .testr.conf 2018-07-12 08:41:56 +07:00
.gitreview Update .gitreview for new namespace 2015-10-17 22:37:23 +00:00
.stestr.conf Switch to using stestr 2018-06-02 21:18:55 -04:00
.zuul.yaml Use templates for docs, cover and lower-constraints 2018-09-07 15:22:59 +02:00
CONTRIBUTING.rst Add CONTRIBUTING.rst 2016-11-18 11:44:37 +08:00
HACKING.rst Update the documentation link for doc migration 2017-08-02 16:52:12 +08:00
LICENSE Added HP copyright and Apache 2.0 license header. Added HACKING.rst and LICENSE file. 2014-05-01 16:59:50 -06:00
lower-constraints.txt Remove testrepository and .testr.conf 2018-07-12 08:41:56 +07:00
README.rst Clean up README.rst 2018-07-24 13:12:09 +02:00
requirements.txt Switch to using stestr 2018-06-02 21:18:55 -04:00
setup.cfg Change openstack-dev to openstack-discuss 2018-12-04 07:32:52 +00:00
setup.py Updated from global requirements 2017-03-02 11:54:51 +00:00
test-requirements.txt Remove testrepository and .testr.conf 2018-07-12 08:41:56 +07:00
tox.ini Add python 3.6 unit test job 2018-11-07 22:35:11 -08:00

Team and repository tags

image

Python bindings to the Monasca API

Latest Version

This is a client library for Monasca built to interface with the Monasca API. It provides a Python API (the monascaclient module) and a command-line tool (monasca).