fix type hint

这个提交包含在:
binary-husky
2024-05-21 13:18:38 +00:00
父节点 8ca9232db2
当前提交 d43175d46d
共有 2 个文件被更改,包括 2 次插入2 次删除

查看文件

@@ -6,7 +6,7 @@ from typing import List
class ArgProperty(BaseModel): # PLUGIN_ARG_MENU
title: str = Field(description="The title", default="")
description: str = Field(description="The description", default="")
default_value: str|float = Field(description="The default value", default="")
default_value: str = Field(description="The default value", default="")
type: str = Field(description="The type", default="") # currently we support ['string', 'dropdown']
options: List[str] = Field(default=[], description="List of options available for the argument") # only used when type is 'dropdown'