fix: knowledge user_id fix (#3216)

This commit is contained in:
AmineDiro 2024-09-17 19:06:04 +02:00 committed by GitHub
parent 348c1a71b0
commit 6a0dbfe833
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -35,7 +35,7 @@ class Knowledge(BaseModel):
source_link: Optional[str] = None
file_sha1: Optional[str] = None
metadata: Optional[Dict[str, str]] = None
user_id: UUID
user_id: Optional[UUID] = None
brains: List[Dict[str, Any]]
parent: Optional["Knowledge"]
children: Optional[list["Knowledge"]]