@classmethod
    def get_method(cls, prefix, name,
                   component_name=None,
                   method=None):

        methods = current.model.methods
        cmethods = current.model.cmethods

        if not method:
            return None

        tablename = "%s_%s" % (prefix, name)

        if not component_name:
            if method in methods and tablename in methods[method]:
                return methods[method][tablename]
            else:
                return None
        else:
            if method in cmethods and \
               component_name in cmethods[method] and \
               tablename in cmethods[method][component_name]:
                return cmethods[method][component_name][tablename]
            else:
                return None

    # -------------------------------------------------------------------------
    # Super-Entity API
    # -------------------------------------------------------------------------
Updates an anomaly detector.
dataset/ETHPy150Open sahana/eden/modules/s3/s3model.py/S3Model.get_method--crossover with--dataset/ETHPy150Open bigmlcom/python/bigml/anomalyhandler.py/AnomalyHandler.update_anomaly