djblets.registries.mixins
Utility mixins for registries.
-
class ExceptionFreeGetterMixin[source]
A mixin that prevents lookups from throwing errors.
-
get(attr_name, attr_value)[source]
Return the requested registered item.
- Parameters
-
- Returns
The matching registered item, if found. Otherwise, None
is
returned.
- Return type
object