From c825b23776418082f89d158e7aa6213db1fc8e14 Mon Sep 17 00:00:00 2001 From: Jason Date: Tue, 5 Sep 2023 22:07:36 -0500 Subject: [PATCH] add numbered list --- docs/tips/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/tips/index.md b/docs/tips/index.md index 4cee5ad..e5b6c13 100644 --- a/docs/tips/index.md +++ b/docs/tips/index.md @@ -112,7 +112,7 @@ class Property(BaseModel): class UserDetail(BaseModel): age: int name: str - properties: List[Property] = Field(..., description="List of arbitrary extracted properties, should be less than 6") + properties: List[Property] = Field(..., description="Numbered list of arbitrary extracted properties, should be less than 6") ``` **Using Tuples for Simple Types** @@ -123,7 +123,7 @@ For simple types, tuples can be a more compact alternative to custom classes, es class UserDetail(BaseModel): age: int name: str - properties: List[Tuple[int, str]] = Field(..., description="List of arbitrary extracted properties, should be less than 6") + properties: List[Tuple[int, str]] = Field(..., description="Numbered list of arbitrary extracted properties, should be less than 6") ``` ## Advanced Arbitrary Properties