freezer.utils.streaming module

Freezer general utils functions

class freezer.utils.streaming.QueuedThread(target, rich_queue, exception_queue, args=(), kwargs=None)

Bases: threading.Thread

run()

Method representing the thread’s activity.

You may override this method in a subclass. The standard run() method invokes the callable object passed to the object’s constructor as the target argument, if any, with sequential and keyword arguments taken from the args and kwargs arguments, respectively.

class freezer.utils.streaming.RichQueue(size=2)

Bases: object

check_stop()
empty()
finish()
force_stop()
get()
get_messages()
has_more()
put(message)
put_messages(messages)
exception freezer.utils.streaming.Wait

Bases: Exception