---
title: "Discussion on \"Using AliasChoices and AliasPath in Pydantic\" | Hashnode"
description: "Discussion on \"Using AliasChoices and AliasPath in Pydantic\". When building APIs or data pipelines, sometimes you don't have control over the shape of the input data. That’s where AliasChoices and AliasPath from Pydantic v2 can really shine.\nLet’s look at two quick and powerful tools that make your models way m..."
url: "https://hashnode.com/posts/using-aliaschoices-and-aliaspath-in-pydantic/68025cd4652a29fe34555d60"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Using AliasChoices and AliasPath in Pydantic](https://pedrobuzzi.hashnode.dev/using-aliaschoices-and-aliaspath-in-pydantic?utm_source=hashnode&utm_medium=feed)

When building APIs or data pipelines, sometimes you don't have control over the shape of the input data. That’s where AliasChoices and AliasPath from Pydantic v2 can really shine. Let’s look at two quick and powerful tools that make your models way m...

Apr 18, 2025 · 2 min read · pedrobuzzi.hashnode.dev  
Read the article

-   [#pydantic](https://hashnode.com/tag/pydantic)
-   [#aliases](https://hashnode.com/tag/aliases)
-   [#python](https://hashnode.com/tag/python)

## Written by

[Pedro Buzzi Filho](https://hashnode.com/@pedrobuzzi)

@pedrobuzzi

  
[View profile](https://hashnode.com/@pedrobuzzi)

Backend engineering, simplified and scalable.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
