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