Skip to content

Instantly share code, notes, and snippets.

Last active Apr 29, 2022
What would you like to do?
from dataclasses import dataclass
class Product:
title: str
description: str
price: int
ratings: int
published: bool
id: int
Copy link

Isaac3N commented Apr 29, 2022

This is for the introduction to pydantic article

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment