Comments (3)
@yashveerjain I believe I found some solution. But it was a while ago. If I find source code, I'll share it here.
from fastapi-mqtt.
hi @sskorol have you found out the solution for this? or is there any alternative way to this problem?
thanks
from fastapi-mqtt.
Hi @sskorol, sorry for being late, I was not able to look at the library for some time. I have updated and released a new version of the library. To your question, the library does not totally depend on the main file, if you initialize the fastapi in main and try to import the app to where you would run your mqtt instance.
I am closing the issue, as there is a solution already, feel free to open if have any, please consider moving 1.0.0 version if you have chance of course, thanks :)
from fastapi-mqtt.
Related Issues (20)
- QOS != 0 gives exception HOT 8
- error Application startup failed. Exiting. when running! HOT 11
- Multiple subscriptions with multiple workers HOT 8
- Error run fastapi-mqtt using gunicorn HOT 6
- Some typing (mypy) annotations were missing HOT 1
- Is this project dead? HOT 2
- Suggestion: Update requirement to newest fastapi automatically HOT 1
- mqtt reconnect_retries、reconnect_delay settings error;
- can't connect to Hivemq Websocket HOT 3
- Pass MQTT client to a router HOT 3
- Initialization fails in absence of MQTT broker HOT 1
- MQTT subscription topic matching does not conform to spec HOT 2
- Wrong package version published HOT 2
- FastAPI Application error....ERROR: Application startup failed. Exiting. TimeoutError: [Errno 10060] Connect call failed (mqtt broker ip,port) connecting to a mqtt broker HOT 8
- Using Pydantic models for messages HOT 4
- How to feed mqtt messages from within a fastapi websocket ? (ie. proxying) HOT 1
- Will message functionality and example broken HOT 1
- Version 1.8 is broken HOT 4
- Version 1.0.8 is broken HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fastapi-mqtt.