| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
That looks good, could you add a quick unittest so we don't accidentally regress? |
Sorry, something went wrong.
|
Yes, no problems on my part, the decorator module is a single file just to On Wed, Jul 20, 2016 at 3:17 PM, Hynek Schlawack notifications@github.com
|
Sorry, something went wrong.
|
I’ve added unit tests for hopefully all decorators and the tests still pass. |
Sorry, something went wrong.
|
Thanks! |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
As discussed in #77, this PR bundles (to avoid dependencies) the decorator.py module and uses it to fix the behavior of prometheus_client's decorators.
The efficacy can be verified by using example view from the README and then doing a:
Without this patch, you get:
instead.
Let me now what you think.
Also pinging @micheles out of courtesy and to ensure he doesn’t feel we violate his copyright.