From 9a7c18e8d6d78b03403f27273d1848b55207a0da Mon Sep 17 00:00:00 2001 From: William FH <13333726+hinthornw@users.noreply.github.com> Date: Thu, 7 Nov 2024 18:47:15 -0800 Subject: [PATCH] [Python] Update prompt schema (#1193) --- python/langsmith/schemas.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/langsmith/schemas.py b/python/langsmith/schemas.py index 2ef728d0..80e112e4 100644 --- a/python/langsmith/schemas.py +++ b/python/langsmith/schemas.py @@ -887,7 +887,7 @@ class Prompt(BaseModel): """The number of downloads.""" num_views: int """The number of views.""" - liked_by_auth_user: bool + liked_by_auth_user: Optional[bool] = None """Whether the prompt is liked by the authenticated user.""" last_commit_hash: Optional[str] = None """The hash of the last commit."""