From 942e62c36783890c18f9f8472da4bdcb22dd34fc Mon Sep 17 00:00:00 2001 From: Jason Date: Tue, 5 Sep 2023 20:29:23 -0500 Subject: [PATCH] fix highlight --- docs/tips/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tips/index.md b/docs/tips/index.md index 4b11910..5a73d94 100644 --- a/docs/tips/index.md +++ b/docs/tips/index.md @@ -103,7 +103,7 @@ class UserDetail(BaseModel): When dealing with lists of attributes, especially arbitrary properties, it's crucial to manage the length. You can use prompting and enumeration to limit the list length, ensuring a manageable set of properties. -```python hl_lines="2 10" +```python hl_lines="2 9" class Property(BaseModel): index: str = Field(..., description="Monotonically increasing ID") key: str