Skip to content

Commit 70fb627

Browse files
committed
add TODO exclude default values
1 parent 3298944 commit 70fb627

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

bioimageio/core/cli.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,9 @@ class UpdateFormatCmd(CmdBase, WithSource):
262262
263263
Updated bioimageio.yaml is rendered to the terminal if the output is None.
264264
"""
265+
# TODO: exclude default values (without braking discriminated unions)
266+
# exclude_defaults: bool = Field(True, alias="exclude-defaults")
267+
# """Exclude fields that have the default value."""
265268

266269
def run(self):
267270
updated = update_format(self.source, output=self.output)

0 commit comments

Comments
 (0)