# NotionDirectoryLoader

> **Class** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/document_loaders/notion/NotionDirectoryLoader)

Load `Notion directory` dump.

## Signature

```python
NotionDirectoryLoader(
    self,
    path: Union[str, Path],
    *,
    encoding: str = 'utf-8',
)
```

## Extends

- `BaseLoader`

## Constructors

```python
__init__(
    self,
    path: Union[str, Path],
    *,
    encoding: str = 'utf-8',
) -> None
```

| Name | Type |
|------|------|
| `path` | `Union[str, Path]` |
| `encoding` | `str` |


## Properties

- `file_path`
- `encoding`

## Methods

- [`load()`](https://reference.langchain.com/python/langchain-community/document_loaders/notion/NotionDirectoryLoader/load)

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/4b280287bd55b99b44db2dd849f02d66c89534d5/libs/community/langchain_community/document_loaders/notion.py#L9)