File tree 3 files changed +6
-6
lines changed
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 12
12
from aioraven .streams import RAVEnStreamDevice
13
13
from aioraven .streams import RAVEnWriter
14
14
from serial import SerialException
15
- from serial_asyncio import create_serial_connection
15
+ from serial_asyncio_fast import create_serial_connection
16
16
17
17
18
18
async def open_serial_connection (
@@ -25,7 +25,7 @@ async def open_serial_connection(
25
25
Establish a serial connection to a RAVEn device.
26
26
27
27
Positional and keyword arguments are passed to
28
- `serial_asyncio .create_serial_connection()`.
28
+ `serial_asyncio_fast .create_serial_connection()`.
29
29
30
30
:param loop: The event loop instance to use.
31
31
"""
@@ -57,7 +57,7 @@ def __init__(
57
57
Construct a RAVEnSerialDevice.
58
58
59
59
Additional positional and keyword arguments are passed to
60
- `serial_asyncio .create_serial_connection()`.
60
+ `serial_asyncio_fast .create_serial_connection()`.
61
61
62
62
:param url: The pyserial URL of the device to connect to.
63
63
:param loop: The event loop instance to use.
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ classifiers = [
21
21
dependencies = [
22
22
" iso4217" ,
23
23
" pyserial>=2.5" ,
24
- " pyserial-asyncio" ,
24
+ " pyserial-asyncio-fast " ,
25
25
]
26
26
dynamic = [" version" ]
27
27
Original file line number Diff line number Diff line change 14
14
from typing import TypeVar
15
15
from typing import Union
16
16
17
- import serial_asyncio
17
+ import serial_asyncio_fast
18
18
19
19
20
20
_T = TypeVar ('_T' )
@@ -278,7 +278,7 @@ async def main(argv: list[str] = sys.argv) -> Optional[int]:
278
278
sys .stdin .buffer , sys .stdout .buffer )
279
279
elif len (argv ) == 2 :
280
280
read_transport = None
281
- reader , writer = await serial_asyncio .open_serial_connection (
281
+ reader , writer = await serial_asyncio_fast .open_serial_connection (
282
282
url = argv [1 ])
283
283
else :
284
284
print (f'Usage: { argv [0 ]} [DEVICE_PATH]' , file = sys .stderr )
You can’t perform that action at this time.
0 commit comments