forked from elastic/apm-agent-python
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
replace subclassing of wrapt wrappers by using a partial (elastic#164)
We need to pass along the method and module names to the function wrapper. This has so far been done by subclassing wrapt.FunctionWrapper. While this works, it adds a lot of duplicate code that we need to sync up every time we update wrapt. Using a partial should mean much less maintenance work. closes elastic#164
- Loading branch information
Showing
3 changed files
with
18 additions
and
137 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters