---
title: generics
sidebarTitle: generics
---

# `prefect.utilities.generics`

## Functions

### `validate_list` <sup><a href="https://github.com/PrefectHQ/prefect/blob/main/src/prefect/utilities/generics.py#L17" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>

```python
validate_list(model: type[T], input: Any) -> list[T]
```
