sabuhish / fastapi-mqtt

fastapi-mqtt is extension for MQTT protocol
https://sabuhish.github.io/fastapi-mqtt/
MIT License
264 stars 42 forks source link

fix: MQQTConfig ssl field type is union of bool and SSLContext #18

Closed jthetzel closed 3 years ago

jthetzel commented 3 years ago

Config class' ssl field should be Union[bool,SSLContext], as oposed to bool.

sabuhish commented 3 years ago

Thank you! yes, you were right it has to be Union.