duck.html.components.utils.includeยถ

Module containing function for including bulk HTML components in a module.

Module Contentsยถ

Functionsยถ

components_include

This looks up HTML components in the provided modules and returns a dictionary containing the components found.

Dataยถ

BASE_MODULE

BUILTIN_COMPONENTS

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]