Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix merging of CLI args and Yaml configs in
vdb_upload
example (#1813)
Currently CLI args always take precedence over Yaml config values, however since most of the CLI args have a default value in practice the Yaml config values are always ignored. * Differentiate the explicit CLI args the user specified on the command line from the CLI args which include default values the user didn't specify. * Move default values out of the code blocks into global dicts * Fix bug type-o causing Yaml schema definitions to be ignored. * Resulting code is 100 lines shorter Precedence order: 1. Explicit CLI args 2. Yaml config (if there is one) 3. Default CLI args Closes #1752 ## By Submitting this PR I confirm: - I am familiar with the [Contributing Guidelines](https://github.com/nv-morpheus/Morpheus/blob/main/docs/source/developer_guide/contributing.md). - When the PR is ready for review, new or existing tests cover these changes. - When the PR is ready for review, the documentation is up to date with these changes. Authors: - David Gardner (https://github.com/dagardner-nv) Approvers: - Michael Demoret (https://github.com/mdemoret-nv) URL: #1813
- Loading branch information