@staticmethod
    def subclasses():

        return [
            cls
            for cls in models.loading.get_models()
            if issubclass(cls, Location) and (cls is not Location)
        ]
Return a list of all known subclasses of Location.
dataset/ETHPy150Open rapidsms/rapidsms/rapidsms/contrib/locations/models.py/Location.subclasses