sabuhish / fastapi-mqtt

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

Enable compatibility with new `fastapi-slim` and update examples #94

Closed azogue closed 3 months ago

azogue commented 4 months ago

cc @sabuhish

closes #91

Maintenance update, with minor changes:

Here in fastapi-mqtt we only use from fastapi import FastAPI for testing and typing, so it is not a required dependency after all.

Moving it to the dev-dependencies group, with pytest and others, enables the usage of this library in projects using only the new fastapi-slim package, remaining compatible with the 'normal' fastapi

All changes