# TrelloLoader

> **Class** in `langchain_community`

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

Load cards from a `Trello` board.

## Signature

```python
TrelloLoader(
    self,
    client: TrelloClient,
    board_name: str,
    *,
    include_card_name: bool = True,
    include_comments: bool = True,
    include_checklist: bool = True,
    card_filter: Literal['closed', 'open', 'all'] = 'all',
    extra_metadata: Tuple[str, ...] = ('due_date', 'labels', 'list', 'closed'),
)
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `client` | `TrelloClient` | Yes | Trello API client. |
| `board_name` | `str` | Yes | The name of the Trello board. |
| `include_card_name` | `bool` | No | Whether to include the name of the card in the document. (default: `True`) |
| `include_comments` | `bool` | No | Whether to include the comments on the card in the document. (default: `True`) |
| `include_checklist` | `bool` | No | Whether to include the checklist on the card in the document. (default: `True`) |
| `card_filter` | `Literal['closed', 'open', 'all']` | No | Filter on card status. Valid values are "closed", "open", "all". (default: `'all'`) |
| `extra_metadata` | `Tuple[str, ...]` | No | List of additional metadata fields to include as document metadata.Valid values are "due_date", "labels", "list", "closed". (default: `('due_date', 'labels', 'list', 'closed')`) |

## Extends

- `BaseLoader`

## Constructors

```python
__init__(
    self,
    client: TrelloClient,
    board_name: str,
    *,
    include_card_name: bool = True,
    include_comments: bool = True,
    include_checklist: bool = True,
    card_filter: Literal['closed', 'open', 'all'] = 'all',
    extra_metadata: Tuple[str, ...] = ('due_date', 'labels', 'list', 'closed'),
)
```

| Name | Type |
|------|------|
| `client` | `TrelloClient` |
| `board_name` | `str` |
| `include_card_name` | `bool` |
| `include_comments` | `bool` |
| `include_checklist` | `bool` |
| `card_filter` | `Literal['closed', 'open', 'all']` |
| `extra_metadata` | `Tuple[str, ...]` |


## Properties

- `client`
- `board_name`
- `include_card_name`
- `include_comments`
- `include_checklist`
- `extra_metadata`
- `card_filter`

## Methods

- [`from_credentials()`](https://reference.langchain.com/python/langchain-community/document_loaders/trello/TrelloLoader/from_credentials)
- [`lazy_load()`](https://reference.langchain.com/python/langchain-community/document_loaders/trello/TrelloLoader/lazy_load)

---

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