From 714978f5eeebd0119c29ccfce81dc16c6a9391ee Mon Sep 17 00:00:00 2001 From: Ari Webb Date: Wed, 15 Oct 2025 10:19:56 -0700 Subject: [PATCH] handle none value for properties [LET-5537] (#5449) handle none value for properties Co-authored-by: Ari Webb --- letta/orm/identity.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/letta/orm/identity.py b/letta/orm/identity.py index 75a90525..bf172d14 100644 --- a/letta/orm/identity.py +++ b/letta/orm/identity.py @@ -64,6 +64,6 @@ class Identity(SqlalchemyBase, OrganizationMixin, ProjectMixin): "agent_ids": self.agent_ids, "block_ids": self.block_ids, "organization_id": self.organization_id, - "properties": self.properties, + "properties": self.properties or [], } return PydanticIdentity(**state)