Download src/apps/educa/module.py from anaselamr/yaz: direct link, hf CLI and curl.
- Browser
- Download file 629 Bytes
-
https://huggingface.co/spaces/anaselamr/yaz/resolve/main/src/apps/educa/module.py
- Command line
-
hf download hf://spaces/anaselamr/yaz/src/apps/educa/module.py
-
curl -L -o module.py https://huggingface.co/spaces/anaselamr/yaz/resolve/main/src/apps/educa/module.py
629 Bytes
| """ | |
| Educa — self-registers its HTTP router into the platform ModuleRegistry. | |
| Usage: ModuleRegistry discovers this file via auto_discover() and mounts | |
| the router at /api/v1/educa. | |
| """ | |
| from core.engines.module import EngineModule, ModuleRegistry | |
| from fastapi import APIRouter | |
| class EducaModule(EngineModule): | |
| slug = "educa" | |
| name = "Educa — Medical & Operational Training" | |
| domain = "education" | |
| version = "1.0.0" | |
| api_prefix = "/educa" | |
| tags = ["Educa"] | |
| def get_router(self) -> APIRouter: | |
| from apps.educa.router import router | |
| return router | |
| ModuleRegistry.register(EducaModule()) | |