Python libraries are usually well documented. However, it happens that sometimes there is not enough documentation, especially when it comes to web frameworks and some kind of request parameter with a dozen or so properties.
Here, the usual Python console can come to the rescue, which can helpfully fall out at the right time right in the middle of the executed web service code.
If IPython is installed, it is enough just to add a couple of lines to the right place:
from IPython.Shell import IPShellEmbed
IPShellEmbed () ()
It might look something like this:
')
The help of this approach is invaluable - a clear list of properties and methods of any object that is present in the list of local variables, by simply pressing TAB + TAB. If IPython is not installed, then you can be content with a simple console:
import code
code.interact ()
The result will be almost the same, but the console will fall out easier.