Buckets:
MisterAI/LocalAI_Demo_backends / cpu-diffusers.upgrade-tmp /venv /lib /python3.10 /site-packages /zmq /eventloop /ioloop.py
| """tornado IOLoop API with zmq compatibility | |
| This module is deprecated in pyzmq 17. | |
| To use zmq with tornado, | |
| eventloop integration is no longer required | |
| and tornado itself should be used. | |
| """ | |
| # Copyright (C) PyZMQ Developers | |
| # Distributed under the terms of the Modified BSD License. | |
| import warnings | |
| def _deprecated(): | |
| warnings.warn( | |
| "zmq.eventloop.ioloop is deprecated in pyzmq 17." | |
| " pyzmq now works with default tornado and asyncio eventloops.", | |
| DeprecationWarning, | |
| stacklevel=3, | |
| ) | |
| _deprecated() | |
| from tornado.ioloop import * # noqa | |
| from tornado.ioloop import IOLoop | |
| ZMQIOLoop = IOLoop | |
| def install(): | |
| """DEPRECATED | |
| pyzmq 17 no longer needs any special integration for tornado. | |
| """ | |
| _deprecated() | |
Xet Storage Details
- Size:
- 766 Bytes
- Xet hash:
- ac8edd115b89766373b15de6fde7b881baa3af8159e76922f8dd87819ce50b04
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.