document_redaction / doc_redaction /lambda_entrypoint.py
seanpedrickcase's picture
Sync: Reverted HF spaces to update with updates to dev branch
6c0d4d8
"""
AWS Lambda entrypoint for packaging.
Re-exports the existing repo-root `lambda_entrypoint.py` handler so Lambda
handler strings can move to `doc_redaction.lambda_entrypoint.lambda_handler`
without changing behavior.
"""
from __future__ import annotations
import importlib
_root_lambda = importlib.import_module("lambda_entrypoint")
lambda_handler = getattr(_root_lambda, "lambda_handler")
__all__ = ["lambda_handler"]