Helper Function Discovery

Functions to discover and extract helper functions:

HelperInfo


def HelperInfo(
    name:str, module_name:str, function:Any, signature:str, docstring:str, source:str
)->None:

Information about a discovered helper function.


get_helper_examples


def get_helper_examples(
    module_name:str, # Name of the module to inspect
)->Optional: # ExampleInfo object or None if not found

Get the helper examples test function for a module.


get_module_helpers


def get_module_helpers(
    module_name:str, # Name of the module to inspect
)->List: # List of HelperInfo objects

*Get helper functions from a module based on its test__helper_examples function.*

Export