Fix type annotations
This commit is contained in:
parent
a4fb98ad52
commit
d90cf94259
|
@ -5,12 +5,12 @@ from typing import Any, AsyncGenerator, Generator, List, Optional
|
||||||
|
|
||||||
import paho.mqtt.client as mqtt
|
import paho.mqtt.client as mqtt
|
||||||
import trio
|
import trio
|
||||||
|
from paho.mqtt.client import MQTTMessage
|
||||||
from paho.mqtt.properties import Properties
|
from paho.mqtt.properties import Properties
|
||||||
from paho.mqtt.reasoncodes import ReasonCodes
|
from paho.mqtt.reasoncodes import ReasonCodes
|
||||||
from trio import CancelScope, MemoryReceiveChannel, MemorySendChannel
|
from trio import CancelScope, MemoryReceiveChannel, MemorySendChannel
|
||||||
|
|
||||||
# TODO
|
Message = MQTTMessage
|
||||||
Message = Any
|
|
||||||
|
|
||||||
|
|
||||||
class AsyncClient:
|
class AsyncClient:
|
||||||
|
|
Loading…
Reference in New Issue