fastmcp/docs/python-sdk/fastmcp-dependencies.mdx

18 lines
524 B
Text

---
title: dependencies
sidebarTitle: dependencies
---
# `fastmcp.dependencies`
Dependency injection exports for FastMCP.
This module re-exports dependency injection symbols to provide a clean,
centralized import location for all dependency-related functionality.
DI features (Depends, CurrentContext, CurrentFastMCP) work without pydocket
using the uncalled-for DI engine. The docket-specific dependencies
(``CurrentDocket``, ``CurrentWorker``) live in the ``fastmcp-tasks`` package
(``fastmcp_tasks.dependencies``).