def METHOD_NAME(self):
    sensors = []
    for cat in revit.query.get_doc_categories(doc=revit.doc,
                                              include_subcats=False):
        sensors.append(Sensor(cat.Name, has_progress=True))
    return sensors