-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vdk-core: Add flag to JobConfig in case config file is required (#2521)
Currently, the vdk-core's JobConfig does not require the presense of a config file in a data job's repository. This works in general, but not for the vdk-control-cli's use-cases, where the presense of the config file is mandatory. This change adds a `should_fail_missing_config` flag to JobConfig, which can be used when the presense of the config file is necessary. If the flag is set to `True`, and the config file is missing in the data job's folder, a VdkConfigurationError will be raised. Testing Done: Added test Signed-off-by: Andon Andonov <[email protected]>
- Loading branch information
Showing
2 changed files
with
35 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters