Rewrite LabelAPIClient to be able to return error messages from Label Repo API. Main features: 1. Raises LabelRepoAPIException when response code is 400 or 500 level. 2. Always return response as a second argument to further inspect it, if necessary. |
||
|---|---|---|
| .. | ||
| migrations | ||
| tests | ||
| __init__.py | ||
| alert_group_labels.py | ||
| client.py | ||
| models.py | ||
| tasks.py | ||
| utils.py | ||