kpn / py-timeexecution

Time Execution: record application metrics
https://pypi.org/project/timeexecution/
Apache License 2.0
12 stars 19 forks source link

NEW Add wrapped function's original args and kwargs #4

Closed puntonim closed 8 years ago

puntonim commented 8 years ago

This way an hook can access the original args and kwargs passed to the wrapped function.

A valid use case: for a @time_execution decorated rest_framework.views.APIView view (or a generic Django view), an hook can access the original rest_framework.request.Request.

codecov-io commented 8 years ago

Current coverage is 100.00%

Merging #4 into master will not affect coverage as of b29fded

@@            master      #4   diff @@
======================================
  Files            4       4       
  Stmts           69      69       
  Branches         0       0       
  Methods          0       0       
======================================
  Hit             69      69       
  Partial          0       0       
  Missed           0       0       

Review entire Coverage Diff as of b29fded

Powered by Codecov. Updated on successful CI builds.

snelis commented 8 years ago

it did build, merged