Vehicle-Anti-Theft-Face-Rec.../venv/Lib/site-packages/zmq/green/eventloop/zmqstream.py

12 lines
308 B
Python
Raw Permalink Normal View History

2020-11-12 16:05:57 +00:00
from zmq.eventloop.zmqstream import *
from zmq.green.eventloop.ioloop import IOLoop
RealZMQStream = ZMQStream
class ZMQStream(RealZMQStream):
def __init__(self, socket, io_loop=None):
io_loop = io_loop or IOLoop.instance()
super(ZMQStream, self).__init__(socket, io_loop=io_loop)