Skip to content

Commit 55caba0

Browse files
current iteration name
1 parent 366bcfb commit 55caba0

File tree

1 file changed

+3
-1
lines changed
  • src/rules_validation_api

1 file changed

+3
-1
lines changed

src/rules_validation_api/app.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,10 @@ def main() -> None:
4949
try:
5050
with Path(args.config_path).open() as file:
5151
json_data = json.load(file)
52-
RulesValidation(**json_data)
52+
result:RulesValidation = RulesValidation(**json_data)
53+
5354
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}")
5456

5557
# Group by class
5658
grouped = defaultdict(list)

0 commit comments

Comments
 (0)