load_extension_class_names
Discovers and yields the names and entry point values for a specified namespace using the system's entry point metadata. It handles version-specific logic for Python's entry_points API to ensure compatibility across different environments.
def load_extension_class_names(
namespace: string
) - > generator
Discovers and yields extension entry point names and their associated class paths for a given namespace. This function handles compatibility across different Python versions to retrieve registered plugins from the environment.
Parameters
| Name | Type | Description |
|---|---|---|
| namespace | string | The entry point group name used to filter and load specific extensions from the package metadata. |
Returns
| Type | Description |
|---|---|
generator | A generator yielding tuples containing the entry point name and the string representation of the class or object it points to. |