From c6018554c2523eb4482b9699bd63dbec9c3fb806 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?August=20Andr=C3=A9=20Kvernmo?= Date: Thu, 13 Jun 2024 13:45:12 +0200 Subject: [PATCH] Bugfix models update-training (#112) * Bugfix models update-training * Updates --- CHANGELOG.md | 4 ++++ lascli/__version__.py | 2 +- lascli/parser/models.py | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c76ab4..8e9147a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## Version 13.2.2 - 2024-06-13 + +- Bugfix `models update-training` now works as intended when specifying `--deployment-environment-id` + ## Version 13.2.1 - 2024-02-20 - Bugfix `models update-training` no longer attempts to send `null` for `metadata` when not specified diff --git a/lascli/__version__.py b/lascli/__version__.py index 4f34b36..07e6414 100644 --- a/lascli/__version__.py +++ b/lascli/__version__.py @@ -7,4 +7,4 @@ __maintainer_email__ = 'magnus@lucidtech.ai' __title__ = 'lucidtech-las-cli' __url__ = 'https://github.com/LucidtechAI/las-cli' -__version__ = '13.2.1' +__version__ = '13.2.2' diff --git a/lascli/parser/models.py b/lascli/parser/models.py index 8fceee9..5a35204 100644 --- a/lascli/parser/models.py +++ b/lascli/parser/models.py @@ -274,7 +274,7 @@ def create_models_parser(subparsers): 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.add_argument('--deployment-environment-id', type=nullable(str), default=NotProvided) update_training_parser.set_defaults(cmd=update_training) return parser