From 1e5f030b07dbb7103a0bc5997d77c48871a4b953 Mon Sep 17 00:00:00 2001 From: Deepanshu Pal <40927968+DeepanshuPal@users.noreply.github.com> Date: Sun, 4 Oct 2026 21:18:05 +0530 Subject: [PATCH] docs: fix dataclass indentation in expandable Python example --- create/code.mdx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/create/code.mdx b/create/code.mdx index cf5442442a..45c54139b1 100644 --- a/create/code.mdx +++ b/create/code.mdx @@ -324,11 +324,11 @@ from dataclasses import dataclass @dataclass class Book: -title: str -author: str -isbn: str -checked_out: bool = False -due_date: Optional[datetime] = None + title: str + author: str + isbn: str + checked_out: bool = False + due_date: Optional[datetime] = None class Library: def __init__(self):