Nextpoint interview question

What is pydantic in python used for?