# Task

> **Class** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/utilities/clickup/Task)

Class for a task.

## Signature

```python
Task(
    self,
    id: int,
    name: str,
    text_content: str,
    description: str,
    status: str,
    creator_id: int,
    creator_username: str,
    creator_email: str,
    assignees: List[Dict[str, Any]],
    watchers: List[Dict[str, Any]],
    priority: Optional[str],
    due_date: Optional[str],
    start_date: Optional[str],
    points: int,
    team_id: int,
    project_id: int,
)
```

## Extends

- `Component`

## Constructors

```python
__init__(
    self,
    id: int,
    name: str,
    text_content: str,
    description: str,
    status: str,
    creator_id: int,
    creator_username: str,
    creator_email: str,
    assignees: List[Dict[str, Any]],
    watchers: List[Dict[str, Any]],
    priority: Optional[str],
    due_date: Optional[str],
    start_date: Optional[str],
    points: int,
    team_id: int,
    project_id: int,
) -> None
```

| Name | Type |
|------|------|
| `id` | `int` |
| `name` | `str` |
| `text_content` | `str` |
| `description` | `str` |
| `status` | `str` |
| `creator_id` | `int` |
| `creator_username` | `str` |
| `creator_email` | `str` |
| `assignees` | `List[Dict[str, Any]]` |
| `watchers` | `List[Dict[str, Any]]` |
| `priority` | `Optional[str]` |
| `due_date` | `Optional[str]` |
| `start_date` | `Optional[str]` |
| `points` | `int` |
| `team_id` | `int` |
| `project_id` | `int` |


## Properties

- `id`
- `name`
- `text_content`
- `description`
- `status`
- `creator_id`
- `creator_username`
- `creator_email`
- `assignees`
- `watchers`
- `priority`
- `due_date`
- `start_date`
- `points`
- `team_id`
- `project_id`

## Methods

- [`from_data()`](https://reference.langchain.com/python/langchain-community/utilities/clickup/Task/from_data)

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/a6a6079511ac8a5c1293337f88096b8641562e77/libs/community/langchain_community/utilities/clickup.py#L27)