asynqueue.info
module documentation
Part of asynqueue
Information about callables and what happens to them.
My Info
object is a
flexible info provider, with several methods for offering you text info
about a call. Construct it with a function object and any args and keywords
if you want the info to include that particular function call, or you can
set it (and change it) later with Info.setCall
.
The Info.nn
method may be useful in the still non-working wire
module for separating a
call into a namespace and attribute name. It's not used yet, though, there
or anywhere else in AsynQueue
.
Another useful object for development are my showResult
and whichThread
decorator functions, which you can use together.
Function | hashIt | Returns a pretty much unique 32-bit hash for pretty much any python object. |
Function | showResult | Use as a decorator to print info about the function and its result. Follows deferred results. |
Function | whichThread | Use as a decorator (after showResult) to include the current thread in the info about the function. |
Class | Converter | I provide a bunch of methods for converting objects. |
Class | InfoHolder | An instance of me is yielded by Info.context , for
you to call about info concerning a particular saved function call. |
Class | Info | Provides detailed info about function/method calls. |