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

# Workflow.stages.final

## FinalStage Objects

```python theme={"dark"}
class FinalStage(WorkflowStageBase)
```

#### stage\_type

Final stage for a task in Consensus and non-Consensus Projects. The final stages are COMPLETE or ARCHIVE.

#### get\_tasks

```python theme={"dark"}
def get_tasks(data_hash: Union[List[UUID], UUID, List[str], str, None] = None,
              dataset_hash: Union[List[UUID], UUID, List[str], str,
                                  None] = None,
              data_title: Optional[str] = None) -> Iterable[FinalStageTask]
```

Retrieves tasks for the FinalStage.

**Parameters**

* `data_hash` (Union\[List\[UUID], UUID, List\[str], str, None]): Unique ID(s) for the data unit(s).
* `dataset_hash` (Union\[List\[UUID], UUID, List\[str], str, None]): Unique ID(s) for the dataset(s) that the data unit(s) belongs to.
* `data_title` (Optional\[str]): A string to filter tasks by the data unit's name.

**Returns**

An iterable of `FinalStageTask` instances with the following information:

* `uuid`: Unique identifier for the task.
* `created_at`: Time and date the task was created.
* `updated_at`: Time and date the task was last edited.
* `data_hash`: Unique identifier for the data unit.
* `data_title`: Name/title of the data unit.

## FinalStageTask Objects

```python theme={"dark"}
class FinalStageTask(WorkflowTask)
```

Represents tasks in a FinalStage, which are read-only and cannot be acted upon
except for being moved programmatically.

**Attributes**

* `data_hash` (UUID): Unique ID for the data unit.
* `data_title` (str): Name of the data unit.

**Allowed actions**

* `move`: Moves the task to another stage in the workflow.

#### move

```python theme={"dark"}
def move(*,
         destination_stage_uuid: UUID,
         bundle: Optional[Bundle] = None) -> None
```

Moves the final stage task from its current stage to another stage.

**Parameters**

* `destination_stage_uuid` (UUID): Unique identifier of the stage to move the task to.
* `bundle` (Optional\[Bundle]): Optional bundle of actions to execute with the move.

**Returns**

None
