def registerDetectors(self):
        detectors = [v() for v in globals().values()
                     if DetectorBase in getattr(v, '__mro__', [])]
        for d in detectors:
            if d.can_register:
                self.register(d)
dataset/ETHPy150Open uwdata/termite-data-server/web2py/gluon/contrib/user_agent_parser.py/DetectorsHub.registerDetectors/original