def METHOD_NAME(klass, registry, resource_class):
    data = get_recommender_data()
    rtype = "gcp.%s" % resource_class.type
    for rec in data.values():
        if rec.get("resource") == rtype:
            resource_class.filter_registry.register("recommend", klass)