Inheritance diagram of EntryPointAlike
class EntryPointAlike(obj, name=None)[source]

A dummy EntryPoint substitute to be used with selectEntryPoints() for wrapping arbitrary objects and imitate the name and load() API of a pkg_resources.EntryPoint instance.

Pass an object and optionally a name to the constructor to get the wrapped EntryPointAlike instance. The repr of the object is used as the name if name arg is not provided.

Import from taurus.core.util.plugin as:

from taurus.core.util.plugin import EntryPointAlike

Returns the wrapped object