mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-28 02:10:38 +02:00
Make pydocket optional and unify DI systems (#2835)
This commit is contained in:
parent
4765f5725a
commit
8e1fd1d700
20 changed files with 1251 additions and 313 deletions
|
|
@ -191,6 +191,10 @@ fastmcp tasks worker server.py
|
|||
Additional workers only work with Redis/Valkey backends. The in-memory backend is single-process only.
|
||||
</Note>
|
||||
|
||||
<Warning>
|
||||
Task-enabled components must be defined at server startup to be registered with all workers. Components added dynamically after the server starts will not be available for background execution.
|
||||
</Warning>
|
||||
|
||||
## Progress Reporting
|
||||
|
||||
The `Progress` dependency lets you report progress back to clients. Inject it as a parameter with a default value, and FastMCP will provide the active progress reporter.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue