AutoLinkerRegistry¶
- class glue.config.AutoLinkerRegistry[source]¶
Bases:
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__
(label)This is provided so that registry instances can be used as decorators.
add
(label, function)Add a new auto-linking function.
Methods Documentation