> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ag2.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# autogen.fast_depends.dependencies.Depends

<h2 id="autogen.fast_depends.dependencies.Depends" class="doc doc-heading">
  <code class="doc-symbol doc-symbol-heading doc-symbol-class" />

  <span class="doc doc-object-name doc-class-name">Depends</span>
</h2>

```python theme={null}
Depends(
    dependency: Callable[..., Any],
    *,
    use_cache: bool = True,
    cast: bool = True
)
```

<b>Parameters:</b>

| Name         | Description                                 |
| ------------ | ------------------------------------------- |
| `dependency` | **Type:** Callable\[..., Any]               |
| `use_cache`  | **Type:** bool<br /><br />**Default:** True |
| `cast`       | **Type:** bool<br /><br />**Default:** True |

### Class Attributes

<code class="doc-symbol doc-symbol-heading doc-symbol-attribute" />

#### cast

<br />

<br />

<code class="doc-symbol doc-symbol-heading doc-symbol-attribute" />

#### use\_cache

<br />

<br />
