Exposing object keys in python
A helpful debugging tip for Python if you’re stuck trying to find out what attributes an object has is to use:
obj.__dict__.keys()
A helpful debugging tip for Python if you’re stuck trying to find out what attributes an object has is to use:
obj.__dict__.keys()