(class from pyomo.common.dependencies)
pyomo.common.dependencies
Bases: object
object
Custom Finder that will wrap the normal loader to trigger callbacks
This importlib.abc.MetaPathFinder finder will wrap the normal loader returned by PathFinder with a loader that will trigger custom callbacks after the module is loaded. We use this to trigger the post import callbacks registered through attempt_import() even when a user imports the target library directly (and not through attribute access on the DeferredImportModule.
importlib.abc.MetaPathFinder
PathFinder
attempt_import()
DeferredImportModule
Methods
__init__()
__init__
find_spec(fullname, path[, target])
find_spec
invalidate_caches()
invalidate_caches
Member Documentation