Skip to content

Commit

Permalink
Merge pull request #96 from Emersin/fix-for-ActivityExecution
Browse files Browse the repository at this point in the history
Fix ActivityExecution
  • Loading branch information
xethorn committed Jun 9, 2020
2 parents ae8427c + 784ec35 commit 6177d4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions garcon/activity.py
Expand Up @@ -462,7 +462,7 @@ def run(self):
return False


class ActivityExecution:
class ActivityExecution(log.GarconLogger):

def __init__(self, client, activity_id, task_token, context):
"""Create an an activity execution.
Expand All @@ -486,7 +486,7 @@ def heartbeat(self, details=None):
details (str): details to add to the heartbeat.
"""

self.client.record_activity_task_heartbeat(self.task_token,
self.client.record_activity_task_heartbeat(taskToken=self.task_token,
details=details or '')

def fail(self, reason=None):
Expand Down

0 comments on commit 6177d4a

Please sign in to comment.