We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 366bcfb commit 2a761d8Copy full SHA for 2a761d8
src/rules_validation_api/app.py
@@ -49,8 +49,13 @@ def main() -> None:
49
try:
50
with Path(args.config_path).open() as file:
51
json_data = json.load(file)
52
- RulesValidation(**json_data)
53
- sys.stdout.write(f"{GREEN}Valid Config{RESET}\n")
+ result:RulesValidation = RulesValidation(**json_data)
+
54
+ sys.stdout.write(
55
+ f"{GREEN}Valid Config{RESET}\n"
56
+ f"{GREEN}Current Iteration Number{RESET}{COLON_COLOR}:{RESET}{RIGHT_COLOR}"
57
+ f"{result.campaign_config.current_iteration.iteration_number}{RESET}\n"
58
+ )
59
60
# Group by class
61
grouped = defaultdict(list)
0 commit comments