Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)
Notify this callable when a subclass of this abstract is registered.

This is useful when some action must be taken for each new
implementation of an abstract class. This observer will also be
called any time any of its sub-abstract classes are implemented.

:param cls: The abstract class
:param callable: A function that expects a subclass as its
    first and only argument.

src/m/e/mediadrop-HEAD/mediadrop/model/storage.py   mediadrop(Download)
 
# Automatically add new engines as they're registered by plugins.
StorageEngine.add_register_observer(add_engine_type)