handle none value for properties [LET-5537] (#5449)

handle none value for properties

Co-authored-by: Ari Webb <ari@letta.com>
This commit is contained in:
Ari Webb
2025-10-15 10:19:56 -07:00
committed by Caren Thomas
parent 967cc3decf
commit 714978f5ee

View File

@@ -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)