Files
content-ingestion-agent/app/triggers.py
Jonathan Boniface d8a4b6b3c1
Some checks failed
quality-gates / verify (push) Failing after 7s
fix: files manually
2026-09-01 17:21:58 +01:00

6 lines
233 B
Python

from kab_ingestion.models import IngestionRequest
def github_trigger(locator: str, requested_by: str = "github-webhook") -> IngestionRequest:
return IngestionRequest(source="github", locator=locator, requested_by=requested_by)