Download doc_redaction/lambda_entrypoint.py from seanpedrickcase/document_redaction: direct link, hf CLI and curl.
- Browser
- Download file 428 Bytes
-
https://huggingface.co/spaces/seanpedrickcase/document_redaction/resolve/main/doc_redaction/lambda_entrypoint.py
- Command line
-
hf download hf://spaces/seanpedrickcase/document_redaction/doc_redaction/lambda_entrypoint.py
-
curl -L -o lambda_entrypoint.py https://huggingface.co/spaces/seanpedrickcase/document_redaction/resolve/main/doc_redaction/lambda_entrypoint.py
428 Bytes
| """ | |
| 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"] | |