fix(nodes): fix metadata validation error

This commit is contained in:
psychedelicious 2023-10-17 14:28:29 +11:00
parent c238a7f18b
commit 2c39557dc9

View File

@ -48,7 +48,7 @@ class CoreMetadata(BaseModelExcludeNull):
default=None,
description="The generation mode that output this image",
)
created_by: Optional[str] = Field(description="The name of the creator of the image")
created_by: Optional[str] = Field(default=None, description="The name of the creator of the image")
positive_prompt: Optional[str] = Field(default=None, description="The positive prompt parameter")
negative_prompt: Optional[str] = Field(default=None, description="The negative prompt parameter")
width: Optional[int] = Field(default=None, description="The width parameter")