Undocumented
Module | console |
No module docstring; 0/1 variable, 3/5 classes documented |
Module | repr |
Object representations for debugging purposes. Unlike the default repr, these expose more information and produce HTML instead of ASCII. |
Module | tbtools |
No module docstring; 0/3 variable, 0/7 constant, 1/2 function, 4/4 classes documented |
From __init__.py
:
Class | DebuggedApplication |
Enables debugging support for a given application: |
Function | get_machine_id |
Undocumented |
Function | get_pin_and_cookie_name |
No summary |
Function | hash_pin |
Undocumented |
Constant | PIN_TIME |
Undocumented |
Class | _ConsoleFrame |
Helper class so that we can reuse the frame console code for the standalone console. |
Variable | _machine_id |
Undocumented |
Given an application object this returns a semi-stable 9 digit pin
code and a random key. The hope is that this is stable between
restarts to not make debugging particularly frustrating. If the pin
was forcefully disabled this returns None
.
Second item in the resulting tuple is the cookie name for remembering.
Parameters | |
app:WSGIApplication | Undocumented |
Returns | |
t.Union[ | Undocumented |