openml.extensions
.get_extension_by_flow¶
- openml.extensions.get_extension_by_flow(flow: OpenMLFlow, raise_if_no_extension: bool = False) Extension | None ¶
Get an extension which can handle the given flow.
Iterates all registered extensions and checks whether they can handle the presented flow. Raises an exception if two extensions can handle a flow.
- Parameters:
- flowOpenMLFlow
- raise_if_no_extensionbool (optional, default=False)
Raise an exception if no registered extension can handle the presented flow.
- Returns:
- Extension or None