martyzz1 / heroku3.py

This is the updated Python wrapper for the Heroku API V3. https://devcenter.heroku.com/articles/platform-api-reference The Heroku REST API allows Heroku users to manage their accounts, applications, addons, and other aspects related to Heroku. It allows you to easily utilize the Heroku platform from your applications.
Other
118 stars 73 forks source link

Fix name of addon config key #132

Open RealOrangeOne opened 1 year ago

RealOrangeOne commented 1 year ago

See https://devcenter.heroku.com/articles/platform-api-reference#add-on-info-by-app, which shows the key is config_vars, not config.

This can be bodged in using:

Addon._strs.append("config_vars")

Which shows the correct value

codecov-commenter commented 1 year ago

Codecov Report

Patch coverage: 35.71% and project coverage change: -0.21% :warning:

Comparison is base (1370af5) 50.03% compared to head (5b59d33) 49.82%. Report is 2 commits behind head on master.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #132 +/- ## ========================================== - Coverage 50.03% 49.82% -0.21% ========================================== Files 32 32 Lines 1437 1449 +12 Branches 178 178 ========================================== + Hits 719 722 +3 - Misses 703 712 +9 Partials 15 15 ``` | [Files Changed](https://app.codecov.io/gh/martyzz1/heroku3.py/pull/132?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | Coverage Δ | | |---|---|---| | [heroku3/models/app.py](https://app.codecov.io/gh/martyzz1/heroku3.py/pull/132?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-aGVyb2t1My9tb2RlbHMvYXBwLnB5) | `31.87% <30.76%> (-0.25%)` | :arrow_down: | | [heroku3/models/addon.py](https://app.codecov.io/gh/martyzz1/heroku3.py/pull/132?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-aGVyb2t1My9tb2RlbHMvYWRkb24ucHk=) | `50.00% <100.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.