You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can we please have a direly missing option to block given objects from further expansion?
For example, I want to have very deep expansion of my object but I don't want to expose any low level details of foreign objects, e.g. pandas dataframe. Unless I'm very much mistaken, I couldn't see an option for this.
Thank you.
The text was updated successfully, but these errors were encountered:
I see that it is rather underdocumented. The docs for objgraph.typestats() also has it, and describes it as
If filter is specified, it should be a function taking one argument and returning a boolean. Objects for which filter(obj) returns False will be ignored.
and I should copy the second sentence and include it in the explanation of filter in the docs for show_refs/backrefs.
Thanks for showing this. I'm aware of this one already and it is a bit restricted in its functionality.
First, it hides the object altogether as opposed to, stop expanding it. The pandas dataframe object in itself is an important object in my graph but not its details. This applies to hunderds of other objects.
Can we also have filtering based on the name of attribute, as opposed to its type? like there could be a dict object, but I would like to hide it because its parent call it __cache, not because of its type.
Can we please have a direly missing option to block given objects from further expansion?
For example, I want to have very deep expansion of my object but I don't want to expose any low level details of foreign objects, e.g.
pandas dataframe
. Unless I'm very much mistaken, I couldn't see an option for this.Thank you.
The text was updated successfully, but these errors were encountered: