I am using Jupyter's qtconsole package to allow users of my application to control objects and get properties of objects through the console. Because of this, I am using the QtConsoleInprocessKernel. The issue I have is that all of the methods and properties inside of these objects are accessible which can not be the case in order to prevent users from causing breaking changes. I need to be able to hide some of these methods/properties from the tab-completion menu. I've previously overriden __dir__
but that does not work for every case and I hope to avoid that in the future.
Asked
Active
Viewed 13 times
0
![](../../users/profiles/6622587.webp)
eyllanesc
- 190,383
- 15
- 87
- 142