AutoLinkerRegistry¶
-
class
glue.config.
AutoLinkerRegistry
[source]¶ Bases:
glue.config.Registry
Registry for auto-linking functions that given a data collection can suggest links.
The members property is a list of auto-linking plugins, each represented as a
(label, function)
tuple. Thefunction
should take a reference to the data collection.Methods Summary
__call__
(self, label)This is provided so that registry instances can be used as decorators.
add
(self, label, function)Add a new auto-linking function.
Methods Documentation