Skip to content

Commit

Permalink
Adding codehealth fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ghyadav committed Oct 23, 2024
1 parent 3dfcbff commit 2773653
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ def run(args):
"""Entry point of model prediction script."""

logger.info(
f"Connection type: {args['preprocessor_connection_type']}, Resource ID: {args['resource_id']}, Cron Expression:"
f" {args['cron_expression']}, Sampling Rate: {args['sampling_rate']}")
f"Connection type: {args['preprocessor_connection_type']}, Resource ID: {args['resource_id']}, Cron "
f"Expression: {args['cron_expression']}, Sampling Rate: {args['sampling_rate']}")
client = get_app_insights_client(use_managed_identity=args["preprocessor_connection_type"] == "managed-identity")
start_time, end_time = calculate_time_window(args["cron_expression"])
logger.info(f"Start Time: {start_time}, End Time: {end_time}")
Expand Down

0 comments on commit 2773653

Please sign in to comment.