duck.html.components.utils.includeยถ
Module containing function for including bulk HTML components in a module.
Module Contentsยถ
Functionsยถ
This looks up HTML components in the provided modules and returns a dictionary containing the components found. |
Dataยถ
APIยถ
- duck.html.components.utils.include.BASE_MODULEยถ
โduck.html.componentsโ
- duck.html.components.utils.include.BUILTIN_COMPONENTSยถ
None
- duck.html.components.utils.include.components_include(modules: List[str]) Dict[str, str][source]ยถ
This looks up HTML components in the provided modules and returns a dictionary containing the components found.
- Parameters:
modules โ The list of module names containing HTML components in PascalCase.
- Returns:
A dictionary mapping component names to their full module path.
- Return type:
Dict[str, str]