Skip to content

Commit

Permalink
Bugfix models update-training no longer sends metadata=null when not …
Browse files Browse the repository at this point in the history
…specified
  • Loading branch information
augustak committed Feb 20, 2024
1 parent 954a886 commit f3c5475
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## Version 13.2.1 - 2024-02-20

- Bugfix `models update-training` no longer attempts to send `null` for `metadata` when not specified

## Version 13.2.0 - 2023-12-13

- Added optional parameter `--status` to `workflows update`
Expand Down
2 changes: 1 addition & 1 deletion lascli/__version__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
__maintainer_email__ = 'magnus@lucidtech.ai'
__title__ = 'lucidtech-las-cli'
__url__ = 'https://github.com/LucidtechAI/las-cli'
__version__ = '13.2.0'
__version__ = '13.2.1'
3 changes: 2 additions & 1 deletion lascli/parser/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,8 +270,9 @@ def create_models_parser(subparsers):
update_training_parser.add_argument('--description', type=nullable(str), default=NotProvided)
update_training_parser.add_argument(
'--metadata',
type=json_path,
type=nullable(json_path),
help='path to json file with custom metadata, maximum limit 4kB',
default=NotProvided,
)
update_training_parser.add_argument('--deployment-environment-id', type=nullable, default=NotProvided)
update_training_parser.set_defaults(cmd=update_training)
Expand Down

0 comments on commit f3c5475

Please sign in to comment.