SIENTIAPDE-1005

Activities fix
This commit is contained in:
vitor-aignosi
2025-05-19 11:59:41 -03:00
parent 3050b66737
commit bb07de573f
2 changed files with 2 additions and 2 deletions

View File

@@ -63,5 +63,5 @@ class Activities(Postgres, Redis, Kafka, Gates):
)
@activity.defn(name="prepare_activity")
def prepare_activity(self, input_data: dict[str, Any]):
async def prepare_activity(self, input_data: dict[str, Any]):
super().prepare_activity(input_data)

View File

@@ -10,7 +10,7 @@ class BaseActivity:
self.notification_handler = notification_handler
@activity.defn(name="prepare_activity")
def prepare_activity(self, input_data: dict[str, Any]):
async def prepare_activity(self, input_data: dict[str, Any]):
"""
Prepare the activity for the notification handler.