SIENTIAPDE-994
Update requirements.txt with new dependencies and refactor activity methods for improved functionality and error handling
This commit is contained in:
@@ -8,10 +8,9 @@ class BaseActivity:
|
||||
self.logger = logger
|
||||
self.notification_handler = notification_handler
|
||||
|
||||
@activity.defn(name="prepare_notification_handler")
|
||||
async def prepare_notification_handler(self, schedule_name: str,
|
||||
model_name: str,
|
||||
model_id: str):
|
||||
def prepare_activity(self, schedule_name: str,
|
||||
model_name: str,
|
||||
model_id: str):
|
||||
self.notification_handler.base_notification.schedule_name = schedule_name
|
||||
self.notification_handler.base_notification.model_name = model_name
|
||||
self.notification_handler.base_notification.model_id = model_id
|
||||
|
||||
Reference in New Issue
Block a user