We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3536a6a commit 1445f6dCopy full SHA for 1445f6d
1 file changed
src/boutiques_schema_pydantic/v_styx_1/descriptor.py
@@ -238,6 +238,12 @@ class FlagInput(BaseInput):
238
"Examples: -v, --force.",
239
)
240
241
+ optional: bool = pydantic.Field(
242
+ description="Optional has no meaning for Flag type inputs",
243
+ default=False,
244
+ deprecated=True,
245
+ )
246
+
247
248
class SubCommand(pydantic.BaseModel):
249
"""Sub-command attriblutes shared between base descriptor and sub-commands."""
0 commit comments