forked from M-Labs/artiq
make sure monkey patches are applied when asyncio.open_connection() is used
This commit is contained in:
parent
972a74219d
commit
c27f157a27
|
@ -2,6 +2,7 @@ import asyncio
|
||||||
import logging
|
import logging
|
||||||
import re
|
import re
|
||||||
|
|
||||||
|
from artiq.monkey_patches import *
|
||||||
from artiq.protocols.asyncio_server import AsyncioServer
|
from artiq.protocols.asyncio_server import AsyncioServer
|
||||||
from artiq.tools import TaskObject, MultilineFormatter
|
from artiq.tools import TaskObject, MultilineFormatter
|
||||||
|
|
||||||
|
|
|
@ -20,6 +20,7 @@ import logging
|
||||||
import inspect
|
import inspect
|
||||||
from operator import itemgetter
|
from operator import itemgetter
|
||||||
|
|
||||||
|
from artiq.monkey_patches import *
|
||||||
from artiq.protocols import pyon
|
from artiq.protocols import pyon
|
||||||
from artiq.protocols.asyncio_server import AsyncioServer as _AsyncioServer
|
from artiq.protocols.asyncio_server import AsyncioServer as _AsyncioServer
|
||||||
|
|
||||||
|
|
|
@ -14,6 +14,7 @@ import asyncio
|
||||||
from operator import getitem
|
from operator import getitem
|
||||||
from functools import partial
|
from functools import partial
|
||||||
|
|
||||||
|
from artiq.monkey_patches import *
|
||||||
from artiq.protocols import pyon
|
from artiq.protocols import pyon
|
||||||
from artiq.protocols.asyncio_server import AsyncioServer
|
from artiq.protocols.asyncio_server import AsyncioServer
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue