Closed MatthewWilkes closed 4 years ago
You are %100 right. It will be also perfect if we simply raise Exception
if there is an unsupported key passed as a filter to get_func_stats
API.
Yeah, a fall-through exception would be a great addition.
Fixed in master.
Thanks!
The documentation says that to filter function call stats by module name to use
{"module": "..."}
https://github.com/sumerc/yappi/blob/f638a12d074fef6190ad9be808e0f223386d0a6e/doc/api.md#L90-L94
However, the C code has the following:
https://github.com/sumerc/yappi/blob/f638a12d074fef6190ad9be808e0f223386d0a6e/yappi/_yappi.c#L1594-L1618
This can be demonstrated by working with the actual code:
In addition, there are no automated tests for filtering by module name.