Make pydocket optional and unify DI systems (#2835)

This commit is contained in:
Jeremiah Lowin 2026-01-10 16:23:32 -05:00 committed by GitHub
commit 8e1fd1d700
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 1251 additions and 313 deletions

View file

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