SIENTIAPDE-1148

refactor: remove unused prepare_activity method from Activities class and clean up worker.py activity list
This commit is contained in:
vitor-aignosi
2025-07-11 12:35:36 -03:00
parent 5278159507
commit 0b0bb4bd45
2 changed files with 0 additions and 6 deletions

View File

@@ -58,9 +58,5 @@ class Activities( # Couchbase,
logger=logger,
notification_handler=notification_handler)
@activity.defn(name="prepare_activity")
async def prepare_activity(self, input_data: dict[str, Any]):
await super().prepare_activity(input_data)
def shutdown(self):
MongoDB.shutdown(self)

View File

@@ -59,8 +59,6 @@ async def main():
task_queue='orchestrator-queue',
workflows=[Orchestrator],
activities=[
# Base
activities.prepare_activity,
# Redis
activities.load_active_ingestors,
activities.load_opc_slots,