fix: drop some type fixme (#20344)
This commit is contained in:
parent
9b47f9f786
commit
5a991295e0
10 changed files with 43 additions and 45 deletions
|
|
@ -279,7 +279,6 @@ class ToolParameter(PluginParameter):
|
|||
:param options: the options of the parameter
|
||||
"""
|
||||
# convert options to ToolParameterOption
|
||||
# FIXME fix the type error
|
||||
if options:
|
||||
option_objs = [
|
||||
PluginParameterOption(value=option, label=I18nObject(en_US=option, zh_Hans=option))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue