from src.detections.detection import * from src.detections.date import * from src.utils.subclasses import get_sublcasses DETECTION_CLASSES_MAP = { detection_class.TYPE_NAME: detection_class for detection_class in get_sublcasses(Detection) }