Skip to content

Commit

Permalink
Added code for executor logs for scheduler_evaluator event_class when…
Browse files Browse the repository at this point in the history
… task_type is Callback and added and fixed test cases for the same.
  • Loading branch information
maheshsattala committed Nov 28, 2024
1 parent 65189e3 commit 419b378
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kairon/shared/cloud/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def delete_file(bucket, file):
s3.delete_object(Bucket=bucket, Key=file)

@staticmethod
def trigger_lambda(event_class: EventClass, env_data: Any, task_type: TASK_TYPE,
def trigger_lambda(event_class: EventClass, env_data: Any, task_type: TASK_TYPE = TASK_TYPE.CALLBACK.value,
from_executor: bool = False):
"""
Triggers lambda based on the event class.
Expand Down

0 comments on commit 419b378

Please sign in to comment.