Fix type annotations

This commit is contained in:
Olivier 'reivilibre' 2022-08-25 17:01:39 +01:00
parent a4fb98ad52
commit d90cf94259
2 changed files with 2 additions and 2 deletions

View File

@ -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:

0
trio_paho_mqtt/py.typed Normal file
View File