# FileHooksSource

> **Class** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/hooks/loading/FileHooksSource)

A project or user hooks file, which defines no variables.

## Signature

```python
FileHooksSource(
    self,
    location: str,
)
```

## Extends

- `HooksSource`

## Constructors

```python
__init__(
    self,
    location: str,
) -> None
```

| Name | Type |
|------|------|
| `location` | `str` |


## Methods

- [`resolve_variables()`](https://reference.langchain.com/python/deepagents-code/hooks/loading/FileHooksSource/resolve_variables)

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/4bfa52000ef65ac623d8ada0cb67f67cbdd663ea/libs/code/deepagents_code/hooks/loading.py#L82)