Module Expr Str Import alias Import alias Import alias Import alias Import alias Import alias identifier Assign NameStore Dict Assign NameStore Dict Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore NameLoad FunctionDef arguments args NameParam defaults NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assert CompareIsNot NameLoad NameLoad Str Assign NameStore IfExp UnaryOpNot NameLoad NameLoad NameLoad With NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args defaults vararg body FunctionDef arguments args defaults body Expr Call NameLoad NameLoad decorator_list Expr Call NameLoad NameLoad decorator_list Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad keyword NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad keyword NameLoad While NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr body Break decorator_list FunctionDef arguments args NameParam defaults NameLoad body Expr Str TryExcept body Assign NameStore Call NameLoad While BoolOpOr CompareIs NameLoad NameLoad CompareLt Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr TryExcept body Expr Call NameLoad handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr body Pass decorator_list FunctionDef arguments args NameParam defaults NameLoad body Expr Str TryExcept body Assign NameStore Call AttributeLoad Call NameLoad attr NameLoad NameLoad TryExcept body Expr Call NameLoad handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Return NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Return NameLoad decorator_list FunctionDef arguments args defaults body Expr Str TryExcept body Assign NameStore Call NameLoad While NameLoad body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr body Pass decorator_list
N/A N/A A module holding a Queue of events to trigger before the next frame redraw.

In general, our current implementation of ComputedGraph is single threaded.
So we can't have background threads computing values and pushing them into
Tsunami.  As a temporary fix, background threads can push a quick "update"
function into this queue, which will be run by TsunamiApp at the next available
moment. This update function should push any data that's required into mutable
values so that they are reflected apropriately in the interface.
 N/A Queue N/A logging N/A threading N/A time N/A traceback N/A ufora.BackendGateway.ComputedGraph ComputedGraph N/A queues N/A N/A nextFrameQueues N/A N/A queuesLock N/A N/A threading Lock N/A _no_tsunami_reload True getDeferredUpdateQueue N/A N/A isNextFrameQueue N/A False N/A N/A graph N/A N/A N/A ComputedGraph ComputedGraph currentGraph N/A N/A graph None Called without a ComputedGraph on the stack. N/A queuesDict N/A N/A isNextFrameQueue queues nextFrameQueues N/A queuesLock N/A N/A queue N/A N/A queuesDict get graph N/A N/A queue None N/A N/A queue N/A N/A Queue Queue N/A N/A queuesDict N/A graph queue N/A queue N/A makeDeferCallback N/A N/A func N/A N/A N/A Given a function 'f', make a new function that defers its call to the Queue. 

    That is, if we call makeDeferCallback(f) with 'args', then f will be called on the 
    queue with args.
     newCallback N/A N/A N/A args N/A caller N/A N/A N/A N/A N/A N/A func args N/A N/A N/A push caller N/A N/A newCallback N/A push N/A N/A func N/A N/A N/A N/A N/A N/A getDeferredUpdateQueue put func N/A pushForNextFrame N/A N/A func N/A N/A N/A N/A N/A N/A getDeferredUpdateQueue isNextFrameQueue True put func N/A moveNextFrameToCurFrame N/A N/A N/A N/A N/A curQueue N/A getDeferredUpdateQueue N/A nextQueue N/A getDeferredUpdateQueue isNextFrameQueue True N/A True N/A N/A N/A N/A N/A N/A curQueue put N/A N/A nextQueue get_nowait N/A N/A N/A N/A Queue Empty N/A N/A N/A pullAll N/A N/A timeout N/A None N/A N/A pull all available updates. if time.time() exceeds timeout, exit early. N/A N/A N/A deferredUpdates N/A getDeferredUpdateQueue N/A N/A N/A timeout None N/A N/A N/A time time timeout N/A N/A updater N/A N/A deferredUpdates get_nowait N/A N/A N/A N/A updater N/A N/A N/A N/A N/A N/A logging error N/A N/A traceback format_exc N/A N/A N/A N/A Queue Empty N/A N/A N/A pullOne N/A N/A timeout N/A None N/A N/A pull at least one queue element and execute it. If timeout elapses, returns False N/A N/A N/A updater N/A N/A N/A getDeferredUpdateQueue get True timeout N/A N/A N/A N/A updater N/A N/A N/A N/A N/A N/A logging error N/A N/A traceback format_exc N/A True N/A N/A N/A N/A Queue Empty N/A N/A False N/A drainWithoutExecuting N/A N/A N/A N/A N/A pull all available updates but do not execute them N/A N/A N/A deferredUpdates N/A getDeferredUpdateQueue N/A True N/A N/A N/A N/A deferredUpdates get_nowait N/A N/A N/A N/A Queue Empty N/A N/A N/A