[x] I've run the latest black with default args on new code.
[x] I've updated CHANGELOG.md and CONTRIBUTORS.md where appropriate.
[x] I've added tests for new code.
[x] I accept that @willmcgugan may be pedantic in the code review.
Description
I want to use inspect method for object which have some attributes very large (for example list of 1000 items) and currently all attributes are displayed. The output is quite unreadable so I want to disable displaying object attributes or display only selected. I added parameter to enable/disable displaying object attributes and parameter to pass names of attributes I want to display (if not specified all attributes will be displayed).
Type of changes
Checklist
Description
I want to use inspect method for object which have some attributes very large (for example list of 1000 items) and currently all attributes are displayed. The output is quite unreadable so I want to disable displaying object attributes or display only selected. I added parameter to enable/disable displaying object attributes and parameter to pass names of attributes I want to display (if not specified all attributes will be displayed).