ExtensionPoint

(class from pyomo.common.plugin_base)

class pyomo.common.plugin_base.ExtensionPoint(interface)[source]

Bases: object

__init__(interface)[source]

Methods

__init__(interface)

extensions([all, key])

service([key, all])

Return the unique service that matches the interface of this extension point.

Member Documentation

service(key=None, all=False)[source]

Return the unique service that matches the interface of this extension point. An exception occurs if no service matches the specified key, or if multiple services match.