Spaces:
Sleeping
Sleeping
Download core/reporting/email_templates.py from clabs/learningview: direct link, hf CLI and curl.
- Browser
- Download file 1.23 kB
-
https://huggingface.co/spaces/clabs/learningview/resolve/main/core/reporting/email_templates.py
- Command line
-
hf download hf://spaces/clabs/learningview/core/reporting/email_templates.py
-
curl -L -o email_templates.py https://huggingface.co/spaces/clabs/learningview/resolve/main/core/reporting/email_templates.py
1.23 kB
| # core/reporting/email_templates.py | |
| REGIONAL_TEMPLATES = { | |
| "AU_VIC": { | |
| "subject": "Clinical Profile | Victorian Department of Education Standards", | |
| "title": "Clinical Screening Artifact", | |
| "disclaimer": "This report aligns with AHPRA standards and Victorian privacy protocols.", | |
| "body_intro": "The clinical screening session for your child in Victoria is complete." | |
| }, | |
| "IN_NEP": { | |
| "subject": "Holistic Progress Summary | NEP 2020 Protocol", | |
| "title": "FLN Biometric Summary", | |
| "disclaimer": "Aligned with Nipun Bharat guidelines for holistic child development.", | |
| "body_intro": "The biometric assessment as per the National Education Policy (NEP) 2020 is complete." | |
| }, | |
| "GLOBAL": { | |
| "subject": "LearningView Pro: Biometric Assessment Report", | |
| "title": "General Screening Summary", | |
| "disclaimer": "International screening artifact for educational insight.", | |
| "body_intro": "Your requested biometric assessment session is complete." | |
| } | |
| } | |
| def get_template(region): | |
| """Safely retrieves the template or falls back to Global [cite: 2026-02-27].""" | |
| return REGIONAL_TEMPLATES.get(region, REGIONAL_TEMPLATES["GLOBAL"]) |