Watch
1
0
Fork
You've already forked Seyyed_arc
0
forked from hesabix/arc
Seyyed_arc/hesabixAPI/app/services/workflow/triggers/procurement_triggers.py
Babak Alizadeh b68a6ab5fa feat: ship CRM enterprise, office automation, and procurement
Add the next office-automation phases, CRM workspace and enterprise flows, and the procurement plugin, with help-center content and admin follow-through.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-10 23:48:01 +03:30

22 lines
690 B
Python

"""تریگرهای جانبی تدارکات. تأیید انسانی در این موتور انجام نمی‌شود."""
from __future__ import annotations
from typing import Any, Dict
from app.services.workflow.triggers.base_trigger import BaseTrigger
class ProcurementEventTrigger(BaseTrigger):
def __init__(self, name: str, description: str) -> None:
self._name = name
self._description = description
def get_metadata(self) -> Dict[str, Any]:
return {
"name": self._name,
"description": self._description,
"config_schema": {},
}
def execute(self, context: Dict[str, Any], config: Dict[str, Any]) -> Dict[str, Any]:
return super().execute(context, config)