Module Import alias Import alias Import alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr Str ClassDef bases NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Num Assign NameStore Num FunctionDef arguments args NameParam NameParam NameParam defaults Str body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Dict For NameStore Call AttributeLoad NameLoad attr Str body If CompareIn Str NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Num Assign SubscriptStore NameLoad Index Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Assign NameStore IfExp NameLoad Str Str If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad Str attr NameLoad NameLoad NameLoad orelse Assign NameStore Call AttributeLoad Str attr NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword NameLoad Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str For NameStore NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body TryExcept body While NameLoad body Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num keyword Num handlers ExceptHandler type NameLoad body Pass Assign AttributeStore AttributeLoad NameLoad attr attr Str decorator_list decorator_list
N/A N/A re N/A time N/A logging wlauto.utils.serial_port TIMEOUT N/A logger N/A N/A logging getLogger U-Boot UbootMenu N/A object N/A N/A 
    Allows navigating Das U-boot menu over serial (it relies on a pexpect connection).

     N/A option_regex N/A N/A re compile ^\[(\d+)\]\s+([^\r]+)\r\n N/A re M N/A prompt_regex N/A N/A re compile ^([^\r\n]+):\s* N/A re M N/A invalid_regex N/A N/A re compile Invalid input \(max (\d+)\) N/A re M N/A load_delay 1 N/A default_timeout 60 __init__ N/A N/A self conn start_prompt N/A Hit any key to stop autoboot N/A N/A 
        :param conn: A serial connection as returned by ``pexect.spawn()``.
        :param prompt: U-Boot menu prompt
        :param start_prompt: The starting prompt to wait for during ``open()``.

         N/A N/A self conn conn N/A N/A N/A self conn crlf N/A N/A self start_prompt start_prompt N/A N/A self options N/A N/A N/A self prompt None N/A open N/A N/A self timeout N/A default_timeout N/A N/A 
        "Open" the UEFI menu by sending an interrupt on STDIN after seeing the
        starting prompt (configurable upon creation of the ``UefiMenu`` object.

         N/A N/A N/A N/A self conn expect N/A self start_prompt timeout N/A N/A N/A N/A self conn sendline N/A N/A N/A time sleep N/A self load_delay N/A N/A N/A N/A self conn readline N/A N/A N/A N/A self conn sendline N/A N/A self prompt N/A N/A N/A N/A N/A self conn readline strip N/A getenv N/A N/A self N/A N/A N/A output N/A N/A self enter printenv N/A result N/A N/A line N/A N/A output split N/A N/A N/A = line N/A N/A N/A variable value N/A N/A line split = 1 N/A N/A result N/A N/A N/A variable strip N/A N/A value strip N/A result N/A setenv N/A N/A self variable value force N/A False N/A N/A force_str N/A force  -f N/A N/A value None N/A N/A command N/A N/A setenv{} {} {} format force_str variable value N/A N/A command N/A N/A setenv{} {} format force_str variable N/A N/A N/A self enter command N/A boot N/A N/A self N/A N/A N/A N/A N/A self write_characters boot N/A nudge N/A N/A self N/A N/A N/A Send a little nudge to ensure there is something to read. This is useful when you're not
        sure if all out put from the serial has been read already. N/A N/A N/A self enter N/A enter N/A N/A self value delay N/A load_delay N/A N/A Like ``select()`` except no resolution is performed -- the value is sent directly
        to the serial connection. N/A value N/A str value N/A N/A N/A self empty_buffer N/A N/A N/A self write_characters value N/A N/A N/A N/A self conn expect N/A self prompt timeout delay N/A N/A N/A self conn before N/A write_characters N/A N/A self line N/A N/A N/A line N/A N/A line rstrip N/A c line N/A N/A N/A N/A N/A self conn send c N/A N/A N/A time sleep 0.05 N/A N/A N/A N/A self conn sendline N/A empty_buffer N/A N/A self N/A N/A N/A N/A N/A True N/A N/A N/A N/A time sleep 0.1 N/A N/A N/A N/A self conn read_nonblocking size 1024 timeout 0.1 N/A N/A N/A TIMEOUT N/A N/A N/A N/A N/A self conn buffer N/A N/A