Reference
Argument
Argument(
name: str,
description: Optional[str] = None,
required: Optional[bool] = False,
default: Optional[str] = None,
choices: Optional[List[Any]] = None,
type: Optional[type] = str,
)
Parameters:
-
(namestr) –The name of the argument.
-
(descriptionOptional[str], default:None) –The description to display for the argument.
-
(requiredOptional[bool], default:False) –Whether the argument is required.
-
(defaultOptional[str], default:None) –The default value for the argument.
-
(choicesOptional[List[Any]], default:None) –The choices available for the argument.
-
(typeOptional[type], default:str) –The type of the argument.
Attributes: